Bug #55579 [Opn->Wfx]: buildconf fails

[email protected] Sun, 04 Sep 2011 13:21:54 -0400
Newsgroups php.gtk.dev
Message-ID <[email protected]>
Edit report at https://bugs.php.net/bug.php?id=55579&edit=1

 ID:                 55579
 Updated by:         [email protected]
 Reported by:        [email protected]
 Summary:            buildconf fails
-Status:             Open
+Status:             Wont fix
 Type:               Bug
 Package:            PHP-GTK related
 PHP Version:        5.3.8
 Block user comment: N
 Private report:     N

 New Comment:

This is an issue with something that Ubuntu does to php build files -

If you build PHP from source instead of using Ubuntu's build, and then build php-gtk it works perfectly.  We CAN'T just apply the patch to the source proper because then it breaks the build on every other system and regular source builds.

If you're an automake guru and can find a way to fix the patch to work against Ubuntu's PHP build and not break a "virgin" php-gtk build or a build on other system's I'd love that - but so far no one has been able to figure out how to do that.


Previous Comments:
------------------------------------------------------------------------
[2011-09-04 16:07:37] [email protected]

No, I did not try it.

Did it now and it worked! It should probably be applied to src.

This also makes bug #55580 work.

------------------------------------------------------------------------
[2011-09-04 09:54:06] [email protected]

Have you tried applying the patch[1] for the autoconf evil?

[1] http://squirrelshaterobots.com/programming/php-gtk/compiling-php-gtk2-on-ubuntu-10/

------------------------------------------------------------------------
[2011-09-04 08:53:41] [email protected]

Description:
------------
Running ./buildconf from a fresh svn checkout fails.

It's a Ubuntu 11.04 system with php 5.3.5

Actual result:
--------------
cweiske:~/Dev/php.net/php-gtk> ./buildconf
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
rebuilding aclocal.m4
rebuilding configure
configure.in:150: warning: LTOPTIONS_VERSION is m4_require'd but not m4_defun'd
aclocal.m4:2950: LT_INIT is expanded from...
aclocal.m4:2985: AC_PROG_LIBTOOL is expanded from...
configure.in:150: the top level
configure.in:150: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd
configure.in:150: warning: LTVERSION_VERSION is m4_require'd but not m4_defun'd
configure.in:150: warning: LTOBSOLETE_VERSION is m4_require'd but not m4_defun'd
configure:12127: error: possibly undefined macro: m4_ifval
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure:15154: error: possibly undefined macro: _LT_SET_OPTIONS
configure:15154: error: possibly undefined macro: LT_INIT
make[1]: *** [configure] Fehler 1
make: *** [all] Fehler 2



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



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=55579&edit=1