[Bug 500703] [NEW] apxs failure regarding httpd.conf and LoadModule

Daniel Convissor launchpad029 at analysis.users.panix.com
Sun Dec 27 06:46:30 GMT 2009


Public bug reported:

Binary package hint: apache2

I am building PHP 5.3.2RC1 from source on Ubuntu 9.10 Server Edition.
My apache2-mpm-prefork package is at version 2.2.12-1ubuntu2.1.  The
"make install" step produces the following output:

    Installing PHP SAPI module:       apache2handler
    /usr/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/share/apr-1.0/build/libtool' libphp5.la /usr/lib/apache2/modules
    /usr/share/apr-1.0/build/libtool --mode=install cp libphp5.la /usr/lib/apache2/modules/
    libtool: install: cp .libs/libphp5.so /usr/lib/apache2/modules/libphp5.so
    libtool: install: cp .libs/libphp5.lai /usr/lib/apache2/modules/libphp5.la
    libtool: install: warning: remember to run `libtool --finish /data/wd/phpinstall/libs'
    chmod 644 /usr/lib/apache2/modules/libphp5.so
    apxs:Error: Activation failed for custom /etc/apache2/httpd.conf file..
    apxs:Error: At least one `LoadModule' directive already has to exist..
    make: *** [install-sapi] Error 1

Bug 1)  Shouldn't Ubuntu's version of apxs be patched to put directives
in files in the /etc/apache2/mods-available directory just like the php5
package does?

Bug 2)  The workaround of adding a bogus "LoadModule" line in httpd.conf
(as suggested in http://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=231134) does not change the matter.

** Affects: apache2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
apxs failure regarding httpd.conf and LoadModule 
https://bugs.launchpad.net/bugs/500703
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.



More information about the Ubuntu-server-bugs mailing list