Marco Maggi a écrit :
I am on Slackware Linux, and I have installed Apache
2.2.9 and APR 1.3.3 (APR = Apache Portable Runtime)
from source and default installation options. With
this setup the headers are under:
/usr/local/apache2/include
/usr/local/apr/include/apr-1
To make "install.neko" understand that it has to add
the proper "-I" options when compiling "mod_neko" and
the likes I had to:
includes = $array(
"../../vm",
"/usr/local/apache2/include",
"/usr/local/apr/include/apr-1"
);
then I had to add:
cflags => "-D_LARGEFILE64_SOURCE",
to the branches in "libs" for "mod_neko" and
"mod_tora" because "apr.h" (installed by APR)
always requires "off64_t".
From the definition of "libs" it seems that
"mod_neko" and "mod_tora" are for compatibility
with Apache 1.3; so am I having an Apache version
detection error, or is it fine that they are built
with Apache 2?
No it's not fine ;)
You should skip mod_neko and mod_tora compilation unless you have Apache
1.3 installed, and use mod_neko2 and mod_tora2 together with Apache 2.2.x
The reason is that the Neko API needs to tell with ndll it will use, so
if mod_neko.ndll load a module which itself will reference
mod_neko2.ndll, this will crash.
Best,
Nicolas
--
Neko : One VM to run them all
(http://nekovm.org)