Re: cvs: php4 /ext/ming config.m4

From: Date: Mon, 29 Apr 2002 22:36:45 +0000
Subject: Re: cvs: php4 /ext/ming config.m4
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11541@lists.php.net to get a copy of this message
It's because pear.m4 installed in your system is too old. And propably some header files and such. Just make sure you don't disable pear while configuring PHP and do a 'make install'..also make sure you're using the correct phpize. This is not bug in ext/ming/config.m4 so don't try fixing it there. I fixed this in pear/pear.m4 while ago, but seems I forgot to MFH it. --Jani On Tue, 30 Apr 2002, Rui Hirokawa wrote: > >I did the steps as follow, > >phpize >aclocal >./configure --with-ming > >configure faild because shared library's extension and rint() are not >defined. > >Rui > >On Mon, 29 Apr 2002 18:37:26 +0300 (EEST) >Jani Taskinen <sniper@iki.fi> wrote: >> >> Eh? You mean, when you configure --with-ming=shared ? >> Or with phpize? >> >> --Jani >> >> >> >> On Tue, 30 Apr 2002, Rui Hirokawa wrote: >> >> > >> >It is necessary to make shared module extension. >> > >> >Rui >> > >> >On Mon, 29 Apr 2002 18:25:28 +0300 (EEST) >> >Jani Taskinen <sniper@iki.fi> wrote: >> > >> >> >> >> PHP_SHLIB_SUFFIX_NAME is in configure.in and does not >> >> need to be run here. Also, the -lm check is done in configure.in. >> >> Can you explain why you needed to make these changes? >> >> >> >> --Jani >> >> >> >> >> >> On Mon, 29 Apr 2002, Rui Hirokawa wrote: >> >> >> >> >hirokawa Sun Apr 28 22:55:54 2002 EDT >> >> > >> >> > Modified files: >> >> > /php4/ext/ming config.m4 >> >> > Log: >> >> > shlib suffix was not defind and rint() was not found without -lm. >> >> > >> >> >Index: php4/ext/ming/config.m4 >> >> >diff -u php4/ext/ming/config.m4:1.14 php4/ext/ming/config.m4:1.15 >> >> >--- php4/ext/ming/config.m4:1.14 Wed Mar 27 10:30:51 2002 >> >> >+++ php4/ext/ming/config.m4 Sun Apr 28 22:55:54 2002 >> >> >@@ -1,11 +1,12 @@ >> >> > dnl >> >> >-dnl $Id: config.m4,v 1.14 2002/03/27 15:30:51 sniper Exp $ >> >> >+dnl $Id: config.m4,v 1.15 2002/04/29 02:55:54 hirokawa Exp $ >> >> > dnl >> >> > >> >> > PHP_ARG_WITH(ming, for MING support, >> >> > [ --with-ming[=DIR] Include MING support]) >> >> > >> >> > if test "$PHP_MING" != "no"; then >> >> >+ PHP_SHLIB_SUFFIX_NAME >> >> > for i in $PHP_MING /usr/local /usr; do >> >> > if test -f $i/lib/libming.$SHLIB_SUFFIX_NAME -o -f $i/lib/libming.a; then >> >> > MING_DIR=$i >> >> >@@ -21,7 +22,7 @@ >> >> > ],[ >> >> > AC_MSG_ERROR([Ming library 0.2a or greater required.]) >> >> > ],[ >> >> >- -L$MING_DIR/lib >> >> >+ -L$MING_DIR/lib -lm >> >> > ]) >> >> > >> >> > PHP_ADD_INCLUDE($MING_DIR/include) >> >> > >> >> > >> >> > >> >> > >> >> >> >> -- >> > >> > >> > >> >> -- > > > --

« previous php.cvs (#11541) next »