Bug #17072 Updated: Compilation aborts while compiling ext/mysql/libmysql/libmysql.c
| From: | derick@php.net | Date: | Sun, 30 Jun 2002 11:29:41 +0000 |
| Subject: | Bug #17072 Updated: Compilation aborts while compiling ext/mysql/libmysql/libmysql.c | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-12583@lists.php.net to get a copy of this message | ||
ID: 17072
Updated by: derick@php.net
Reported By: kolmann@zid.tuwien.ac.at
-Status: Closed
+Status: Open
Bug Type: Compile Failure
Operating System: AIX
PHP Version: 4.2.0
New Comment:
I have the same problem on Solaris/intel with the latest DEV version as
reported in "[21 Jun 2:01am] kolmann@zid.tuwien.ac.at"
I don't have the mysql libs installed, and thus use the bundled libs.
SOmething with the include paths is wrong, as mysql.h is in
ext/mysql/libmysql. Chaching line 65 in php_mysql.h to include
"libmysql/mysql.h" doesn't fix it either, as I then get errors for not
finding other include files.
reopening
Previous Comments:
------------------------------------------------------------------------
[2002-06-29 23:30:50] sniper@php.net
Just tested the latest (from today) snapshot on AIX 4.3.3
and it compiles without any errors in libmysql.
------------------------------------------------------------------------
[2002-06-25 01:46:07] kolmann@zid.tuwien.ac.at
root@mail:~# ./configure --prefix=/pd/PGphp4
--with-config-file=/opt/PGphp4/lib --with-apxs=/pd/AGapache/bin/apxs
------------------------------------------------------------------------
[2002-06-24 19:48:38] sniper@php.net
What exactly was the configure line used to configure PHP?
------------------------------------------------------------------------
[2002-06-21 02:01:45] kolmann@zid.tuwien.ac.at
Hi,
just tried your snapshot:
It seems that it makes quite a trouble, that I have no mysql installed
native on the machine.
I can't get the mysql modules to compile:
gcc can't find <mysql.h> and breaks in ext/mysql/php_mysql.c:65
/bin/sh libtool --silent --mode=compile gcc -Iext/mysql/
-I/u/pkolmann/test/php4-200206202100/ext/mysql/ -DPHP_ATOM_INC
-I/u/pkolmann/test/php4-200206202100/include
-I/u/pkolmann/test/php4-200206202100/main
-I/u/pkolmann/test/php4-200206202100
-I/u/pkolmann/test/php4-200206202100/Zend
-I/u/pkolmann/test/php4-200206202100/ext/xml/expat -DAIX=43
-DUSE_PTHREAD_SERIALIZED_ACCEPT -DAIX_BIND_PROCESSOR -DMOD_SSL=208107
-DUSE_HSREGEX -DEAPI -DUSE_EXPAT
-I/u/pkolmann/test/php4-200206202100/TSRM -O2 -prefer-pic -c
/u/pkolmann/test/php4-200206202100/ext/mysql/php_mysql.c -o
ext/mysql/php_mysql.lo
/u/pkolmann/test/php4-200206202100/ext/mysql/php_mysql.c:65: mysql.h:
No such file or directory
make: *** [ext/mysql/php_mysql.lo] Error 1
if I changee this line to include "libmysql/mysql.h" it compiles, but
then hangs during the compilation of the libmysql dir.
Thanks so far
Kind Regards
Philipp Kolmann
------------------------------------------------------------------------
[2002-06-20 19:01:47] sniper@php.net
Try this snapshot:
http://snaps.php.net/php4-latest.tar.gz
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/17072
--
Edit this bug report at http://bugs.php.net/?id=17072&edit=1