php-groups.com | Post Question | Search | About | Groups | Contact | Register | Login


New in This Group

Re: [PHP-GTK-DEV] Bugzilla
10/5/2009 6:08:41 AM

PHP-GTK HEAD for PHP 5.3 on Windows
9/11/2009 7:13:50 PM

Developement Team
7/14/2009 2:44:06 PM

Docs and phpd
6/30/2009 4:38:51 PM

php-gtk 2.01 do not use functions for gtk 2.10, possible bug?
6/29/2009 3:37:09 PM

New PHP-GTK namespace on wiki.php.net
5/5/2009 9:45:51 PM

[Fwd: Request for PHP-GTK functionality]
2/25/2009 5:08:32 PM

Want to work on PHP GTK
1/13/2009 7:17:13 AM

Linux and building PHP-GTK modules as shared
10/12/2008 2:30:36 PM

[Fwd: PHP-GTK 2.0.1 / Suggestion at configure script]
9/2/2008 2:54:58 AM

Re: [PHP-GTK-DEV] Bugzilla Reply

Group: php.gtk.dev Subscribe Posted:10/5/2009 6:08:41 AM Replies:0 Views:18 Items(0)
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 ...)
> we use bugs.php.net for bug tracking

I'm sorry my mistake. It looks more like a gdk issue (But still ralated to
php5-gtk) as php-gtk-2.0.1 builds without a problem. The current svn
version doesn't.

<build_with_error>
GdkRegion
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
constructors (1 written, 0 skipped)
methods (14 written, 2 skipped)



--------------------------------------------------
Pointers
--------------------------------------------------
-- none --


========================================================================
Gdk Coverage
========================================================================
Functions : 78.4% written (87/111)
Methods : 88.0% written (380/432)
Constructors : 93.1% written (27/29)
Property accessors : 97.5% written (79/81)


