On Fri, 2002-10-25 at 17:01, Matthew Seaman wrote:
> On Fri, Oct 25, 2002 at 04:04:07PM +0100, Simon Dick wrote:
> > On Fri, 2002-10-25 at 02:30, Bsd Neophyte wrote:
> > > i'm getting the following error and it says that this should be reported
> > > to [EMAIL PROTECTED]
> > > 
> > > but before i do that, i wanted some input to see if i could resolve this
> > > issue in a relatively simply way.
> > > 
> > > is this an issue with how i installed apache... should i reinstall if with
> > > the "--with-apxs2" option?
> > 
> > I'd suggest you install PHP4 individually first, eg:
> > cd /usr/ports/www/mod_php4
> > make -DWITH_APACHE2 install clean
> > 
> > Then install squirrelmail, it looks like you have Apache 2 installed and
> > PHP can't autodetect it so it needs that -D option set.
> 
> Unfortunately, the Makefile for the squirrelmail port says:
> 
>     RUN_DEPENDS+=   ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
> 
> which means that if ${LOCALBASE}/libexec/apache/libphp4.so cannot be
> found at compile/install time, the squirrelmail port will try and
> install mod_php4 to fulfil the dependency.  Since you've already
> installed mod_php4 with the -DWITH_APACHE2 flag, causing the loadable
> module to be installed as ${LOCALBASE}/libexec/apache2/libphp4.so, the
> system will try and reinstall mod_php4, which you've already
> discovered doesn't work.
> 
> One solution is to patch the squirrelmail port Makefile:

Good point, will submit a patch to do that in the squirrelmail port
tonight.

-- 
Simon


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to