Bug #18226 Updated: MySQL Engine compile fails
| From: | derick@php.net | Date: | Mon, 08 Jul 2002 12:22:10 +0000 |
| Subject: | Bug #18226 Updated: MySQL Engine compile fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-13514@lists.php.net to get a copy of this message | ||
ID: 18226
Updated by: derick@php.net
Reported By: andreas.blatzheim@gecits-eu.com
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Solaris 2.8
PHP Version: 4.2.1
New Comment:
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the original bug instead.
Thank you for your interest in PHP.
Already submitted as #18222
Previous Comments:
------------------------------------------------------------------------
[2002-07-08 08:14:51] andreas.blatzheim@gecits-eu.com
Enviroment:
INCLUDE_PATH=/usr/include:/opt/GEITSlib/include:/opt/sfw/include
LD_LIBRARY_PATH=/lib:/usr/lib:/opt/GEITSlib/lib:/opt/sfw/lib
LIBRARY_PATH=/lib:/usr/lib:/opt/GEITSlib/lib:/opt/sfw/lib
Compiler:
gcc 2.95 from the SFW (SUN Freeware Package)
Problem:
/bin/sh /export/build/php-4.2.1/libtool --silent --mode=compile gcc
-I. -I/export/build/php-4.2.1/ext/mysql/libmysql
-I/export/build/php-4.2.1/main -I/export/build/php-4.2.1
-I/opt/GEITSwww/include -I/export/build/php-4.2.1/Zend
-I/opt/GEITSlib/include -I/export/build/php-4.2.1/ext/mysql/libmysql
-I/export/build/php-4.2.1/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/export/build/php-4.2.1/TSRM
-DTHREAD=1 -g -O2 -pthreads -DZTS -prefer-pic -c dbug.c
In file included from dbug.c:72:
global.h:256: warning: redefinition of `uint'
/usr/include/sys/types.h:484: warning: `uint' previously declared here
global.h:257: warning: redefinition of `ushort'
/usr/include/sys/types.h:483: warning: `ushort' previously declared
here
global.h:258: warning: redefinition of `ulong'
/usr/include/sys/types.h:485: warning: `ulong' previously declared
here
In file included from dbug.c:72:
global.h:590: warning: redefinition of `ulong'
global.h:258: warning: `ulong' previously declared here
dbug.c:180: warning: static declaration for `perror' follows
non-static
dbug.c: In function `perror':
dbug.c:1907: argument `s' doesn't match prototype
dbug.c:180: prototype declaration
*** Error code 1
make: Fatal error: Command failed for target `dbug.lo'
Current working directory /export/build/php-4.2.1/ext/mysql/libmysql
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
bash-2.03#
This is one of several error that occure when you set the --with-mysql
option during the compile.
Configure Options:
./configure --prefix=/opt/GEITSphp --with-apxs2=/opt/GEITSwww/bin/apxs
--with-zlib=/opt/GEITSlib --with-ldap=/opt/GEITSlib --with-mysql
--with-ssl=/opt/GEITSlib --with-memory-limit --enable-trans-sid
In addition I've tried to enable my owen MySQL Libs by setting a path
Additional Options and result:
checking base type of last arg to accept... socklen_t
checking return type of qsort... void
configure: error: Cannot find header files under
/opt/GEITSql/lib/mysql
bash-2.03#
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18226&edit=1