[Mono-dev] error compiling mod_mono 1.2.5 with apache 1.3
César González
cesar at eureka-sistemas.com
Tue Sep 25 05:19:28 EDT 2007
Hello,
I am trying to compile mod_mono 1.2.5 with apache 1.3.34 on debian etch.
Configure scripts detects apache 1.3 on ends up with the following report :
Configuration summary for mod_mono
* Installation prefix = /usr/local
* Apache version = 1.3
* Apache modules directory = /usr/lib/apache/1.3
* apxs = /usr/bin/apxs
* CFLAGS = -g -O2 -I/usr/include/apache-1.3 -DLINUX=22 -DEAPI
-DTARGET="apache" -DHAVE_SET_DUMPABLE -DDB_DBM_HSEARCH=1
-DDEV_RANDOM=/dev/random -DUSE_HSREGEX -O1 -g -Wall -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DAPACHE13 -DEAPI
* Verbose logging (debug) = no
* GCOV options used = no
* mono prefix = /usr/local/mono-1.2.5/
* Default MonoApplicationsConfigDir = /etc/apache/mod-mono-applications
When i do "make" it gives the following error :
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/include/apache-1.3 -g
-O2 -I/usr/include/apache-1.3 -DLINUX=22 -DEAPI -DTARGET=apache
-DHAVE_SET_DUMPABLE -DDB_DBM_HSEARCH=1 -DDEV_RANDOM=/dev/random
-DUSE_HSREGEX -O1 -g -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g
-O2 -I/usr/include/apache-1.3 -DLINUX=22 -DEAPI -DTARGET=apache
-DHAVE_SET_DUMPABLE -DDB_DBM_HSEARCH=1 -DDEV_RANDOM=/dev/random
-DUSE_HSREGEX -O1 -g -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-Wall -DDFLT_MONO_CONFIG_DIR=\"/etc/apache/mod-mono-applications\" -g
-O2 -I/usr/include/apache-1.3 -DLINUX=22 -DEAPI -DTARGET=apache
-DHAVE_SET_DUMPABLE -DDB_DBM_HSEARCH=1 -DDEV_RANDOM=/dev/random
-DUSE_HSREGEX -O1 -g -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DAPACHE13 -DEAPI -MT mod_mono_la-mod_mono.lo -MD -MP -MF
.deps/mod_mono_la-mod_mono.Tpo -c mod_mono.c -fPIC -DPIC -o
.libs/mod_mono_la-mod_mono.o
In file included from mod_mono.c:35:
mod_mono.h:55:21: error: apr_shm.h: No such file or directory
mod_mono.h:58:19: error: unixd.h: No such file or directory
mod_mono.h include apr_shm.h and unixd.h, and this files are only on the
apache 2 sources. If the configure script detects correctly the apache
1.3 instalation why mod_mono compiling process try to include apache-2
only files?.
Does mod_mono 1.2.5 supports apache 1.3?
I have also compiled apache 1.3.37 from sources to ensure that the
problem is not related to the apache 1.3 debian package and mod_mono
fails to compile with the same error.
Thanks in advance,
César González.
More information about the Mono-devel-list
mailing list