Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jul 2004 08:55:21 -0500
From:      "Andrew L. Gould" <algould@datawok.com>
To:        gabriel_ambuehl@buz.ch
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to configure PHP build?
Message-ID:  <200407200855.21412.algould@datawok.com>
In-Reply-To: <5910464726.20040720153758@buz.ch>
References:  <128634053.20040720151736@buz.ch> <200407200836.53987.algould@datawok.com> <5910464726.20040720153758@buz.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407200855.21412.algould>