Posted by aradel on Sun, 02 Aug 2009 01:27:57
so I have an "older" mac with v10.4.11 and the interpreter under tools won't work it says I need the new fancy version of the OS is it possible to get a version that works for all OS versions?
Posted by jnwhiteh on Sun, 02 Aug 2009 17:14:25
Try downloading the file from here:
See if it works correctly for you. Once you've installed the package, you can open Terminal.app and type 'lua'. If that doesn't work, you can try running /usr/local/bin/lua all from the commandline.
Let me know if that doesn't work.
Posted by aradel on Fri, 07 Aug 2009 23:32:08
Couldn't open "Lua-5.1.4-WoW.pkg". This package type requires Mac OS X 10.5.
downloaded it tried to run it that was the results I got =o( /sad panda and stuff.
P.S I really appreciate your efforts of helping people and maintaining this website ty for a great book =D
Posted by jnwhiteh on Sun, 09 Aug 2009 20:43:57
Hrm, I may need to adjust the package because it should work for your version.
Posted by aradel on Mon, 10 Aug 2009 04:03:17
I'm just as confused. If it turns into a big project don't worry about it. I'll just run Boot camp or something.
Posted by jnwhiteh on Mon, 10 Aug 2009 14:42:18
Try using this version here: http://luabinaries.luaforge.net/download.html
Posted by aradel on Sat, 15 Aug 2009 18:19:48
So this turned into a new experience for me. I'm guessing I have to compile it my self? And for that I need a c++ IDE? or =S
Posted by jnwhiteh on Tue, 18 Aug 2009 17:19:00
No, there is no compiling. Just download the binaries from that webpage and run them.
Posted by aradel on Fri, 28 Aug 2009 00:31:30
Not sure I am doing it right. Put the files in the /usr/bin folder and when I try to run them I get a bus error I'll keep trying. Since this isn't my primary work station I'm not as experienced with mac osx =o/
Posted by jnwhiteh on Fri, 28 Aug 2009 06:52:36
I'd suggest (then) using one of the other methods, such as the web based Lua interpreter available on this site. I'll try to get the new package working on older macs, but its really really difficult for me to test without an older machine.
Posted by Tunin on Thu, 08 Oct 2009 20:40:04
lua gets installed in /usr/local/bin/lua , this is not in the standard macosx path, which is "/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin "
This is rectified easiest for me by making a quick soft link like this:
"sudo ln -s /usr/local/bin/lua /opt/local/bin/lua"
This places a pointer named lua in your path which points to the installation location of lua.
lua now works.
Posted by jnwhiteh on Mon, 12 Oct 2009 09:53:08
I'm sorry, but /usr/local/bin is in the path of every OS X machine that I've ever used so I've never heard of anything like this. It's also the correct path for something like this, as opposed to /opt/local which is used by MacPorts (and thus will and can conflict). I suppose I can try to add some script that 'fixes' it, but this is the first I've heard of any issues.
Also if you are going to do that you should also link luac, but this isn't a good solution. The easiest thing to do is add /usr/local/bin to your path (although I am baffled why it's not there already).