PHP 4.0 Bug #6777 Updated: connfigure aborts probably because of emtpt LDAP_PTHREAD

From: Date: Sat, 14 Oct 2000 19:54:19 +0000
Subject: PHP 4.0 Bug #6777 Updated: connfigure aborts probably because of emtpt LDAP_PTHREAD
Groups: php.dev 
Request: Send a blank email to php-dev+get-35012@lists.php.net to get a copy of this message
ID: 6777 User Update by: Wolfram.Schmidt@iao.fhg.de Old-Status: Closed Status: Open Bug Type: *Install and Config Description: connfigure aborts probably because of emtpt LDAP_PTHREAD Problem still exists in 4.0.3 Applying the patch sent to me by Jani for Version 4.0.2 and running buildconf fixes the problem. Index: acinclude.m4 =================================================================== RCS file: /repository/php4/acinclude.m4,v retrieving revision 1.103 diff -u -r1.103 acinclude.m4 --- acinclude.m4 2000/09/11 15:25:06 1.103 +++ acinclude.m4 2000/09/17 22:32:13 @@ -535,7 +535,9 @@ ]) AC_DEFUN(PHP_X_ADD_LIBRARY,[ - ifelse($2,,$3="-l$1 [$]$3", $3="[$]$3 -l$1") + if test -n "$1"; then + ifelse($2,,$3="-l$1 [$]$3", $3="[$]$3 -l$1") + fi ]) dnl Previous Comments: --------------------------------------------------------------------------- [2000-09-29 08:55:48] sniper@php.net Fixed in CVS. --Jani --------------------------------------------------------------------------- [2000-09-16 14:02:42] Wolfram.Schmidt@iao.fhg.de Since I wasn't able to solve the link failiures with Sun C 5.0 I switched to gcc 2.95.2. Now configure aborts with: checking whether to include zlib support... yes checking for gzgets in -lz... no configure: error: Zlib module requires zlib >= 1.0.9. I have installed zlib 1.1.3 Looking in config.log other test that sould succeed also failed. The reason is that LIBS contains "-l -lint". My research so far: --with-ldap fails --with-ldap=/usr/local fails --with-ldap=/usr/local/netscape-ldapsdk30 fails omitting --with-ldap leads to success. But I want LDAP... --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6777

« previous php.dev (#35012) next »