Re: php-gtk configure bug

[email protected] (Elizabeth M Smith) Fri, 07 May 2010 07:56:29 -0400
Newsgroups php.gtk.dev
Message-ID <[email protected]>
On 5/5/2010 9:25 AM, Joop Boonen wrote:
> All,
>
> I found a bug in the configure script of php-gtk.
>
> This is the error I see when configure runs:
> checking for GtkMozEmbed support... no
> checking for scintilla support... no
> checking for sourceview support... no
> checking for spell support... no
> creating main/php_gtk_ext.c
> ./configure: line 12851: syntax error near unexpected token
> `build_libtool_libs,'
> ./configure: line 12851: `    _LT_DECL(build_libtool_libs, enable_shared, 0,'
>
>
>
> This bug has been found in svn297455
>
>
> I'm using the following software versions:
> The svn version compiled without a problem for me. The last version that
> compiled without a problem was: php5-gtk-2.0.1+svn295934
>
> 1) I'm building this package for openSuSE 11.0 - 11.2 and Factory. And
> SLES 10 and 11.
> 2) The version of php is version 5.
> openSuSE 11.0 5.2.5
> openSuSE 11.1 5.2.6
> openSuSE 11.2 5.3.0
> openSuSE Factory 5.3.0
> 3) I'm using pecl-cairo 0.2.0
> 4) libtool versions
> openSuSE 11.0 1.5.26
> openSuSE 11.1 2.2.6
> openSuSE 11.2 2.2.6
> openSuSE Factory 2.2.26b
> 5) automake
> openSuSE 11.0 1.10.1
> openSuSE 11.1 1.10.1
> openSuSE 11.2 1.11
> openSuSE Factory need to check
> 6) The last version that build without a problem on openSuSE up to and
> including 11.2 was svn295934. After that it failed.
>
> Can anyone please help to fix this bug?
>
> This is a transcript of bug http://bugs.php.net/bug.php?id=51471 .
>
> Regards,
>
> Joop.
>
This is probably related to a configure patch to try and solve issues 
with too recent libtool on ubuntu.  Not sure how we can fix the ubuntu 
issue AND make sure no one else gets bit by the problem.
You can use the earlier configure changes with the later code.  Not sure 
of the exact commit that broke and fixed the configure issue, but using 
current svn with the non-broke for you config.m4 files should work fine.

Anyone know an autotools guru?

thanks,
Elizabeth Smith