Re: [PHP-DEV] PHP 4.0 Bug #2239 Updated: lcg module makefile broken From: Stig Bakken (ssb <email protected>)
Date: 09/05/99

On 5 Sep 1999, Manuel Lemos wrote:

> Hello Stig,
>
> On 05-Sep-99 16:10:15, you wrote:
>
> >ID: 2239
> >Updated by: ssb
> >Reported By: mlemos <email protected>
> >Status: Closed
> >Bug Type: Compile Failure
> >Assigned To:
> >Comments:
>
> >lcg is no longer a separate extension. Do "cvs update -P",
> >run "sh buildconf" and try again.
>
> I always do that. My update and build scripts are as follows:
>
> cd php4
> cvs -z3 update -d -P
> cd ../libzend
> cvs -z3 update -d -P
> cd ../TSRM
> cvs -z3 update -d -P
>
>
> cd php4
> ./do-conf.cgi
> make
>
> do-conf.cgi has the following:
>
> ./configure --enable-sysvsem --enable-sysvshm --with-pdflib=/usr/local --with-xml --with-gd=/root/gd1.3 --with-mysql=/usr --with-zlib --enable-debug=yes --enable-bcmath=yes --with-msql=/usr/local/Hughes --with-oracle=/home/oracle/oracle/app/oracle/product/8.0.5 --with-pgsql=/usr/local/pgsql

I don't see buildconf up there? You should probably add something like
this to your script so buildconf is run when needed:

  if test "`ls -1t acconfig.h.in buildconf buildconf.stamp 2>/dev/null
|head -1`" != "buildconf.stamp"; then
    sh buildconf
  fi

 - Stig

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>