#29133 [Bgs->Opn]: MySQL extension config.m4 uses incorrect full path
| From: | jdolecek at NetBSD dot org | Date: | Wed, 14 Jul 2004 12:26:12 +0000 |
| Subject: | #29133 [Bgs->Opn]: MySQL extension config.m4 uses incorrect full path | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62234@lists.php.net to get a copy of this message | ||
ID: 29133
User updated by: jdolecek at NetBSD dot org
Reported By: jdolecek at NetBSD dot org
-Status: Bogus
+Status: Open
Bug Type: Compile Failure
Operating System: NetBSD
PHP Version: 4.3.8
New Comment:
Sorry - I made a mistake with the specified version. Autoconf 2.59 is
used. Automake is version 1.8.
Older automake (1.4) ignores the sinclude() if the specified file
doesn't exist. Newer automake (1.8) exits with error in this case,
however. So, this should be adressed sooner or later.
Previous Comments:
------------------------------------------------------------------------
[2004-07-14 14:00:24] sniper@php.net
autoconf 1.8 is not supported. Use the snapshots from
http://snaps.php.net if you don't have the right tools to
generate
build stuff.
------------------------------------------------------------------------
[2004-07-14 08:29:51] jdolecek at NetBSD dot org
Description:
------------
ext/mysql/config.m4 includes:
sinclude(ext/mysql/libmysql/acinclude.m4)
sinclude(ext/mysql/libmysql/mysql.m4)
sinclude(libmysql/acinclude.m4)
sinclude(libmysql/mysql.m4)
When building this extension separately and phpize
is called in the directory ext/mysql/, the former
two files don't exist and autoconf 1.8 aborts build.
The NetBSD pkgsrc fix to this is:
--- config.m4.orig Mon Jul 14 12:43:51 2003
+++ config.m4 Wed Mar 31 12:02:43 2004
@@ -3,7 +3,5 @@
dnl
-sinclude(ext/mysql/libmysql/acinclude.m4)
-sinclude(ext/mysql/libmysql/mysql.m4)
sinclude(libmysql/acinclude.m4)
sinclude(libmysql/mysql.m4)
Reproduce code:
---------------
Build mysql extension separately from main package
using autoconf 1.8.
Expected result:
----------------
The phpize phase eventually fails with:
aclocal-1.8: cannot open ext/mysql/libmysql/acinclude.m4: No such file
or directory
*** Error code 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29133&edit=1