#35364 [Opn->Fbk]: failed for target ext/ldap/ldap.lo
| From: | iliaa@php.net | Date: | Thu, 24 Nov 2005 15:11:01 +0000 |
| Subject: | #35364 [Opn->Fbk]: failed for target ext/ldap/ldap.lo | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-88851@lists.php.net to get a copy of this message | ||
ID: 35364
Updated by: iliaa@php.net
Reported By: amacario at awi-bremerhaven dot de
-Status: Open
+Status: Feedback
Bug Type: LDAP related
Operating System: Solaris 9
PHP Version: 5CVS-2005-11-24 (CVS)
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2005-11-24 12:51:46] amacario at awi-bremerhaven dot de
Description:
------------
when trying to compile php 5.04 with the option --with-ldap pointing to
SUNOne LDAP SDK in C 5.08, i encounter the following problem:
/soft/packages/php-5.0.4/ext/ldap/ldap.c -o ext/ldap/ldap.lo
/soft/packages/php-5.0.4/ext/ldap/ldap.c: In function `zm_info_ldap':
/soft/packages/php-5.0.4/ext/ldap/ldap.c:300: error: `LDAPVersion'
undeclared (first use in this function)
/soft/packages/php-5.0.4/ext/ldap/ldap.c:300: error: (Each undeclared
identifier is reported only once
/soft/packages/php-5.0.4/ext/ldap/ldap.c:300: error: for each function
it appears in.)
/soft/packages/php-5.0.4/ext/ldap/ldap.c:300: error: parse error before
"ver"
/soft/packages/php-5.0.4/ext/ldap/ldap.c:330: error: `ver' undeclared
(first use in this function)
/soft/packages/php-5.0.4/ext/ldap/ldap.c:340: error:
`LDAP_SECURITY_NONE' undeclared (first use in this function)
*** Error code 1
make: Fatal error: Command failed for target `ext/ldap/ldap.lo'
i have used the following config command:
/configure --prefix=/usr/local/php-5.0.4
--with-apxs2=/usr/local/projects/web/httpd-2.0.54/bin/apxs --with-my
sql=/usr/local/mysql-standard-4.1.10a-sun-solaris2.9-sparc
--enable-ldap --enable-auth-ldap --with-ldap=/soft/
packages/ldap-stuff/ldapcsdk-5.08 --with-sybase-ct=/opt/csw
--enable-proxy --with-libxml-dir=/opt/csw --enable
-shared --enable-pcntl --enable-ftp --enable-versioning
--enable-session --enable-trans-sid --with-zlib=/opt/c
sw --enable-mbstring=all --with-openssl=/opt/csw --with-gd
--with-png-dir=/opt/csw --with-jpeg-dir=/opt/csw --
with-ttf=/opt/csw --with-iconv=/opt/csw --with-iconv-dir=/opt/csw
--with-xsl=/opt/csw --enable-soap --without-
sqlite --enable-exif --with-curl=/opt/csw --with-curlwrappers
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35364&edit=1