php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35364 failed for target ext/ldap/ldap.lo
Submitted: 2005-11-24 12:51 UTC Modified: 2005-12-02 01:00 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: amacario at awi-bremerhaven dot de Assigned:
Status: No Feedback Package: LDAP related
PHP Version: 5CVS-2005-11-24 (CVS) OS: Solaris 9
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2005-11-24 12:51 UTC] 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



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-24 16:11 UTC] iliaa@php.net
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


 [2005-12-02 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat May 08 23:01:23 2021 UTC