port newbie question

Ken Hawkins ken at rosewoodblues.com
Tue Jan 25 12:21:13 PST 2005


I searched and couldn't find this so I will ask an (I'm sure to most) 
easy question. I installed apache2 and mod_php4 on a 4.9 FreeBSD box 
however, I needed to install apache13 and NOT apache2. i went through 
and deinstalled mod_php4 and then deinstalled apache2.

on the new installation apache13 the server installation seems to have 
gone fine however on reinstalling mod_php4 I get the following from the 
command line when running 'make install clean';

...
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking for member fd in BUFF *... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS... 
apxs:Error: Invalid query string `BINDIR'
apxs:Error: Invalid query string `MPM_NAME'
apxs:Error: Invalid query string `APU_BINDIR'
apxs:Error: Invalid query string `APR_BINDIR'
./configure: /apu-config: not found
./configure: /apr-config: not found
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)
===>  Script "configure" failed unexpectedly.
Please report the problem to ale at FreeBSD.org [maintainer] and attach the
"/usr/ports/www/mod_php4/work/php-4.3.9/config.log" including the 
output of
the failure of your make command. Also, it might be a good idea to 
provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/www/mod_php4.

I think this is a simple thing to do and i need to be running apache13 
with php.  how can i clean this up and set up apache13 along with php4?

is there an easy way to wipe out all traces of apache and php to start 
from scratch?

thanks,
ken;



More information about the freebsd-questions mailing list