imap, ldap, kerberos & mysql
| From: | Ing. Philippe Thomassigny | Date: | Tue, 09 Jan 2001 00:53:17 +0000 |
| Subject: | imap, ldap, kerberos & mysql | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-1508@lists.php.net to get a copy of this message | ||
Hi community.
I am trying to install PHP with imap, ldap and mysql.
I have actually a very strange error:
I first compiled --with-imap and --with-ldap.
As well-documented, i had the kerberos error when launching the
httpd
So i add -- with-kerberos.
Everything seems working fine except that compiling the MYSQL
part, y have this error !!!!
If i quit --with-imap, this error disappear
Anybody can help ?
Thanks
The error is:
make[4]: Entering directory `/home/internet/php-
4.0.4/ext/mysql/libmysql'
/bin/sh /home/internet/php-4.0.4/libtool --silent --mode=compile gcc
-I. -I/home/internet/php-4.0.4/ext/mysql/libmysql -I/home/intc
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 `/home/internet/php-
4.0.4/ext/mysql/libmysql'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/internet/php-
4.0.4/ext/mysql/libmysql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/internet/php-4.0.4/ext/mysql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/internet/php-4.0.4/ext'
make: *** [all-recursive] Error 1
[root@ns1 php-4.0.4]#
My config is:
./configure \
--with-ldap \
--with-imap \
--with-kerberos \
--with-gd=/home/internet/gd-1.8.3 \
--with-jpeg-dir=/home/internet/jpeg-6b \
--with-mysql \
--with-oci8 \
--enable-sigchild \
--with-apxs=/usr/sbin/apxs \
--enable-track-vars
without --with-kerberos it compiles fine.
Thanks
MasterPhil
Ing. Philippe Thomassigny C.
Alternativa Digital S.A. de C.V.
Director de Tecnologia
(52) 55 81 10 59 y 55 82 33 51
http://www.adigital.com.mx