problems installing rc2 with mysql support
| From: | Juan Luis Baptiste M. | Date: | Mon, 15 May 2000 05:55:16 +0000 |
| Subject: | problems installing rc2 with mysql support | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-15021@lists.php.net to get a copy of this message | ||
Hi, I'm trying to install php4 rc2 on a rh 6.2 box with apache 1.3.12,
if Idon't specify to use mysql, to use the bundled support for it, in
the make
install stage I get this errors:
In file included from libmysql.c:11:
global.h:194: warning: redefinition of `uint'
/usr/include/sys/types.h:130: warning: `uint' previously declared here
global.h:195: warning: redefinition of `ushort'
/usr/include/sys/types.h:129: warning: `ushort' previously declared he
re
In file included from libmysql.c:14:
m_string.h:165: parse error before `__extension__'
m_string.h:165: parse error before `&&'
libmysql.c: In function `net_safe_read':
libmysql.c:260: warning: `old_signal_handler' might be used uninitiali
zed in this function
libmysql.c: In function `simple_command':
libmysql.c:389: warning: `old_signal_handler' might be used uninitiali
zed in this function
libmysql.c: In function `read_user_name':
libmysql.c:487: warning: implicit declaration of function `cuserid'
libmysql.c: In function `end_server':
libmysql.c:612: warning: `old_signal_handler' might be used uninitial
zed in this function
libmysql.c: In function `mysql_real_connect':
libmysql.c:1116: warning: `old_signal_handler' might be used uninitia
ized in this function
make[4]: *** [libmysql.lo] Error 1
make[4]: Leaving directory `/root/gzs/php-4.0RC2/ext/mysql/libmysql'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/root/gzs/php-4.0RC2/ext/mysql/libmysql'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/root/gzs/php-4.0RC2/ext/mysql'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/root/gzs/php-4.0RC2/ext'
make: *** [install-recursive] Error 1
the configure line was:
./configure --with-apxs=/usr/sbin/apxs --enable-track-vars
--enable-dmalloc --enable-ftp
So I installed the mysql-devel rpm and it left the header files in
/usr/include/mysql, I added --with-mysql=/usr/include/mysql and run
configure
again but it complains it can't find header files in that directory but
they
are there.
./configure --with-apxs=/usr/sbin/apxs --enable-track-vars
--enable-dmalloc
--enable-ftp --with-mysql=/usr/include/mysql
What can be wrong or what I'm missing?
--
---------------------------------
Juan Luis Baptiste M.
Pontificia Universidad Javeriana
Ingenieria de Sistemas
Linux Registered User #119248
http://www.merlinux.org
"We're back to the times when
men where men and wrote their
own drivers"
Linus Torvalds.
---------------------------------