Saludos Jorge,

I tried a couple of hours to compile PHP with NSLDAP and even started to
chnage source code a little bit - all to no avail - the compilation
errors wouldn't go away.

Then I switched to OpenLDAP from www.openldap.org - it compiled
immediately without any error at all and provides all functionality.

regards

alfred

Jorge Izquierdo wrote:
> 
> Hello, that´s my first mail in this list. I have a problem triying to
> install PHP on my computer. I´ve configured PHP for a installation
> compatible with LDAP with the following instruction:
> 
> ./configure --with-apache=../apache_1.3.17
> --with-imap=/var/tmp/src/imap/imap-2000c
> --with-ldap=/usr/netscape/server4
> 
> And when I try to compile with make it gives me next error:
> 
> make[3]: Entering directory `/usr/local/php-4.0.3pl1/ext/ldap'
> gcc  -I. -I/usr/local/php-4.0.3pl1/ext/ldap -I/usr/local/php-4.0.3pl1
> -I/usr/local/php-4.0.3pl1/main -I/usr/local/apache_1.3.17/src/include
> -I/usr/local/apache_1.3.17/src/os/unix -I/usr/local/php-4.0.3pl1/Zend
> -I/usr/local/php-4.0.3pl1 -I/var/tmp/src/imap/imap-2000c/include
> -I/usr/local/php-4.0.3pl1/ext/mysql/libmysql
> -I/usr/local/php-4.0.3pl1/ext/xml/expat/xmltok
> -I/usr/local/php-4.0.3pl1/ext/xml/expat/xmlparse
> -I/usr/local/php-4.0.3pl1/TSRM  -D_POSIX_PTHREAD_SEMANTICS
> -DXML_BYTE_ORDER=21 -g -O2  -c ldap.c && touch ldap.lo
> ldap.c: In function `php_info_ldap':
> ldap.c:184: `LDAPVersion' undeclared (first use in this function)
> ldap.c:184: (Each undeclared identifier is reported only once
> ldap.c:184: for each function it appears in.)
> ldap.c:184: parse error before `ver'
> ldap.c:192: `ver' undeclared (first use in this function)
> ldap.c:224: `LDAP_SECURITY_NONE' undeclared (first use in this function)
> make[3]: *** [ldap.lo] Error 1
> make[3]: Leaving directory `/usr/local/php-4.0.3pl1/ext/ldap'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/php-4.0.3pl1/ext/ldap'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/php-4.0.3pl1/ext'
> make: *** [all-recursive] Error 1
> 
> Has anybody installed sucesfully PHP with this configuration? What could
> be my error?
> 
> Thanks for your attention
> 
> Jorge

-- 

-- 
         \\\\\///
        / ^   _ \
       ( (o) (o) )                 --- That's all folks ---
+=oOOO=====(_)=====OOOo==========================================+
|Alfred Lerch                    Mentor Graphics Deutschland GmbH|
|Network & System Administrator          Elsenheimer Str. 41 - 43|
|IT - Business Support Team Munich      D-80687 Muenchen, Germany|
|email: [EMAIL PROTECTED]           Fax  : +49 89 57096-400|
|Tel. : +49 89 57096-241                  Mobile: +49 172 8915200|
|                                                                |
|Helpdesk IT Central Europe in Munich                            |
|Tel. : +49 89 57096-110                  internal:           777|
|email: [EMAIL PROTECTED]                                  |
+=============Oooo.==============================================+
      .oooO   (   )
      (   )    ) /   
       \ (    (_/
        \_)

--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to