[Lunar-bugs] [bug] PHP won't compile using Apache HTTP 1.3

lunar-bugs at lunar-linux.org lunar-bugs at lunar-linux.org
Sun Apr 10 12:27:47 UTC 2005


 Project:      lunar-linux
 ID:           
 Version:      <none>
 Component:    moonbase (modules)
 Category:     bug reports
 Priority:     critical
 Assigned to:  <unassigned>
 Reported by:  remsys
 Updated by:   florin
-Status:       active
+Status:       fixed

by mistake there was another --with-aspx2 option in the configure
invocation. remove it fix this issue.


florin



Previous comments:
------------------------------------------------------------------------

Sun, 04/10/2005 - 12:44 : remsys

PHP won't compile if one is using Apache 1.3, because of the
--with-apxs2 switch in /var/lib/lunar/moonbase/compilers/php/BUILD:

configure: error: You have enabled Apache 2 support while your server
is Apache 1.3.  Please use the appropiate switch --with-apxs (without
the 2)
++ Mark Compile stop   : "php" "4.3.11" "Sun Apr 10 09:22:37 UTC 2005"

removing that switch does the trick, but a more conveniant way of
getting php to compile with apache 1.3.x must be possible ;-)

------------------------------------------------------------------------

Sun, 04/10/2005 - 13:05 : Moe

>From the module's code:

if module_installed apache || module_installed apache-mod_ssl ; then
    OPTS="$OPTS --with-apxs=/usr/sbin/apxs"
elif module_installed apache2 ; then
    OPTS="$OPTS --with-apxs2=/usr/sbin/apxs"
fi


So you see .. the code is pretty straight forward. And since you can't
have apache2 and apache side by side (they conflict with each other) I
wonder how you're able to get that error ...

Please clearify.

-- 
View: http://lunar-linux.org/?q=node/view/796
Edit: http://lunar-linux.org/?q=project/comments/add/796




More information about the Lunar-bugs mailing list