I’m trying to cross-compile Lua 5.1 for the DroboFS. I’ll update this with how far I have gotten.
THIS POST DOES NOT DESCRIBE HOW TO BUILD LUA… YET.
Introduction: Why Lua 5.1?
It is a very small and versatile scripting language. I personally would like to use it for Lighttpd CGI.
Overall compiling complexity: UNKNOWN, but the Lua authors like to think it is easy.
Step 1: Background info
To be able to make use of this post, you need a VM configured as indicated in this post.
Step 2: Enter the cross-compiling environment
See step 2 of this post to see instructions on how to enter the chroot environment.
Step 3: Dependencies
from ubuntu packages:
- libreadline [how to cross-compile]
Step 4: Get the source code
Make sure that you are in the folder /root/code, then type:
tar zxf lua-5.1.4.tar.gz
Step 5: Configuration
Currently returns march value error during “make” command.
Step 6: Compiling
Step 6: Installing