Date: 25 Oct 2002 17:17:55 +0100 From: Simon Dick <simond@irrelevant.org> To: Matthew Seaman <m.seaman@infracaninophile.co.uk> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: squirrel mail install-from-ports problem.... Message-ID: <1035562675.1654.20.camel@linux> In-Reply-To: <20021025160152.GA9908@happy-idiot-talk.infracaninophi> References: <20021025013013.98103.qmail@web20110.mail.yahoo.com> <1035558247.1654.16.camel@linux> <20021025160152.GA9908@happy-idiot-talk.infracaninophi>
next in thread | previous in thread | raw e-mail | index | archive | help
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 dirk@freebsd.org... > > > > > > 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 majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1035562675.1654.20.camel>