Menu

What part of Apache is configure looking for?

Help
2008-04-09
2013-04-25
  • Nobody/Anonymous

    I'm trying to install DACS. The "configure" script is complaining that it can't find the "Apache install directory." What part(s) of Apache does it need to find? Is it looking for libraries, headers... the apache2 binary? ...or something entirely different?

    I've been attempting to use a Ubuntu 7.10 standard Apache install, but it scatters Apache bits all over the filesystem, so I'm having trouble figuring out which bit to give to the --with-apache option.

     
    • Barry Brachman

      Barry Brachman - 2008-04-09

      The --with-apache flag to configure needs the root of the
      Apache installation directory.  In a normal Apache install,
      this directory will contain the bin, cgi-bin, conf, htdocs,
      include, logs, and other directories (lib might be there)
      that depend on the version of Apache.

      When I build Apache 2.2.8, I configure it with these flags:
        --prefix=/usr/local/apache2-2.2.8
        --enable-ssl
        --with-ssl=/usr/local/openssl-0.9.8g
        --with-apr=/usr/local/apache2-2.2.8/apr-httpd
        --with-apr-util=/usr/local/apache2-2.2.8/apr-util-httpd
      and when I build DACS, I configure it with:
        --with-apache=/usr/local/apache2.2
        --with-apache-apr=/usr/local/apache2.2/apr-httpd

      When I build Apache 2.0.63, I configure it with:
        --prefix=/usr/local/apache2-2.0.63
        --enable-ssl
        --enable-so
        --with-ssl=/usr/local/openssl-0.9.8g
      and when I build DACS, I use:
        --with-apache=/usr/local/apache2-2.0.63

      I don't have any experience with Ubuntu, but if it's very
      different from the default Apache layout I'd suggest rebuilding
      it in some fresh place (as I do in both cases above) and work
      with that install instead of the Ubuntu one.

      I hope this helps.

      Barry

       

Log in to post a comment.