Compiling Apache 2.x on FCR5 T3 - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Distro Noob (https://www.linux-noob.com/forums/forum-10.html) +--- Forum: Fedora (https://www.linux-noob.com/forums/forum-94.html) +---- Forum: Fedora Core Release 5 (https://www.linux-noob.com/forums/forum-43.html) +---- Thread: Compiling Apache 2.x on FCR5 T3 (/thread-2095.html) |
Compiling Apache 2.x on FCR5 T3 - hybrid - 2006-03-11 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 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. :) Compiling Apache 2.x on FCR5 T3 - znx - 2006-03-11 I notice it has -pthread in the line.. normally the linker is -lpthread or at least thats what I believe. Anyway make sure you have pthreads installed.. look for: Code: $ ls /lib/libpthread* Compiling Apache 2.x on FCR5 T3 - hybrid - 2006-03-11 Quote:I notice it has -pthread in the line.. normally the linker is -lpthread or at least thats what I believe. I get Code: $ ls /lib/libpthread* . Does this mean it should work? Compiling Apache 2.x on FCR5 T3 - znx - 2006-03-11 Quote:Does this mean it should work? If you were on a source based distro.. :P But look to see what package that is in.. and install the -dev. You will be missing the .a and .h files for that library probably :) |