Hi, I set up a Lamp system the other day, tested it for a bit and all seemed to be ok. I compiled ldap with ./configure --with-mysql --with-apxs Now I wanted to include ldap-functions in php, so I download Netsape-ldap-SDK-3.0 and tried to compile php a second time. The command I used: ./configure --with-mysql --with-ldap --with-apxs configure goes through it all without any obvious errors make fails at make[4]: Entering directory `/usr/local/php-4.0.4pl1/ext/mysql/libmysql' /bin/sh /usr/local/php-4.0.4pl1/libtool --silent --mode=compile gcc -I. -I/usr/local/php-4.0.4pl1/ext/mysql/libmysql -I/usr/local/php-4.0.4pl1/main -I/usr/local/php-4.0.4pl1 -I/usr/local/apache/include -I/usr/local/php-4.0.4pl1/Zend -I/usr/local/include -I/usr/local/php-4.0.4pl1/ext/mysql/libmysql -I/usr/local/php-4.0.4pl1/ext/xml/expat/xmltok -I/usr/local/php-4.0.4pl1/ext/xml/expat/xmlparse -I/usr/local/php-4.0.4pl1/TSRM -DLINUX=2 -DMOD_SSL=207101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -DXML_BYTE_ORDER=12 -g -O2 -c libmysql.c In file included from libmysql.c:9: global.h:228: warning: redefinition of `uint' /usr/include/sys/types.h:130: warning: `uint' previously declared here global.h:229: warning: redefinition of `ushort' /usr/include/sys/types.h:129: warning: `ushort' previously declared here In file included from libmysql.c:12: m_string.h:180: parse error before `__extension__' m_string.h:180: parse error before `&&' make[4]: *** [libmysql.lo] Error 1 make[4]: Leaving directory `/usr/local/php-4.0.4pl1/ext/mysql/libmysql' make[3]: *** [all-recursive] Error 1 At a closer look I see all weird stuff in the configure output. I am dead sure "char" ain't zero byte on my system! And I think I remember having seen something like fcntl.h in my include dirs. Configuring extensions ... checking for Java support... no checking whether to include LDAP support... yes checking for MCAL support... no checking for mcrypt support... no checking for mhash support... no checking for mSQL support... no checking for MySQL support... yes checking for MySQL UNIX socket... /var/lib/mysql/mysql.sock ... checking for alloca.h... (cached) yes checking size of char... 0 checking size of int... (cached) 4 checking size of long... (cached) 4 checking size of long long... 0 checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for uid_t in sys/types.h... (cached) yes checking for type ulong... no checking for type uchar... no checking for type uint... no checking base type of last arg to accept... socklen_t checking return type of qsort... void checking for alarm... no checking for bmove... no checking for chsize... no checking for ftruncate... no checking for rint... no checking for finite... no checking for fpsetmask... no checking for fpresetsticky... no checking for cuserid... (cached) yes checking for fcntl... no Some sysinfo: glibc-2.1.2-18 glibc-devel-2.1.2-18 kernel version 2.2.16-12 gcc version 2.95.2 19991024 (release) NETSCAPE DIRECTORY SDK 3.0 FOR C php-4.0.4pl1 MySQL-3.23.30-1 apache_1.3.14 Any ideas ? Thanks in advance Christoph Bauer -- 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]