PHP 4.0 Bug #8900: make error in mysql make section
| From: | toger at e-laser dot fr | Date: | Thu, 25 Jan 2001 11:54:37 +0000 |
| Subject: | PHP 4.0 Bug #8900: make error in mysql make section | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-44969@lists.php.net to get a copy of this message | ||
From: toger@e-laser.fr
Operating system: AIX 4.3.3
PHP version: 4.0.4pl1
PHP Bug Type: Compile Problem
Bug description: make error in mysql make section
Hi,
I m running AIX 4.3.3 and would like to compile Apache 1.3.14 + php4 + oci support for oracle8.1.5.
i have some problem in the mysql section :
#./configure --with-apache=../apache_1.3.14 --enable-track-vars --with-oci8=/home/oracle8/OraHome1
--with-mod_charset --with-force-cgi-redirect --enable-session --enable-sockets --enable-yp
--enable-versionning --enable-trans-sid --with-imap=../imap --with-ldap=../openldap-1.2.11
--enable-sigchild
...
everything is good, just somethin in debug.log :
--
[root@calypso]:/applis/compil/php-4.0.4pl1 \>vi debug.log
"debug.log" 16 lines, 1444 characters
CONFIGURE: './configure' '--with-apache=../apache_1.3.14'
'--enable-track-vars' '--with-oci8=/home/oracle8/OraHom
e1' '--with-mod_charset' '--with-force-cgi-redirect'
'--enable-session' '--enable-sockets' '--enable-yp' '--enable-
versionning' '--enable-trans-sid' '--with-imap=../imap'
'--with-ldap=../openldap-1.2.11' '--enable-sigchild'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS:
CXX:
CXXFLAGS:
INCLUDES: -I/applis/compil/apache_1.3.14/src/include -I/applis/compil/apache_1.3.14/src/os/unix
-I$(top_builddi
r)/Zend -I/applis/compil/imap/c-client -I/applis/compil/openldap-1.2.11/include
-I/applis/compil/php-4.0.4pl1/ext/m
ysql/libmysql -I/home/oracle8/OraHome1/rdbms/demo -I/home/oracle8/OraHome1/network/public
-I/home/oracle8/OraHome1/
plsql/public
LDFLAGS: -L/applis/compil/imap/c-client -L/applis/compil/imap/c-client
-L/home/oracle8/OraHome1/lib -L/home/ora
cle8/OraHome1/lib
LIBS: -lclntsh -lpsa -lcore4 -lnlsrtl3 -lld -lbsd_r -lsvld -lm -lodm -lbind -lm -ldl -lcrypt
DLIBS: -lc-client
SAPI: apache
PHP_RPATHS: /applis/compil/imap/c-client /home/oracle8/OraHome1/lib
uname -a: AIX calypso 3 4 0041704A4C00
gcc -o conftest -g -O2 -L/applis/compil/imap/c-client -L/applis/compil/imap/c-client
-L/home/oracle8/OraHome1/lib
-L/home/oracle8/OraHome1/lib conftest.c -lclntsh -lpsa -lcore4 -lnlsrtl3 -lld -lbsd_r -lsvld -lm
-lodm -lbind -lm
-ldl -lcrypt 1>&5
collect2: Library libcore4 not found
----
# make
..
Making all in mysql
Making all in libmysql
gcc -I. -I/applis/compil/php-4.0.4pl1/ext/mysql/libmysql -I/applis/compil/php-4.0.4pl1/main
-I/applis/compil/php-4.0.4pl1 -I/applis/compil/apache_1.3.14/src/include
-I/applis/compil/apache_1.3.14/src/os/unix -I/applis/compil/php-4.0.4pl1/Zend
-I/applis/compil/imap/c-client -I/applis/compil/openldap-1.2.11/include
-I/applis/compil/php-4.0.4pl1/ext/mysql/libmysql -I/home/oracle8/OraHome1/rdbms/demo
-I/home/oracle8/OraHome1/network/public -I/home/oracle8/OraHome1/plsql/public
-I/applis/compil/php-4.0.4pl1/ext/xml/expat/xmltok
-I/applis/compil/php-4.0.4pl1/ext/xml/expat/xmlparse -I/applis/compil/php-4.0.4pl1/TSRM
-DXML_BYTE_ORDER=21 -O2 -c libmysql.c && touch libmysql.lo
In file included from libmysql.c:9:
global.h:525: conflicting types for `int8'
/usr/include/sys/inttypes.h:622: previous declaration of `int8'
global.h:526: warning: redefinition of `int16'
/usr/include/sys/inttypes.h:623: warning: `int16' previously declared here
global.h:536: warning: redefinition of `int32'
/usr/include/sys/inttypes.h:624: warning: `int32' previously declared here
libmysql.c: In function `connect2':
libmysql.c:179: warning: passing arg 5 of `getsockopt' from incompatible pointer type
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
----
I installed mysql :
freeware.mysql.client.rte
freeware.mysql.rte 3.23.27.0 COMMITTED MySQL SQL database server
freeware.mysql.rte 3.23.27.0 COMMITTED MySQL SQL database server
If someone could help me.
Tanks in advance.
Tony
--
Edit Bug report at: http://bugs.php.net/?id=8900&edit=1