/bin/sh /usr/src/packages/BUILD/php-gtk-2.0.1+svn289199/libtool
--mode=compile gcc -Iext/gtk+/
-I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289199/ext/gtk+/ -DPHP_ATOM_INC
-I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289199/include
-I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289199/main
-I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289199 -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/lib64/glib-2.0/include
-I/usr/include/gtk-2.0 -I/usr/lib64/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/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 -c
ext/gtk+/gen_gdk.c -o ext/gtk+/gen_gdk.lo
gcc -Iext/gtk+/
-I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289199/ext/gtk+/
-DPHP_ATOM_INC -I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289199/include
-I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289199/main
-I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289199 -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/lib64/glib-2.0/include -I/usr/include/gtk-2.0
-I/usr/lib64/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/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 -c ext/gtk+/gen_gdk.c
-fPIC -DPIC -o ext/gtk+/.libs/gen_gdk.o
ext/gtk+/gdk-2.8.overrides: In function 'zim_Gdk_cairo_set_source_color':
ext/gtk+/gdk-2.8.overrides:41: error: 'cairo_context_object' undeclared
(first use in this function)
ext/gtk+/gdk-2.8.overrides:41: error: (Each undeclared identifier is
reported only once
ext/gtk+/gdk-2.8.overrides:41: error: for each function it appears in.)
ext/gtk+/gdk-2.8.overrides:41: error: 'cont' undeclared (first use in this
function)
ext/gtk+/gdk-2.8.overrides:45: warning: implicit declaration of function
'php_cairo_get_context_ce'
ext/gtk+/gdk-2.8.overrides:48: error: expected expression before ')' token
ext/gtk+/gdk-2.8.overrides: In function 'zim_Gdk_cairo_set_source_pixbuf':
ext/gtk+/gdk-2.8.overrides:80: error: 'cairo_context_object' undeclared
(first use in this function)
ext/gtk+/gdk-2.8.overrides:80: error: 'cont' undeclared (first use in this
function)
ext/gtk+/gdk-2.8.overrides:84: error: expected expression before ')' token
ext/gtk+/gdk-2.8.overrides: In function 'zim_Gdk_cairo_rectangle':
ext/gtk+/gdk-2.8.overrides:139: error: 'cairo_context_object' undeclared
(first use in this function)
ext/gtk+/gdk-2.8.overrides:139: error: 'cont' undeclared (first use in
this function)
ext/gtk+/gdk-2.8.overrides:146: error: expected expression before ')' token
ext/gtk+/gdk-2.8.overrides: In function 'zim_Gdk_cairo_region':
ext/gtk+/gdk-2.8.overrides:104: error: 'cairo_context_object' undeclared
(first use in this function)
ext/gtk+/gdk-2.8.overrides:104: error: 'cont' undeclared (first use in
this function)
ext/gtk+/gdk-2.8.overrides:111: error: expected expression before ')' token
ext/gtk+/gdk-2.10.overrides: In function
'zim_Gdk_cairo_set_source_pixmap':
ext/gtk+/gdk-2.10.overrides:62: error: 'cairo_context_object' undeclared
(first use in this function)
ext/gtk+/gdk-2.10.overrides:62: error: 'cont' undeclared (first use in
this function)
ext/gtk+/gdk-2.10.overrides:66: error: expected expression before ')' token
ext/gtk+/gdk.overrides: In function
'zim_GdkDisplay_get_maximal_cursor_size':
ext/gtk+/gdk.overrides:603: warning: pointer targets in passing argument 2
of 'gdk_display_get_maximal_cursor_size' differ in signedness
ext/gtk+/gdk.overrides:603: warning: pointer targets in passing argument 3
of 'gdk_display_get_maximal_cursor_size' differ in signedness
ext/gtk+/gen_gdk.c: In function 'zim_GdkDrawable_draw_gray_image':
ext/gtk+/gen_gdk.c:4477: warning: pointer targets in passing argument 8 of
'gdk_draw_gray_image' differ in signedness
ext/gtk+/gdk-2.8.overrides: In function 'zim_GdkDrawable_cairo_create':
ext/gtk+/gdk-2.8.overrides:11: error: 'cairo_context_object' undeclared
(first use in this function)
ext/gtk+/gdk-2.8.overrides:11: error: 'cont' undeclared (first use in this
function)
ext/gtk+/gdk-2.8.overrides:19: warning: assignment makes pointer from
integer without a cast
ext/gtk+/gdk-2.8.overrides:21: error: expected expression before ')' token
ext/gtk+/gdk-2.8.overrides:9: warning: unused variable 'rect'
ext/gtk+/gdk-2.8.overrides:8: warning: unused variable 'cobj'
ext/gtk+/gen_gdk.c: In function 'zim_GdkWindow_property_change':
ext/gtk+/gen_gdk.c:4747: warning: pointer targets in passing argument 6 of
'gdk_property_change' differ in signedness
ext/gtk+/gdk.overrides: In function 'zim_GdkPixbuf_get_pixels':
ext/gtk+/gdk.overrides:2168: warning: pointer targets in initialization
differ in signedness
ext/gtk+/gdk-2.10.overrides: In function 'zim_GdkScreen_set_font_options':
ext/gtk+/gdk-2.10.overrides:15: error: 'cairo_font_options_object'
undeclared (first use in this function)
ext/gtk+/gdk-2.10.overrides:15: error: 'fobj' undeclared (first use in
this function)
ext/gtk+/gdk-2.10.overrides:20: error: expected expression before ')' token
ext/gtk+/gdk-2.10.overrides: In function 'zim_GdkScreen_get_font_options':
ext/gtk+/gdk-2.10.overrides:31: error: 'cairo_font_options_object'
undeclared (first use in this function)
ext/gtk+/gdk-2.10.overrides:31: error: 'fobj' undeclared (first use in
this function)
ext/gtk+/gdk-2.10.overrides:36: warning: implicit declaration of function
'php_cairo_get_fontoptions_ce'
ext/gtk+/gdk-2.10.overrides:36: warning: assignment makes pointer from
integer without a cast
ext/gtk+/gdk-2.10.overrides:39: error: expected expression before ')' token
ext/gtk+/gdk-2.10.overrides:40: warning: implicit declaration of function
'php_cairo_font_options_copy'
make: *** [ext/gtk+/gen_gdk.lo] Error 1
</build_with_error>
> Thanks,
> Elizabeth Smith

Regards,

Joop.





joop_boo...@web.de ("Joop Boonen")
10/5/2009 6:08:41 AM




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

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
emsm...@elizabethmariesmith.com (Elizabeth M Smith)
10/5/2009 2:05:07 PM

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 (anympore).

