Bug #1145 Updated: Ypu cannot compile with --with-ldap using the Solaris7 bundled ldap-libs/header
| From: | sander@php.net | Date: | Sun, 16 Jun 2002 12:28:33 +0000 |
| Subject: | Bug #1145 Updated: Ypu cannot compile with --with-ldap using the Solaris7 bundled ldap-libs/header | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-10611@lists.php.net to get a copy of this message | ||
ID: 1145
Updated by: sander@php.net
Reported By: rk@netuse.de
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Solaris 7 (sparc)
PHP Version: 3.0.6
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately, PHP 3 is no longer supported. Please download
the latest version of PHP 4 from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Previous Comments:
------------------------------------------------------------------------
[2000-07-19 12:36:53] hholzgra@cvs.php.net
yes, it is ... :(
------------------------------------------------------------------------
[1999-12-13 15:53:55] joey@cvs.php.net
Is this bug still there?
------------------------------------------------------------------------
[1999-02-13 18:06:46] rk@netuse.de
Solaris 7 (SunOS 5.7) comes with ldap-libs (libldap.so) and
the needed headers (ldap.h, lber.h) in /usr/lib and /usr/include.
So using --with-ldap should work fine. BUT:
$ gcc --version
egcs-2.91.57
$ make
gcc -g -O2 -O2 -I. -I. -I/opt/mysql/include/mysql
-I/usr/local/ldap/include
-I/home/rk/sendmail/imap-4.5.BETA/c-client/include/ -c
functions/ldap.c -o functions/ldap.o
functions/ldap.c: In function `php3_ldap_bind':
functions/ldap.c:534: dereferencing pointer to incomplete type
functions/ldap.c: In function `php3_ldap_do_search':
functions/ldap.c:650: dereferencing pointer to incomplete type
functions/ldap.c: In function `php3_ldap_get_values':
functions/ldap.c:1027: dereferencing pointer to incomplete type
*** Error code 1
make: Fatal error: Command failed for target `functions/ldap.o'
I also do not have a /usr/local/ldap/include !
Somehow the error looks like the one you get, if you try
to compile sendmail-8.9.1 with MAPLDAP support.
In sendmail 8.9.2 things in the maps.c (sendmail tree)
have changed, so that this works now. As far as I understand
that has to do with the right settings of sone #define
values. You may diff those two trees ?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=1145&edit=1