|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-10-24 18:04 UTC] hip at okstate dot edu
Description: ------------ configure fails with the --with-ldap option. Reproduce code: --------------- ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-ldap Actual result: -------------- checking if your cpp allows macro usage in include lines... yes checking for IMAP support... no checking for IMAP Kerberos support... no checking for IMAP SSL support... no checking for Informix support... no checking for InterBase support... no checking for LDAP support... yes checking for LDAP Cyrus SASL support... no ./configure: test: argument expected PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 02 08:00:01 2025 UTC |
Please try with this patch: Index: ext/ldap/config.m4 =================================================================== RCS file: /repository/php-src/ext/ldap/config.m4,v retrieving revision 1.39.2.2 diff -u -p -d -r1.39.2.2 config.m4 --- ext/ldap/config.m4 16 Sep 2005 12:09:17 -0000 1.39.2.2 +++ ext/ldap/config.m4 24 Oct 2005 19:01:09 -0000 @@ -95,7 +95,7 @@ if test "$PHP_LDAP" != "no"; then LDAP_PTHREAD= fi - if test -f $LDAP_LIBDIR/liblber.a -o -f $LDAP_LIBDIR/liblber.$SHLIB_SUFFIX_NAME; then + if test -f $LDAP_LIBDIR/liblber.a || -f $LDAP_LIBDIR/liblber.$SHLIB_SUFFIX_NAME; then PHP_ADD_LIBRARY_WITH_PATH(lber, $LDAP_LIBDIR, LDAP_SHARED_LIBADD) PHP_ADD_LIBRARY_WITH_PATH(ldap, $LDAP_LIBDIR, LDAP_SHARED_LIBADD) Don't forget to run ./buildconf after applying it and follow the usual procedure (./configure .. make.. etc.).