Author Topic: Luna on Linux  (Read 4702 times)

0 Members and 1 Guest are viewing this topic.

Offline cyanophycean314

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 363
  • Rating: +43/-1
  • It's You!
    • View Profile
Luna on Linux
« 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

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Luna on Linux
« Reply #1 on: April 13, 2013, 02:51:32 pm »
Luna can be compiled for Linux and MacOS X. What problems are you facing ?
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Luna on Linux
« Reply #2 on: April 13, 2013, 07:13:00 pm »
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.
« Last Edit: April 13, 2013, 07:14:17 pm by Juju »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Luna on Linux
« Reply #3 on: April 14, 2013, 04:58:09 am »
On Linux make sure before building it to:
 * Install libssl-dev
 * Install zlib
 * Install GCC v4.5 or higher
Ndless.me with the finest TI-Nspire programs

Offline cyanophycean314

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 363
  • Rating: +43/-1
  • It's You!
    • View Profile
Re: Luna on Linux
« Reply #4 on: April 14, 2013, 10:11:33 am »
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:
Quote
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

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Luna on Linux
« Reply #5 on: April 14, 2013, 10:21:02 am »
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.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.