From: Steven F. <onl...@us...> - 2010-11-19 14:37:17
|
As a follow-up: I was able to compile fine, but when I tried to run it, I get "Could not parse global.lob" (and then another blank message right behind it). And then KQ closes. So I'm going to continue investigating this after work, but if anyone has any suggestions, let me know. I removed the "--prefix=/opt/local" from the "./configure" options as well, and made a clean build, but get the same thing. Hrm. -Steven On Fri, Nov 19, 2010 at 4:15 AM, Steven Fullmer <onl...@gm...> wrote: > I've posted some findings on http://www.allegro.cc/forums/thread/605512for setting up Allegro on 64-bit Snow Leopard. Long story short, to install > Allegro, simply use MacPorts and "sudo port install allegro" and let it > build all the dependencies. Allegro 4.4 will not build as a 64-bit library, > so you will have to always tack on an extra "-m32" linker flag to things you > install that require Allegro. > > Keep in mind that MacPorts downloads and installs everything to > "/opt/local" instead of the default "/usr" or "/usr/local". > > To get KQ installed and running, I needed a few more things: > - KQlives sources from SVN > - Lua scripting library (http://www.lua.org) > - DUMB music library (http://dumb.sourceforge.net) > > I recommend downloading Lua through MacPorts as well, but you will need to > use the "+universal" flag when installing it so it builds a 32-bit version: > > $ sudo port install lua +universal > > You cannot download/install DUMB through MacPorts; it has to be installed > from sources. You will need two files: > - "DUMB v0.9.3 for Linux, BeOS, Mac OS X and similar" > - "Autotools build files for DUMB v0.9.3" > > First, unpack DUMB somewhere. Then, unpack the Autotools for DUMB over the > top of it. (Autotools for DUMB may already include ALL the sources, but it's > better to be safe than sorry.) > > Run "./configure" with the following arguments (remember the "-m32" flags, > as well as the "/opt/local" paths that MacPorts needs): > > $ ./configure CFLAGS=-m32 CXXFLAGS=-m32 CPPFLAGS=-L/opt/local/include > LDFLAGS=-L/opt/local/lib --prefix=/opt/local > > DUMB will now compile correctly, and you can run "make" followed by "sudo > make install" to push it into the same "/opt/local" directory that all the > rest of the MacPort downloads were saved to. > > For KQlives, get a clean SVN checkout and run "autoreconf -i" to generate > KQ's "./configure" file. Then, pass the following commands to > "./configure": > > $ ./configure CFLAGS=-m32 LDFLAGS=-L/opt/local/lib --prefix=/opt/local > > For my own (developer) build, I like to also add the "--enable-cheats" and > "--enable-debug" flags: > > $ ./configure CFLAGS=-m32 > LDFLAGS=-L/opt/local/lib --prefix=/opt/local --enable-cheats --enable-debug > > Finally, run "make" and it should install correctly. The binary should > install into a "KQ.app" directory in the current path, which you run like > you would any other Mac application. > > > If someone else has Snow Leopard 64-bit, and you had problems installing > KQ, please let me know if these steps help you out. Let me know if anything > is omitted, or if you have other suggestions for these steps. > > Enjoy! > |