Results 1 to 3 of 3
Ok, this a true newbie post no doubt... :P
I'm having problems compiling and installing Apache 2. I compile it like this...
./configure --prefix=/usr/local/apache2 --enable-mods-shared=most
I notice when the configure ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-19-2004 #1Just Joined!
- Join Date
- Dec 2004
- Posts
- 2
Compiling Apache 2 From Source Errors
Ok, this a true newbie post no doubt... :P
I'm having problems compiling and installing Apache 2. I compile it like this...
./configure --prefix=/usr/local/apache2 --enable-mods-shared=most
I notice when the configure script runs there are quite a few lines where it says "Checking bla bla ... No" - suggesting I have some key stuff missing?
I ran make once and got some gcc errors. I started again with compile and then make. Make ran fine this time and I did make install. All the files seem to be in the correct place except for the httpd binary.
When I do the following command....
apachectl start
I get this error...
/usr/sbin/apachectl : line 86: /usr/sbin/httpd: No such file or directory
/usr/sbin/apachectl start: httpd could not be started
The httpd binary is in /usr/local/apache2/bin
Please HELP ME!!! I'm probably just doing something seriously dumb, or maybe I just need pointing in the direction of a decent Apache 2 installation tutorial. Either way, your help and advice is much appreciated!
allididntwanttobe
- 12-19-2004 #2
http://www.linuxforums.org/forum/top...tml&highlight=
thats where I posted my tutorial on installing apache (with php)
if you are using a redhat flavor, use the link in my sig and install apt.
then after
#apt-get update
#apt-get upgrade
run the following command
#apt-get install gcc
it sounds like you don't have gcc installed (or you didn't give enough info
)
if you type gcc and hit enter what happens? if nothing then you don't have gcc installed
if its not redhat/fedora find a package of gcc for your flavor of linux
if that doesn't help. then where it says checking blah blah blah .... NO, how bout tell us what the blah blah part is
- 12-19-2004 #3Just Joined!
- Join Date
- Dec 2004
- Posts
- 2
I've got it all sorted now thanks


Reply With Quote
