2006-03-11, 09:18 AM
I know that you can install it off the disc, but I'm trying to compile Apache 2.0.55 from source on Fedora Core 5 Test 3. I have installed gcc and the related compiler stuff.
I run the following configure command: ./configure --prefix=/usr/local/apache2. It finishes without error, so I run make:
Code:
/bin/sh /home/peter/Desktop/httpd-2.0.55/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I../../include -I../../include/arch -I../../include/arch/unix -c proc_mutex.c && touch proc_mutex.lo
proc_mutex.c: In function 'proc_mutex_proc_pthread_create':
proc_mutex.c:341: error: 'PTHREAD_PRIO_INHERIT' undeclared (first use in this function)
proc_mutex.c:341: error: (Each undeclared identifier is reported only once
proc_mutex.c:341: error: for each function it appears in.)
make[4]: *** [proc_mutex.lo] Error 1
make[4]: Leaving directory `/home/peter/Desktop/httpd-2.0.55/srclib/apr/locks/unix'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/peter/Desktop/httpd-2.0.55/srclib/apr/locks/unix'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/peter/Desktop/httpd-2.0.55/srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/peter/Desktop/httpd-2.0.55/srclib'
make: *** [all-recursive] Error 1
I have snipped the lines that appeared to work.
What am I doing wrong here? Is there something else I need to install (but surely then it would tell me during configure)? Or is it a (known or unknown) bug?
This seems to also happen with Apache 2.2.x.
Thanks in advance for any help. :)