Re: #29220 [NEW]: buildconf is broken
| From: | (PHPDiscuss - PHP Newsgroups and mailing lists) | Date: | Thu, 03 Feb 2005 15:59:25 +0000 |
| Subject: | Re: #29220 [NEW]: buildconf is broken | ||
| References: | 1 2 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-911@lists.php.net to get a copy of this message | ||
Phpdiscuss - Php Newsgroups And Mailing Lists wrote:
I am also seeing the same errors trying to build pdflib
under php-5.0.3 on a solaris9 box that should also be current
with automake, autoconf, libtool and m4. Has anyone found a
resolution for this?
> Mastereuclid At Hotmail Dot Com wrote:
> > From: MasterEuclid at hotmail dot com
> > Operating system: linux
> > PHP version: Irrelevant
> > PHP Bug Type: PHP-GTK related
> > Bug description: buildconf is broken
> I am having a similar problem with trying to install pdflib.
> I am on a Solaris9 box using what should be current
> builds of autoconf, automake, libtool and m4. I was
> able to get past the stage you are at by installing libtool, but
> then I got stuck by the macro expansion of AC_PROG_LIBTOOL.
> Getting this error:
> configure.in:32: warning: underquoted definition of PHP_EXT_BUILDDIR
> configure.in:33: warning: underquoted definition of PHP_EXT_DIR
> configure.in:34: warning: underquoted definition of PHP_EXT_SRCDIR
> configure.in:35: warning: underquoted definition of PHP_ALWAYS_SHARED
> acinclude.m4:19: warning: underquoted definition of PHP_PROG_RE2C
> configure.in:65: /usr/local/bin/m4: ERROR: Reading inserted file: No such
> file or
> directory
> autom4te: /usr/local/bin/m4 failed with exit status: 1
> aclocal: autom4te failed with exit status: 1
> Unfortunately, I am not familiar with autoconf/m4 and am completely stuck
> on this as well. I wish it would tell me what file it thinks its trying
> to read. That would give me someplace to start. I have been playing
> around getting debugging and verbose output going, but still nothing
> obvious telling me where the problem is. I expect that I will have to get
> much more familiar with m4 to figure out whats going on.
> > Description:
> > ------------
> > I have tried moving files around, starting over, getting
> > the lastest automake and auto-conf I have
> > tried ./buildconf aclocal and phpize in many different
> > orders, I have used both php_gtk_new.m4 and php_gtk_old.m4
> > as php_gtk.m4 both produce the same result I have
> > installed GTK 1.6 and 1.9, I can not get ./buildconf to
> > work
> > Expected result:
> > ----------------
> > ../buildconf makes the configure files, I am very happy
> > Actual result:
> > --------------
> > root@eucnet:/home/euclid/php-gtk-1.0.0# ./buildconf
> > Configuring for:
> > PHP Api Version: 20031224
> > Zend Module Api No: 20040412
> > Zend Extension Api No: 220040412
> > configure.in:9: warning: underquoted definition of
> > PHP_WITH_PHP_CONFIG
> > run info '(automake)Extending aclocal'
> > or see
> >
> > http://sources.redhat.com/automake/automake.html#Extending%20aclocal
> >
> > configure.in:32: warning: underquoted definition of
> > PHP_EXT_BUILDDIR
> > configure.in:33: warning: underquoted definition of
> > PHP_EXT_DIR
> > configure.in:34: warning: underquoted definition of
> > PHP_EXT_SRCDIR
> > configure.in:35: warning: underquoted definition of
> > PHP_ALWAYS_SHARED
> > php_gtk.m4:10: warning: underquoted definition of
> > PHP_GTK_EXTENSION
> > php_gtk.m4:44: warning: underquoted definition of
> > PHP_GTK_ARG_ANALYZE
> > php_gtk.m4:75: warning: underquoted definition of
> > PHP_GTK_ARG_ENABLE
> > php_gtk.m4:79: warning: underquoted definition of
> > PHP_GTK_REAL_ARG_ENABLE
> > php_gtk.m4:91: warning: underquoted definition of
> > PHP_GTK_ARG_WITH
> > php_gtk.m4:95: warning: underquoted definition of
> > PHP_GTK_REAL_ARG_WITH
> > acinclude.m4:19: warning: underquoted definition of
> > PHP_PROG_RE2C
> > acinclude.m4:1903: warning: underquoted definition of
> > PHP_TEST_BUILD
> > /usr/local/share/aclocal/gtk.m4:7: warning: underquoted
> > definition of AM_PATH_GTK
> > configure.in:65: error: possibly undefined macro:
> > AC_PROG_LIBTOOL
> > If this token and others are legitimate, please use
> > m4_pattern_allow.
> > See the Autoconf documentation.
> > make: *** [buildmk.stamp] Error 1