Marcus Bergstrom a écrit :
Hi List, Nicolas,

I am having major problems trying to get neko installed on my new server.
When compiling neko I get this:

Compiling mod_neko...
gcc -O3 -fPIC  -c -I../../vm -I/usr/local/apache/include mod_neko.c
In file included from /usr/local/apache/include/ap_config.h:25,
                 from /usr/local/apache/include/httpd.h:43,
                 from mod_neko.h:20,
                 from mod_neko.c:17:
/usr/local/apache/include/apr.h:273: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘apr_off_t’

This is the first error that trigger the others. It occurs directly in Apache headers so should not be related to mod_neko at all.

Looking at some information, could you add #include <unistd.h> in neko/libs/mod_neko/mod_neko.h before httpd.h is included ?

Best,
Nicolas


--
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to