Re: [PHP-GTK-DEV] Bugzilla

[email protected] ("Joop Boonen") Wed, 7 Oct 2009 23:43:32 +0200
Newsgroups php.gtk.dev
Message-ID <[email protected]>
On Mon, October 5, 2009 8:40 pm, Joop Boonen wrote:
> On Mon, October 5, 2009 4:05 pm, Elizabeth M Smith wrote:
>> Joop Boonen wrote:
>>> On Mon, October 5, 2009 1:03 am, Elizabeth M Smith wrote:
>>>
>>>> Joop Boonen wrote:
>>>>
>>>>> Hello,
>>>>> Is there a bugzilla for php-gtk?
>>>>> The latest cvs build does build against php 5.3 but not any more
>>>>>
>>> against
>>>
>>>>> php < 5.3.
>>>>> Regards,
>>>>> Joop
>>>>>
>>>> Builds fine against the lastest PHP 5.2 branch (I've built it about 50
>>>>
>>> times this weekend hunting a bug)
>>>
>>>> There are some issues with the configure stuff with automake however
>>>>
>>> since it now requires the cairo extension as well (adding -DHAVE_CAIRO
>>> to CFLAGS ...)
>>
>>
>> As I mentioned - you need the PECL cairo extension (see
>> pecl.php.net/package/cairo) and you need to add -DHAVE_CAIRO to your
>> CFLAGS
>
> I did this. But than it calls the ext/cairo/php_cairo_api.h file. This
> file doesn't exist (anymore).
>
> <build_log>
> -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -DHAVE_CONFIG_H
> -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector
> -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing
> -DHAVE_CAIRO -c
> /usr/src/packages/BUILD/php-gtk-2.0.1+svn289211/./ext/gtk+/php_gtk+.c
> -fPIC -DPIC -o ./ext/gtk+/.libs/php_gtk+.o
> In file included from
> /usr/src/packages/BUILD/php-gtk-2.0.1+svn289211/./ext/gtk+/php_gtk+.c:23:
> /usr/src/packages/BUILD/php-gtk-2.0.1+svn289211/main/php_gtk.h:34:37:
> error: ext/cairo/php_cairo_api.h: No such file or directory
> make: *** [ext/gtk+/php_gtk+.lo] Error 1
> error: Bad exit status from /var/tmp/rpm-tmp.PoWCRG (%build)
>
>
> RPM build errors:
> Bad exit status from /var/tmp/rpm-tmp.PoWCRG (%build)
> System halted.
> </buildlog>
>
This issue seems to be fixed in the current svn version.

I found another issue.

<buildlog>
========================================================================
                              Gtk Coverage
========================================================================
Functions           :  94.9% written (56/59)
Methods             :  96.0% written (1871/1949)
Constructors        :  98.7% written (155/157)
Property accessors  :  98.3% written (171/174)


Unused arginfo overrides:
 GtkComboBoxEntry::__construct            ext/gtk+/gtk.overrides#2247
 GtkTextTagTable::foreach                 ext/gtk+/gtktextview.overrides#547
 GtkTreeModel::foreach                    ext/gtk+/gtktreeview.overrides#1369


/bin/sh /usr/src/packages/BUILD/php-gtk-2.0.1+svn289305/libtool
--mode=compile cc  -Iext/gtk+/
-I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289305/ext/gtk+/ -DPHP_ATOM_INC
-I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289305/include
-I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289305/main
-I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289305 -I/usr/include/php5
-I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend
-I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/php5/ext/cairo
-I/usr/include/libglade-2.0 -I/usr/include/libxml2  -DHAVE_CONFIG_H  -O2
-g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables -fasynchronous-unwind-tables
-fno-strict-aliasing -DHAVE_CAIRO   -c ext/gtk+/gen_gtk.c -o
ext/gtk+/gen_gtk.lo
 cc -Iext/gtk+/
-I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289305/ext/gtk+/
-DPHP_ATOM_INC -I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289305/include
-I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289305/main
-I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289305 -I/usr/include/php5
-I/usr/include/php5/main -I/usr/include/php5/TSRM
-I/usr/include/php5/Zend -I/usr/include/php5/ext
-I/usr/include/php5/ext/date/lib -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/php5/ext/cairo
-I/usr/include/libglade-2.0 -I/usr/include/libxml2 -DHAVE_CONFIG_H -O2 -g
-m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables -fasynchronous-unwind-tables
-fno-strict-aliasing -DHAVE_CAIRO -c ext/gtk+/gen_gtk.c  -fPIC -DPIC -o
ext/gtk+/.libs/gen_gtk.o
make: *** No rule to make target `ext/gtk+/gen_gtk-1.c', needed by
`ext/gtk+/gen_gtk-1.lo'.  Stop.
error: Bad exit status from /var/tmp/rpm-tmp.kENvKV (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.kENvKV (%build)
</buildlog>

>>
>> the automake stuff is all messed up, I've asked for help since I know
>> nothing about it - but no one else seems to know how to fix it either
>>
>> thanks,
>> Elizabeth Smith
>>
>
>