В Sun, 18 Mar 2012 20:36:24 +0100 Nico Zimmermann <[email protected]> пишет:
> Thanks Alexander, > > Yes, either that, or a PPC/Intel issue. > > However, how can I be sure? I cannot select the type when downloading > neko, so I do not know what version I am currently using. > > Hope that I do not need to recompile the stuff… > > Best, Nico. > > On 18 Mar 2012, at 20:19, Alexander Konotop wrote: > > > В Sun, 18 Mar 2012 19:17:14 +0100 > > Nico Zimmermann <[email protected]> пишет: > > > >> Hi everyone, > >> > >> I am trying to install mod_neko on Apache2 on my Mac (10.7.3) by > >> adding: > >> > >> LoadModule neko_module /usr/lib/neko/mod_neko2.ndll > >> > >> <IfModule mod_neko.c> > >> AddHandler neko-handler .n > >> DirectoryIndex index.n > >> </IfModule> > >> > >> However, when I restart the server I receive the following error > >> message: > >> > >> "Syntax error on line 31 > >> of /Applications/MAMP/conf/apache/httpd.conf: Cannot > >> load /usr/lib/neko/mod_neko2.ndll into server: > >> dlopen(/usr/lib/neko/mod_neko2.ndll, 10): no suitable image found. > >> Did find:\n\t/usr/lib/neko/mod_neko2.ndll: mach-o, but wrong > >> architecture" > >> > >> Any ideas? > >> > >> Greetings, Nico. > > > > Does neko itself work? Maybe You are trying to use 32bit binaries in > > 64bit os? > > > > Best regards > > Alexander > > > > -- > > Neko : One VM to run them all > > (http://nekovm.org) > > You're not the only one haxe+mac user here - so I think You won't need to recompile and will find a ready build. BTW recompiling takes few minutes to prepare - You just need to install some stuff and delete it after building. To be sure that You need another build - try to compile and run smth (helloworld). Probably You've downloaded haxe+neko as one archive and You won't be able even to compile neither with haxe nor with nekoc itself :-). So at first try to compile smth. If You can't - ask someone at haxe maillist - maybe someone has haxe+neko(+mod_neko) binaries for Your platform. If nobody answers - go here http://haxe.org/doc/build and build it Yourself. Believe me - it's not hard and won't leave garbage in Your OS if You do everything attentively. If You'll stuck with complex problems while compiling - You can always ask here or in haxe list. Best regards Alexander -- Neko : One VM to run them all (http://nekovm.org)
