-
Posted by trav on Sun, 24 May 2009 03:37:25
Lua-WoW (PC Zip, Mac DMG) - Modified Lua distribution that includes changes to more closely match the WoW environment. See the readme files for more details. Whoops, page utils/mac/lua-wow does not support action .dmg.
got this when clicking on the link. What is going on?
-
Posted by jnwhiteh on Sun, 24 May 2009 10:24:43
There have been some changes to the way we distribute Lua. Here are a new set of instructions:
Mac OS X
A package that can be used to install a Lua interpreter for Mac OS X can be found at http://wowprogramming.com/utils/mac/lua-wow.zip. The download is a standard disk image that can be mounted on your system. To mount it, navigate to the disk image and double-click it. The disk image contains a package that you can run to install Lua on your system. Double-click the package to install Lua on your system.
To launch the Lua interpreter, you will need to open Terminal. This is an application normally located under Applications → Utilities. A window will appear, so you can type
lua
and press enter to actually open the Lua interpreter. -
Posted by trav on Mon, 25 May 2009 17:14:33
I tried the link, but got this: " The node by this name does not exist, but you can create it. Please pick one of the node types below. " Which seemed to be a lot of 'nothing?' Today, I did get the mac disk image link (Mac DMG) to work? And the package appears to be just a somewhat of a regular version of the binary lua download. I did not see anything that mentioned WoW programming differences etc. I did modify my PATH to run the binary that I got from the "official" lua site, when I type lua. I did try the ./ command on the WoW version, and I really did not see any difference. How does the WoW download set things up so that it runs when one types lua in the terminal command line? I did not see any further changes to the PATH.
However, I did delete the PATH export changes to my bash_profile etc. and behold lua came up when I typed it. So far it appears to be working. I am guessing that I know just enough to be very dangerous to myself. ;^) trav -
Posted by jnwhiteh on Mon, 25 May 2009 22:28:24
I had also fixed the download link on the utils page, and have updated my forum response above. Download my package here.
Today, I did get the mac disk image link (Mac DMG) to work? And the package appears to be just a somewhat of a regular version of the binary lua download. I did not see anything that mentioned WoW programming differences etc.
It's mentioned in the installer program. Just use it.
I did modify my PATH to run the binary that I got from the "official" lua site, when I type lua. I did try the ./ command on the WoW version, and I really did not see any difference. How does the WoW download set things up so that it runs when one types lua in the terminal command line? I did not see any further changes to the PATH.
Don't, there's no reason to do this. Download and install the package that I have created. Then you are guaranteed to have a system that operates the same as in the book.
However, I did delete the PATH export changes to my bash_profile etc. and behold lua came up when I typed it. So far it appears to be working. I am guessing that I know just enough to be very dangerous to myself. ;^)
Good, hopefully you mean you removed the binaries that you downloaded from LuaBinaries and backed out any changes they asked you to make. There is a reason that I made the package installer.