Bug #15207 Updated: Failure to compile with LDAP support
| From: | sniper@php.net | Date: | Thu, 13 Jun 2002 20:30:00 +0000 |
| Subject: | Bug #15207 Updated: Failure to compile with LDAP support | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-10385@lists.php.net to get a copy of this message | ||
ID: 15207
Updated by: sniper@php.net
Reported By: lhecking@nmrc.ie
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Solaris 7
PHP Version: 4.1.1
New Comment:
Please try this snapshot:
http://snaps.php.net/php4-latest.tar.gz
Previous Comments:
------------------------------------------------------------------------
[2002-01-24 12:24:13] lhecking@nmrc.ie
Both php 4.1.0 and 4.1.1 fail to compile with LDAP support.
The same configuration compiles (and works) just fine when
I configure without "--with-ldap".
$ ./configure --enable-safe-mode --enable-track-vars \
--enable-memory-limit=yes --enable-sysvsem \
--enable-sysvshm --enable-versioning --with-apxs2=${apxs}\
--with-openssl --with-xml --with-zlib \
--with-config-file-path=${conf} \
--with-freetype-dir=/usr/local \
--with-gd=/usr/local/src/gd-1.8.4
--with-gettext=/usr/local \
--with-imap=/usr/local/src/imap-2000c \
--with-jpeg-dir=/usr/local \
--with-ldap=/usr/local --with-mysql=/usr/local \
--with-png-dir=/usr/local --with-xpm-dir=/usr/local
...
$ make
...
make[3]: Entering directory
/usr/local/src/php-4.1.1/ext/standard'
/bin/sh /usr/local/src/php-4.1.1/libtool --silent --mode=compile
/usr/local/src/php-4.1.1/meta_ccld -I.
-I/usr/local/src/php-4.1.1/ext/standard -I/usr/local/src/php-4.1.1/main
-I/usr/local/src/php-4.1.1 -I/usr/local/include
-I/usr/local/src/php-4.1.1/Zend -I/usr/local/ssl/include
-I/usr/local/include -I/usr/local/include/freetype2/freetype
-I/usr/local/src/gd-1.8.4/ -I/usr/local/gnu/include
-I/WWWserv/src/imap-2000c/c-client -I/usr/local/ldap/include
-I/usr/local/mysql/include/mysql
-I/usr/local/src/php-4.1.1/ext/xml/expat -I/usr/local/include
-D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-I/usr/local/src/php-4.1.1/TSRM -g -O2 -pthreads -DZTS -prefer-pic -c
dl.c
dl.c:212: conflicting types for `php_dl'
dl.h:26: previous declaration of `php_dl'
make[3]: *** [dl.lo] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15207&edit=1