Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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!


  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    North Carolina
    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

  3. #3
    I've got it all sorted now thanks

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts