FAQ: I'm running Linux 2.2.x with glibc 2.0, trying to compile mod_ssl 2.4.4
(openssl 0.9.4). During compiliation, I get an 'incompatible type for 4th
argument of semctl' error. What do I do?
A: A couple of things. As a temporary workaround, you can use mod_ssl 2.4.3
(until Ralf gets 2.4.5 out the door, with the configure script checking for
this bug in your header files); it will compile. As an alternate (better?)
fix, you can upgrade to glibc 2.1, which doesn't have the incompatible
headers problem on Linux.
-Mat
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Loic Guilmard
Sent: Wednesday, September 29, 1999 5:11 AM
Subject: problème de compilation
Hello everybody !
I'm running Slackware 4.0 with 2.2.11 kernel.
I try to compile mod_perl 1.21, mod_ssl 2.4.4(with openssl 0.9.4) and
php3.0.12 with apache 1.3.9 adding log_referer, rewrite, log_agent and
usertrack.
I first install mod_ssl then mod_perl then php3 (I don't know if order
is important)
So I launch the following command :
SSL_BASE=../openssl-0.9.4/ ./configure --prefix=/var/lib/apache/
--enable-module=ssl --activate-module=src/modules/perl/libperl.a
--enable-module=perl --activate-module=src/modules/php3/libphp3.a
--enable-module=php3 --disable-rule=SSL_COMPAT --enable-module=rewrite
--enable-module=log_agent --enable-module=usertrack
--enable-module=log_referer
ok
So I do 'make' :
bla ... bla ... bla
gcc -c -I../.. -I/usr/lib/perl5/i386-linux/CORE -I../../os/unix
-I../../include -DLINUX=2 -DMOD_SSL=204104 -DMOD_PERL -DUSE_PERL_SSI
-Dbool=char -DHAS_BOOL -I/usr/local/include -DUSE_HSREGEX -DEAPI
-DUSE_EXPAT -I../../lib/expat-lite `../../apaci`
-I/home/src/openssl-0.9.4/include -DMOD_SSL_VERSION=\"2.4.4\"
ssl_engine_mutex.c
ssl_engine_mutex.c: In function `ssl_mutex_sem_create':
ssl_engine_mutex.c:293: incompatible type for argument 4 of `semctl'
ssl_engine_mutex.c:302: incompatible type for argument 4 of `semctl'
make[4]: *** [ssl_engine_mutex.o] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/home/src/apache_1.3.9/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/src/apache_1.3.9'
make: *** [build] Error 2
if you have any idea to help me... write me !
thanx
loic, the young experimental linux administrator (v 0.5) :-)
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]