Build instructions for Neko. I am running 10.4.6, and it's working great. The package available for download 1.4.2 OS X Binaries is working nicely, however there is no mysql.ndll available, and you would most likely have problems with installing the mod_neko.ndll into Apache, depending on what version of Apache you have. First of all, you'll need to download the Garbage Collector from: and the Neko 1.4 TGZ file: (I used the CVS instead) The above links are also available from http://www.nekovm.org/download When the GC is downloaded, you need to follow these instructions: ---------------------------------------- tar xvfz gc.tar.gz cd gc ## You can configure, build, and install the collector in a private directory, say /home/xyz/gc, with the following commands: ./configure --prefix=/usr/local/gc --disable-threads make make check make install ----------------------------------------- You'll need to specify a directory where you want to install the GC. I recommend /usr/local/gc I guess this should really be just /usr/local/ (read why below), but I have not verified this, seems a bit "odd" though. Now let's return to the neko installation before we go any further here. in the Makefile (neko folder) uncomment line 17: MACOSX=1 Add this under ### OSX SPECIFIC and after ifeq(${MACOSX},1) CFLAGS += -I /usr/local/bin/gc/include -I /usr/local/bin/gc/lib Now open neko/src/tools/install.neko add this at the bottom of the "includes" array. "/usr/local/mysql/include", // This is most likely correct, but check you installation to be sure.
add this at the bottom of the "libraries" array. "/usr/local/mysql/lib", // Again make sure it's correct. Now it's time to go back to the GC again, as it will cause problems if we try and compile it now. There is a directive somewhere that says that the GC lib should be found in /usr/local/lib, so instead of trying to find where that include is, lets just copy the lib from the installed GC (we did that before) into that folder (I know, it's not pretty). basically: sudo cp -R /usr/local/gc/lib /usr/local/ When that's done, go back to your neko folder, and try to "make" Hopefully, it should be running smoothly. If it asks you for httpd.h, open a new terminal window and search for the file: locate httpd.h > /usr/include/httpd/httpd.h so enter /usr/include/httpd and press enter. (Alternatively, this could be added in the "includes" array we talked about previously) if it asks you for pcre.h, then do the same. If you don't have that file (Cause I didn't) then you need to download that distribution somewhere...(Someone help us here?) Just press "s" and enter to skip this lib. Now it should be compiled and ready. Keep in mind that I just compiled all this to get the mysql.ndll module, and to get a correct mod_neko.ndll version to use in my version of Apache. I hope that this is helpful to you, and if you can streamline this further, then keep on posting to this thread. I am sure that loads of people will be searching for this topic in the near future. Marcus On Aug 29, 2006, at 8:21 PM, erixtekila wrote: Hi Marcus, If anyone needs some information about compiling neko on OSX/PPC 10.4, drop me an email, and maybe I can pass on some useful information. I surely am insterested in the way you build neko. I tried oday on 10.4.7 OSX PPC with no luck. The only thing I know is that you must use $ make MACOSX=1 Another question, when installing Edwin's package, do the neko and haxe work ? I can get them to run in panther but not in tiger. Thanks. ----------- erixtekila On Aug 29, 2006, at 10:28 PM, Edwin van Rijkom wrote:
|
-- Neko : One VM to run them all (http://nekovm.org)
