Bug #14048 Updated: Configure issues

From: Date: Sat, 13 Apr 2002 05:12:31 +0000
Subject: Bug #14048 Updated: Configure issues
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-4810@lists.php.net to get a copy of this message
ID: 14048 Updated by: adam@trachtenberg.com Reported By: msopacua@idg.nl Status: Open Bug Type: *Configuration Issues Operating System: BSD/OS 4.x PHP Version: 4.1.0 New Comment: I also got nailed by 4). When I try to build XSLT, -liconv isn't passed, so it can't find the iconv*() functions. This is with RH 7.2 and the latest CVS. I manually edited the Makefile to add -liconv to EXTRA_LIBS and everything compiled fine and works. Previous Comments: ------------------------------------------------------------------------ [2002-02-09 21:49:14] msopacua@idg.nl Ok, found 1 thing. Could someone apply this or the equivalent? $ diff -u configure.in.dist configure.in --- configure.in.dist Thu Dec 20 22:18:34 2001 +++ configure.in Sun Feb 10 03:24:51 2002 @@ -105,7 +105,10 @@ *darwin*|*rhapsody*) CPPFLAGS="$CPPFLAGS -traditional-cpp";; *bsdi*) - BSD_MAKEFILE=yes;; + if [ xGNU ! x${MAKE} --version | sed -n -e "s|^GNU.*|GNU|p" ]; then + BSD_MAKEFILE=yes + fi + ;; *beos*) beos_threads=1 LIBS="$LIBS -lbe -lroot";; ------------------------------------------------------------------------ [2001-12-15 12:31:54] msopacua@idg.nl Of course it was the last extension - in this case GD. BSDi 4.2 now comes with both a shared zlib as a shared Jpeg. The zlib is ok, but I've made a jpeg 6.2 of my own. There are a number of issues now surfacing, so should I open a new report on GD/BSDi 4.2 for these (HUP signal doesn't work anymore, linking with 2 libraries installed, makes it core dump)? Remaining for this report: 1) incorrect detection of HAVE_RES_SEARCH braking getmxrr and other DNS related functions, work-around: $ diff -c php_config.h.in php_config.h.in.dist *** php_config.h.in Fri Dec 14 21:13:55 2001 --- php_config.h.in.dist Fri Dec 14 15:06:29 2001 *************** *** 1894,1903 **** #define zend_finite(a) (zend_isnan(a) ? 0 : zend_isinf(a) ? 0 : 1) #endif - #ifdef __bsdi__ - #define HAVE_RES_SEARCH 1 - #endif - /* * Local variables: * tab-width: 4 --- 1894,1899 ---- I have provided an example of how bind-9.x detects this function. 2) Release versions need a fix of the include statements in various files, since the old make syntax is used, for BSDi's system provided make, instead of the make preferred in the PATH and/or specified by $MAKE. This does not apply to snapshots. ------------------------------------------------------------------------ [2001-12-15 06:43:11] derick@php.net Those yacc warnings are harmless. ------------------------------------------------------------------------ [2001-12-15 05:37:28] msopacua@idg.nl Ok, working on it. 2 notes on this build: I get a lot of yacc warnings like these: /usr/src/web/php/php4/ext/standard/var_unserializer.re:273: warning: label `yy1' defined but not used And the XtOffsetOf is redefined: In file included from /apbeta/include/httpd.h:72, from sapi_apache.c:32: /apbeta/include/ap_config.h:1367: warning: `XtOffsetOf' redefined ------------------------------------------------------------------------ [2001-12-14 21:23:50] sniper@php.net So with the minimum options everything works just fine? If so, then please try adding some more options and see when it starts to fail. --Jani ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/14048 -- Edit this bug report at http://bugs.php.net/?id=14048&edit=1

« previous php.bugs (#4810) next »