Author Topic: "Luna" is here and converts your .lua files into 3.0.2-compatible .tns files  (Read 52353 times)

0 Members and 1 Guest are viewing this topic.

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Strange.
I have these packages installed:
libssl-dev
zlib1g-dev
together with its not dev variants.

I got many more packages for other stuff, so maybe it needs more than just this.

Offline sammyMaX

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 204
  • Rating: +9/-0
    • View Profile
I have libssl-dev, zlib1g-dev, zlib1g, libssl1.0.0, and libssl0.9.8 installed. I don't know what else might be needed, but it seems to be some SSL library based on the errors.

Are you wondering who Sammy is? My avatar is Sammy.
   

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
I haven't the slightest idea why it doesn't work for you :/
You use "make" to compile it, right?

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
There's most probably a problem with your build toolchain.
Ndless.me with the finest TI-Nspire programs

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
I know its a bit late, but I just had the same problem on the PC of my brother (Ubuntu 11.10).
Adding -lcrypto to the build parameters solved the problem.

I also mailed this ExtendeD.

Offline Alex

  • LV2 Member (Next: 40)
  • **
  • Posts: 32
  • Rating: +3/-0
    • View Profile
Bonjour tout le monde,
Est-ce que quelqu'un pourrait me compiler luna 0.2b pour mac en version ppc.
Merci d'avance

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Here is the translation: Alex asks for a version of Luna v0.2b compiled for Mac OS PPC.
Ndless.me with the finest TI-Nspire programs

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
This isn't so easy, as the SSL libraries aren't yet in the PPC version IIRC.
I'll ask Adriweb later if he might have one compiled.

Also, maybe it would be easier to use an online version. I'll ask albertrocks about that.

Offline Alex

  • LV2 Member (Next: 40)
  • **
  • Posts: 32
  • Rating: +3/-0
    • View Profile
thanks extendeD

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
jimbauwens: I actually have an online version for a previous version of Luna, I could easily update it.
But I'm not sure it's really convenient as part of frequent code/build/test cycle.
Ndless.me with the finest TI-Nspire programs

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Well, if he can't get luna to run, I could create a simple (batch/python) script that POST's his code to the server and retrieve the tns.
It would just work like the real luna, but a bit slower.

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
I couldn't personally compile Luna on Mac because of the dependencies I was too lazy to install...

I know however that Extended has put on one of his websites an online version of Lua that gets code from Gist and outputs a downloadable .tns file....

Extended ?



Edit : meh, cross post
« Last Edit: January 02, 2012, 09:50:57 am by adriweb »
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline Alex

  • LV2 Member (Next: 40)
  • **
  • Posts: 32
  • Rating: +3/-0
    • View Profile
it's very important because I'd like create a lua game

« Last Edit: January 02, 2012, 09:59:15 am by adriweb »

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Here it is: http://bytecode.fr/luna/page.php5?id=1163613
The id is the one of your code snippet on Gist. An old version of Luna is being used, I'm not sure which one, I have to update it.

This was not really built for for development use, but rather for sharing Lua binary files. An HTML form would be more suited. And don't expect this service to be always available, I have limited resources on the server.
« Last Edit: January 02, 2012, 09:57:13 am by ExtendeD »
Ndless.me with the finest TI-Nspire programs

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
it's very important because I'd like create a lua game


If you're < 3.0.2, you can still use any other community-based converter, like the python one or the shell-based one, all available here or on TI-Planet or TI-Calc.org

edit: found it here   :   http://www.ticalc.org/archives/files/fileinfo/437/43705.html

syntax is :  python maketns.py source.lua output.tns
« Last Edit: January 02, 2012, 10:01:19 am by adriweb »
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation