From owner-freebsd-questions@FreeBSD.ORG Tue Jul 20 13:54:08 2004 Return-Path: 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 1CCFD16A4CE for ; Tue, 20 Jul 2004 13:54:08 +0000 (GMT) Received: from starling.mail.pas.earthlink.net (starling.mail.pas.earthlink.net [207.217.120.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 023D143D55 for ; Tue, 20 Jul 2004 13:54:08 +0000 (GMT) (envelope-from algould@datawok.com) Received: from 20-74.lctv-b4.cablelynx.com ([24.204.20.74] helo=yoda.datawok.com) by starling.mail.pas.earthlink.net with asmtp (TLSv1:RC4-MD5:128) (Exim 4.34) id 1Bmv4J-0000Ic-K2; Tue, 20 Jul 2004 06:54:07 -0700 From: "Andrew L. Gould" To: gabriel_ambuehl@buz.ch Date: Tue, 20 Jul 2004 08:55:21 -0500 User-Agent: KMail/1.6.2 References: <128634053.20040720151736@buz.ch> <200407200836.53987.algould@datawok.com> <5910464726.20040720153758@buz.ch> In-Reply-To: <5910464726.20040720153758@buz.ch> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200407200855.21412.algould@datawok.com> X-ELNK-Trace: ee791d459e3d6817d780f4a490ca69564776905774d2ac4bd298650f599a7d7df4209477f97734c1350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 24.204.20.74 cc: freebsd-questions@freebsd.org Subject: Re: How to configure PHP build? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2004 13:54:08 -0000 On Tuesday 20 July 2004 08:37 am, Gabriel Ambuehl wrote: > Hello Andrew, > > Tuesday, July 20, 2004, 3:36:53 PM, you wrote: > > On Tuesday 20 July 2004 08:17 am, Gabriel Ambuehl wrote: > >> Hi, > >> after the last PHP commits, I can't seem to be able to configure > >> my PHP builds anymore. It keeps on telling me > >> ===> Found saved configuration for mod_php4-4.3.8_1,1 > >> and subsequently starts to build right away. > >> > >> Is there any way to get it to behave like in the past, > >> specifically asking me what libs it should compile in? > >> > >> Any help would be greatly appreciated. > >> > >> Regards, > >> Gabriel > > > > Have you executed "make clean"? > > More than once. And also make distclean. > > Here's what happens: > root@iota 15:36:28 /usr/ports/www/mod_php4 # make clean > ===> Cleaning for libiconv-1.9.2 > ===> Cleaning for bison-1.75_2 > ===> Cleaning for gettext-0.13.1_1 > ===> Cleaning for libtool-1.3.5_2 > ===> Cleaning for libtool-1.5.6_1 > ===> Cleaning for m4-1.4.1 > ===> Cleaning for perl-5.6.1_15 > ===> Cleaning for rc_subr-1.29 > ===> Cleaning for expat-1.95.7 > ===> Cleaning for apache-1.3.31_2 > ===> Cleaning for mod_php4-4.3.8_1,1 > root@iota 15:36:41 /usr/ports/www/mod_php4 # make > ===> Vulnerability check disabled > ===> Found saved configuration for mod_php4-4.3.8_1,1 > ===> Extracting for mod_php4-4.3.8_1,1 > > >> Checksum OK for php-4.3.8.tar.bz2. > > ===> Patching for mod_php4-4.3.8_1,1 > ===> Applying FreeBSD patches for mod_php4-4.3.8_1,1 > ===> mod_php4-4.3.8_1,1 depends on file: /usr/local/sbin/apxs - > found ===> mod_php4-4.3.8_1,1 depends on executable: bison - found > ===> Configuring for mod_php4-4.3.8_1,1 > > > So it somehow caches config somewhere I guess. Can't seem to figure > out where though. > > > Best regards, > Gabriel Is there a reason you need mod_php4 instead of php4? I switched from mod_php4 to php4 about a year ago; and found installation to go much more smoothly, particularly where the ports have multiple versions of certain applications (apache and postgresql, for example). As for your current problem, look in mod_php4's directory for a directory called "Work", or something like that. You can/should delete any files that were not in the ports prior to any "make" activity. Best of luck, Andrew Gould