#29133 [NEW]: MySQL extension config.m4 uses incorrect full path
| From: | jdolecek at NetBSD dot org | Date: | Wed, 14 Jul 2004 06:29:53 +0000 |
| Subject: | #29133 [NEW]: MySQL extension config.m4 uses incorrect full path | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-62191@lists.php.net to get a copy of this message | ||
From: jdolecek at NetBSD dot org
Operating system: NetBSD
PHP version: 4.3.8
PHP Bug Type: Compile Failure
Bug description: MySQL extension config.m4 uses incorrect full path
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 bug report at http://bugs.php.net/?id=29133&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29133&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29133&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=29133&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29133&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29133&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29133&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29133&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29133&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29133&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29133&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29133&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29133&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29133&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29133&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29133&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29133&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29133&r=float