From owner-freebsd-questions Fri Oct 25 9:18:10 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 033F637B401 for ; Fri, 25 Oct 2002 09:18:09 -0700 (PDT) Received: from office.advantage-interactive.com (host217-37-74-237.in-addr.btopenworld.com [217.37.74.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9D6E43E3B for ; Fri, 25 Oct 2002 09:18:02 -0700 (PDT) (envelope-from simond@irrelevant.org) Received: from devbox.advantage-interactive.com ([192.168.254.128] helo=linux.advantage-interactive.com) by office.advantage-interactive.com with esmtp (Exim 3.36 #1) id 18579n-0000EP-00; Fri, 25 Oct 2002 17:17:55 +0100 Subject: Re: squirrel mail install-from-ports problem.... From: Simon Dick To: Matthew Seaman Cc: freebsd-questions@FreeBSD.ORG 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> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 25 Oct 2002 17:17:55 +0100 Message-Id: <1035562675.1654.20.camel@linux> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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