#35364 [NEW]: failed for target ext/ldap/ldap.lo
| From: | amacario at awi-bremerhaven dot de | Date: | Thu, 24 Nov 2005 11:51:48 +0000 |
| Subject: | #35364 [NEW]: failed for target ext/ldap/ldap.lo | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-88836@lists.php.net to get a copy of this message | ||
From: amacario at awi-bremerhaven dot de
Operating system: Solaris 9
PHP version: 5CVS-2005-11-24 (CVS)
PHP Bug Type: *Compile Issues
Bug description: failed for target ext/ldap/ldap.lo
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 bug report at http://bugs.php.net/?id=35364&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35364&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35364&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35364&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=35364&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35364&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35364&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35364&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35364&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35364&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35364&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=35364&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=35364&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35364&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35364&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35364&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35364&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35364&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35364&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35364&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35364&r=mysqlcfg