I appear to be having problems with my PHP compile ldap linkage... First run through with my compile, I see two errors:
====1) In making zend.... "zend_extensions.c", line 33.16: 1506-068 (W) Operation between types "void*" and "int" is not allowed. == but everything completes and goes on....further on: Target "all" is up to date. =====2) but ldap fails Making all in ldap /bin/sh /usr/php/php-4.2.1/libtool --silent --mode=compile cc -I. -I/usr/php/php-4.2.1/ext/ldap -I/usr/php/php-4.2.1/m ain -I/usr/php/php-4.2.1 -I/usr/HTTPServer/include -I/usr/php/php-4.2.1/Zend -I/usr/ldap/include -I/usr/php/php-4.2.1/ext/mysql /libmysql -I/usr/php/php-4.2.1/ext/xml/expat -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE _EXPAT -DNO_DL_NEEDED -I/usr/php/php-4.2.1/TSRM -g -prefer-pic -c ldap.c "ldap.c", line 216.9: 1506-045 (S) Undeclared identifier LDAP_OPT_RESTART. "ldap.c", line 1620.14: 1506-045 (S) Undeclared identifier LDAP_OPT_RESTART. "ldap.c", line 1620.14: 1506-051 (S) Case expression must be a valid integral constant. "ldap.c", line 1715.14: 1506-045 (S) Undeclared identifier LDAP_OPT_RESTART. "ldap.c", line 1715.14: 1506-051 (S) Case expression must be a valid integral constant. "ldap.c", line 1719.29: 1506-068 (W) Operation between types "void*" and "int" is not allowed. make: 1254-004 The error code from the last command is 1. Stop. So I look in /usr/ldap/include and grep LDAP_OPT_RESTART * and find nothing. So I have perhaps a bigger question....what ldap is being expected in this build? The LDAP configure options don't mention any qualification as to what ldap is expected. "--with-ldap[=DIR] Include LDAP support. DIR is the LDAP base install directory." My configure string was: ./configure --with-apxs=/usr/HTTPServer/bin/apxs --with-ldap=/usr/ldap I have a working LDAP server....which serves emaill addresses to IMAP clients just fine and to which our developer can bind and work data from a previously setup Sun machine. The environment I'm working to install PHP on is an IBM RS/6000 running AIX5.1L. The webserving SW is IBM's rebranded (to HTTPServer) Apache V1.3.19. The LDAP is IBM's SecureWay....but that's just the name....it's actually slapd underneath everything. I would really, really, like to have IBM own the HTTP and Apache (be responsible for generating updates, etc) and only own PHP....rather than compiling everything and being responsible for all the updates, security, etc. So, what gives? Am I right in assuming that the compile is missing some includes that another LDAP has? What is the other (unspecified) LDAP? Help. === Stewart Dean, Unix System Admin, Henderson Computer Resources Center of Bard College, Annandale-on-Hudson, New York 12504 [EMAIL PROTECTED] voice: 845-758-7475, fax: 845-758-7035 -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php