Omnimaga
Calculator Community => TI Calculators => Lua => Topic started by: cyanophycean314 on April 13, 2013, 02:29:12 pm
-
Hey guys, it's been a long time I've been here. I have been making a few projects here and there, but nothing much. I'm trying to get a development environment on my new Linux Mint distro. I got karmTI running, but right now my biggest obstacle is getting luna to run. Any suggestions?
Thanks
-
Luna can be compiled for Linux and MacOS X. What problems are you facing ?
-
Get build-essential from apt-get, aptitude or synaptic, download Luna from here: http://www.ticalc.org/archives/files/fileinfo/441/44113.html
Then unzip, go in src/, type make and optionally move the resulting executable in /usr/local/bin. There you go you have a working luna.
-
On Linux make sure before building it to:
* Install libssl-dev
* Install zlib
* Install GCC v4.5 or higher
-
I know I have libssl-dev and gcc installed. As for zlib, I have zlib1g and zlib1g-dev installed. Are those the right packages? I get a lot of results for that in Synaptic.
When I'm in the terminal and I type in make at the luna src directory I get:
kevin@KFEI-320 ~/Documents/Programming/Lua/luna-v0.3a/src $ make
gcc -W -Wall -m32 -DUSE_FILE32API -c -o luna.o luna.c
In file included from /usr/include/unistd.h:26:0,
from luna.c:2:
/usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory
compilation terminated.
make: *** [luna.o] Error 1
Thanks once more
-
You should either install some 32-bit development library (not sure which one would fix the problem, your favorite search engine would help), or remove the -m32 compiler flag.