From: [EMAIL PROTECTED] Operating system: Solaris 8 PHP version: 4.3.0RC2 PHP Bug Type: LDAP related Bug description: will not compile with iplant ldap
Tried to compile with iplanet ldap 5.0.sp1 server. Config runs OK Compile does not. (config command line entries ) ./configure --with-apxs2=/www2/bin/apxs --with-gettext --with-xml --enable-ftp --with-mhash --with-gdbm --enable-bcmath --with-mysql --with-ldap=/usr/iplanet/servers/plugins/slapd/slapi --with-zlib --with-ndbm --enable-calendar --with-imap=/export/home/imiller/imap-2002 --with-openssl=/usr/local/ssl --with-mcrypt (Config section of ldap) checking for iconv support... no checking for IMAP support... yes checking for pam_start in -lpam... yes checking for crypt in -lcrypt... (cached) yes checking whether SSL libraries are needed for c-client... no checking whether IMAP works... yes checking for Informix support... no checking for Ingres II support... no checking for InterBase support... no checking for IRCG support... no checking for Java support... no checking for LDAP support... yes checking for 3 arg ldap_set_rebind_proc... yes checking for ldap_parse_reference... no checking for ldap_start_tls_s... no checking whether to enable multibyte string support... no checking whether to enable multibyte regex support... no checking for MCAL support... no checking for mcrypt support... yes checking for mcrypt_module_open in -lmcrypt... yes checking for mcrypt_generic_deinit in -lmcrypt... yes checking for MCVE support... no checking for mhash support... yes checking whether to enable mime_magic support... no (Compile section) cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory /bin/ksh libtool --silent --mode=compile gcc -Iext/imap/ -I/export/home/imiller/php-4.3.0RC2/ext/imap/ -DPHP_ATOM_INC -I/export/home/imiller/php-4.3.0RC2/include -I/export/home/imiller/php-4.3.0RC2/main -I/export/home/imiller/php-4.3.0RC2 -I/www2/include -I/export/home/imiller/php-4.3.0RC2/Zend -I/usr/local/ssl/include -I/usr/local/include -I/export/home/imiller/imap-2002/c-client -I/usr/iplanet/servers/plugins/slapd/slapi/include -I/export/home/imiller/php-4.3.0RC2/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS -I/export/home/imiller/php-4.3.0RC2/TSRM -g -O2 -prefer-pic -c /export/home/imiller/php-4.3.0RC2/ext/imap/php_imap.c -o ext/imap/php_imap.lo cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory /bin/ksh libtool --silent --mode=compile gcc -Iext/ldap/ -I/export/home/imiller/php-4.3.0RC2/ext/ldap/ -DPHP_ATOM_INC -I/export/home/imiller/php-4.3.0RC2/include -I/export/home/imiller/php-4.3.0RC2/main -I/export/home/imiller/php-4.3.0RC2 -I/www2/include -I/export/home/imiller/php-4.3.0RC2/Zend -I/usr/local/ssl/include -I/usr/local/include -I/export/home/imiller/imap-2002/c-client -I/usr/iplanet/servers/plugins/slapd/slapi/include -I/export/home/imiller/php-4.3.0RC2/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS -I/export/home/imiller/php-4.3.0RC2/TSRM -g -O2 -prefer-pic -c /export/home/imiller/php-4.3.0RC2/ext/ldap/ldap.c -o ext/ldap/ldap.lo cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory /export/home/imiller/php-4.3.0RC2/ext/ldap/ldap.c: In function `zif_ldap_set_rebind_proc': /export/home/imiller/php-4.3.0RC2/ext/ldap/ldap.c:2062: too many arguments to function `ldap_set_rebind_proc' /export/home/imiller/php-4.3.0RC2/ext/ldap/ldap.c:2077: warning: passing arg 2 of `ldap_set_rebind_proc' from incompatible pointer type /export/home/imiller/php-4.3.0RC2/ext/ldap/ldap.c:2077: too many arguments to function `ldap_set_rebind_proc' make: *** [ext/ldap/ldap.lo] Error 1 bash-2.05# -- Edit bug report at http://bugs.php.net/?id=20773&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20773&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20773&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20773&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20773&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20773&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20773&r=support Expected behavior: http://bugs.php.net/fix.php?id=20773&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20773&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20773&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20773&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20773&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20773&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20773&r=isapi