Bug #17072 Updated: Compilation aborts while compiling ext/mysql/libmysql/libmysql.c
| From: | sniper@php.net | Date: | Sun, 07 Jul 2002 00:36:30 +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-13343@lists.php.net to get a copy of this message | ||
ID: 17072
Updated by: sniper@php.net
Reported By: kolmann@zid.tuwien.ac.at
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: AIX
PHP Version: 4.2.0
New Comment:
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a
documentation
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2002-06-30 07:29:40] derick@php.net
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
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
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