Re: [PHP-GTK-DEV] Re: php-gtk configure bug
[email protected] ("Joop Boonen") Wed, 19 May 2010 10:09:47 +0200
| Newsgroups | php.gtk.dev |
|---|---|
| Message-ID | <[email protected]> |
Hi Elizabeth,
On Fri, May 7, 2010 1:56 pm, Elizabeth M Smith wrote:
> 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.
The patch that broke this configure issue is:
http://marc.info/?l=php-gtk-cvs&m=126798977418361&w=2
For the time being i fixed this issue via a patch, comparable to:
<quote>
svn diff
Index: build2/build2.mk
===================================================================
--- build2/build2.mk (revision 299469)
+++ build2/build2.mk (working copy)
@@ -10,7 +10,6 @@
aclocal.m4: configure.in acinclude.m4
@echo rebuilding $@
- @if [ -f /usr/share/aclocal/ltsugar.m4 ]; then cat
/usr/share/aclocal/lt~obsolete.m4 /usr/share/aclocal/ltoptions.m4
/usr/share/aclocal/ltsugar.m4 /usr/share/aclocal/ltversion.m4 >>
./build/libtool.m4; fi
cat acinclude.m4 ./build/libtool.m4 php_gtk.m4 > $@
configure: aclocal.m4 php_gtk.m4 config.m4 $(config_m4_files)
</quote>
I've been searching on the internet.
I found this mail:
http://groups.google.com/group/googletestframework/browse_thread/thread/ae3a8b1ff15b3ef3
with including patch.
http://osdir.com/ml/googletestframework/2010-05/msg00015.html
>
> Anyone know an autotools guru?
>
> thanks,
> Elizabeth Smith
>
> --
> PHP-GTK Development Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>