Justtechjobs.com Find a programming school near you






Online Campus Both


php-developer-list | 2000101

[PHP-DEV] PHP 4.0 Bug #6777 Updated: connfigure aborts probably because of emtpt LDAP_PTHREAD From: Bug Database (php-dev <email protected>)
Date: 10/14/00

ID: 6777
User Update by: Wolfram.Schmidt <email protected>
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 <email protected>
Fixed in CVS.

--Jani

---------------------------------------------------------------------------

[2000-09-16 14:02:42] Wolfram.Schmidt <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>