PHP 4.0 Bug #7193: configure script broken
| From: | ignacio at openservices dot net | Date: | Fri, 13 Oct 2000 17:50:45 +0000 |
| Subject: | PHP 4.0 Bug #7193: configure script broken | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-34942@lists.php.net to get a copy of this message | ||
From: ignacio@openservices.net
Operating system: Red Hat Linux 6.2/7.0
PHP version: 4.0.3
PHP Bug Type: Compile Problem
Bug description: configure script broken
The configure script is broken because it can't seem to find bindtextdomain in libc.so.6
(libc-2.1.3.so) when building an RPM from the spec for 4.0.1pl2 as given from 7.0, modifying the
patches as necessary and reconfiguring LDAP, IMAP, and MySQL as static. I did 'objdump -t
/lib/libc.so.6' and bindtextdomain is in fact there, but I don't yet know enough about
configure scripts to be able to diagnose it further.
Here's the configure command line:
./configure --target=i386-redhat-linux --prefix=/usr --with-config-file-path=/etc --disable-debug
--enable-pic --enable-inline-optimization --enable-force-cgi-redirect --with-exec-dir=/usr/bin
--with-regex=system --with-gettext --with-gd --with-jpeg-dir=/usr --with-png --with-zlib --with-db2
--with-db3 --with-gdbm --enable-debugger --enable-magic-quotes --enable-safe-mode --enable-sysvsem
--enable-sysvshm --enable-track-vars --enable-yp --enable-ftp --without-mysql --with-xml
--with-mysql --with-imap --with-ldap --with-sybase-ct=/opt/sybase-11.9.2
Here's the patches that are applied to configure.in:
--- php-4.0.0/configure.in Fri Jun 16 16:40:46 2000
+++ php-4.0.0/configure.in Fri Jun 16 16:40:54 2000
@@ -693,7 +693,7 @@
ZEND_MODULE_API_NO=
egrep '#define ZEND_MODULE_API_NO ' $srcdir/Zend/modules.h|sed
's/#define ZEND_MODULE_API_NO //'
-EXTENSION_DIR="$prefix/lib/php/extensions/$PART1-$PART2-$ZEND_MODULE_API_NO"
+EXTENSION_DIR="$prefix/lib/php4"
AC_BUILD_RPATH
@@ -691,7 +691,7 @@
EXTENSION_DIR="$prefix/lib/php4"
-PEAR_INSTALLDIR="$prefix/lib/php"
+PEAR_INSTALLDIR="$datadir/php4"
INCLUDE_PATH=".:$PEAR_INSTALLDIR"
--
Edit Bug report at: http://bugs.php.net/?id=7193&edit=1