ID:               29133
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jdolecek at NetBSD dot org
-Status:           Open
+Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: NetBSD
 PHP Version:      4.3.8
 New Comment:

We'll address it when we start generating the distribution packages
with the newer tools. Which won't happen anytime soon since the new
tools are buggy.



Previous Comments:
------------------------------------------------------------------------

[2004-07-14 14:26:11] jdolecek at NetBSD dot org

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.

------------------------------------------------------------------------

[2004-07-14 14:00:24] [EMAIL PROTECTED]

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

Reply via email to