ID: 34970 User updated by: hip at okstate dot edu Reported By: hip at okstate dot edu -Status: Feedback +Status: Closed Bug Type: *Compile Issues Operating System: Solaris 10 PHP Version: 5CVS-2005-10-24 (CVS) New Comment:
Patch fixed the configuration problem. Previous Comments: ------------------------------------------------------------------------ [2005-10-24 21:02:27] [EMAIL PROTECTED] 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.). ------------------------------------------------------------------------ [2005-10-24 18:23:33] hip at okstate dot edu config.log at http://www.cs.okstate.edu/~hip/config.log ------------------------------------------------------------------------ [2005-10-24 18:12:52] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Please upload your config.log file somewhere and provide a link here. ------------------------------------------------------------------------ [2005-10-24 18:04:03] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34970&edit=1