<build_log>
creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
configure: WARNING: unrecognized options: --enable-sourceview,
--enable-spell, --disable-rpath
+ /usr/bin/make
/bin/sh /usr/src/packages/BUILD/php-gtk-2.0.1+svn289211/libtool
--mode=compile cc -I./ext/gtk+/
-I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289211/./ext/gtk+/
-DPHP_ATOM_INC -I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289211/include
-I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289211/main
-I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289211 -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/lib64/glib-2.0/include
-I/usr/include/gtk-2.0 -I/usr/lib64/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/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 -o
../ext/gtk+/php_gtk+.lo
mkdir ./ext/gtk+/.libs
cc -I./ext/gtk+/
-I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289211/./ext/gtk+/
-DPHP_ATOM_INC -I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289211/include
-I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289211/main
-I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289211 -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/lib64/glib-2.0/include
-I/usr/include/gtk-2.0 -I/usr/lib64/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/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>

>
> 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
>


joop_boo...@web.de ("Joop Boonen")
10/5/2009 6:39:55 PM

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>
creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
configure: WARNING: unrecognized options: --enable-sourceview,
--enable-spell, --disable-rpath
+ /usr/bin/make
/bin/sh /usr/src/packages/BUILD/php-gtk-2.0.1+svn289211/libtool
--mode=compile cc -I./ext/gtk+/
-I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289211/./ext/gtk+/
-DPHP_ATOM_INC -I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289211/include
-I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289211/main
-I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289211 -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/lib64/glib-2.0/include
-I/usr/include/gtk-2.0 -I/usr/lib64/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/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 -o
../ext/gtk+/php_gtk+.lo
mkdir ./ext/gtk+/.libs
cc -I./ext/gtk+/
-I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289211/./ext/gtk+/
-DPHP_ATOM_INC -I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289211/include
-I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289211/main
-I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289211 -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/lib64/glib-2.0/include
-I/usr/include/gtk-2.0 -I/usr/lib64/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/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>

>
> 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
>


joop_boo...@web.de ("Joop Boonen")
10/5/2009 6:40:20 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>
> creating libtool
> appending configuration tag "CXX" to libtool
> configure: creating ./config.status
> config.status: creating config.h
> configure: WARNING: unrecognized options: --enable-sourceview,
> --enable-spell, --disable-rpath
> + /usr/bin/make
> /bin/sh /usr/src/packages/BUILD/php-gtk-2.0.1+svn289211/libtool
> --mode=compile cc -I./ext/gtk+/
> -I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289211/./ext/gtk+/
> -DPHP_ATOM_INC -I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289211/include
> -I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289211/main
> -I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289211 -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/lib64/glib-2.0/include
> -I/usr/include/gtk-2.0 -I/usr/lib64/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/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 -o
> ./ext/gtk+/php_gtk+.lo
> mkdir ./ext/gtk+/.libs
> cc -I./ext/gtk+/
> -I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289211/./ext/gtk+/
> -DPHP_ATOM_INC -I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289211/include
> -I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289211/main
> -I/usr/src/packages/BUILD/php-gtk-2.0.1+svn289211 -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/lib64/glib-2.0/include
> -I/usr/include/gtk-2.0 -I/usr/lib64/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/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>
>
>> 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
>>
>
>

First of all, update your source - there were some changes made this
morning ;)

Secondly, the php_cairo_api.h is from the PECL cairo extension - you'll
need to make sure this location is where the php-gtk build system can
find it (INCLUDES environment variable most likely?) - again, another
thing the configure system doesn't take care of and needs to.

Thanks,
Elizabeth Smith
auroraeosr...@gmail.com (Elizabeth M Smith)
10/5/2009 6:58:48 PM

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
>>
>
>


joop_boo...@web.de ("Joop Boonen")
10/7/2009 9:43:32 PM


Reply:
| or Email(not shown): Name: | Register | Login

Alert me when someone responds to this posting.











Newest Articles

note 97095 added to soapclient.soapclient
4/1/2010 5:58:19 AM

note 97094 added to function.sqlite-changes
4/1/2010 5:06:46 AM

note 97093 added to function.sqlite-changes
4/1/2010 5:06:21 AM

note 97092 added to ref.xmlrpc
4/1/2010 4:52:18 AM

note 97091 added to function.var-export
4/1/2010 3:32:03 AM