Bug #51734 [Fbk->Opn]: cairo_font_options_object undeclared (first use in this function)

[email protected] ("scorninpc at gmail dot com") Tue, 4 May 2010 02:48:42 +0200 (CEST)
Newsgroups php.gtk.dev
Message-ID <[email protected]>
Edit report at http://bugs.php.net/bug.php?id=51734&edit=1

 ID:               51734
 User updated by:  scorninpc at gmail dot com
 Reported by:      scorninpc at gmail dot com
 Summary:          cairo_font_options_object undeclared (first use in
                   this function)
-Status:           Feedback
+Status:           Open
 Type:             Bug
 Package:          PHP-GTK related
 Operating System: Ubuntu 10.4
 PHP Version:      5.3.2

 New Comment:

i've compiled from

svn co svn://whisky.macvicar.net/php-cairo cairo

it don't work?


Previous Comments:
------------------------------------------------------------------------
[2010-05-04 02:46:11] [email protected]

What version of PECL Cairo are you compiling against?

cairo_font_options_object is from cairo_api.h

Please make sure you're using the latest version of the PECL cairo
extension

------------------------------------------------------------------------
[2010-05-04 02:04:13] scorninpc at gmail dot com

Description:
------------
I'm trying compile php-gtk from SVN and PHP 5.3.2-1ubuntu4 with
Suhosin-Patch (cli) (built: Apr  9 2010 08:23:39)

I can't compile without cairo, and after compile cairo, i get this
error:


root@anne:~/Projetos/projetos/php-gtk/php-gtk# make
/bin/bash /home/scorninpc/Projetos/projetos/php-gtk/php-gtk/libtool
--mode=compile cc  -Iext/gtk+/
-I/home/scorninpc/Projetos/projetos/php-gtk/php-gtk/ext/gtk+/
-DPHP_ATOM_INC
-I/home/scorninpc/Projetos/projetos/php-gtk/php-gtk/include
-I/home/scorninpc/Projetos/projetos/php-gtk/php-gtk/main
-I/home/scorninpc/Projetos/projetos/php-gtk/php-gtk -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 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -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/gio-unix-2.0/
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb
-I/usr/include/libpng12 -I/usr/include/php5/ext/cairo
-I/usr/include/libglade-2.0 -I/usr/include/libxml2  -DHAVE_CONFIG_H  -g
-O2 -DHAVE_CAIRO   -c ext/gtk+/gen_gdk.c -o ext/gtk+/gen_gdk.lo 
libtool: compile:  cc -Iext/gtk+/
-I/home/scorninpc/Projetos/projetos/php-gtk/php-gtk/ext/gtk+/
-DPHP_ATOM_INC
-I/home/scorninpc/Projetos/projetos/php-gtk/php-gtk/include
-I/home/scorninpc/Projetos/projetos/php-gtk/php-gtk/main
-I/home/scorninpc/Projetos/projetos/php-gtk/php-gtk -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 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -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/gio-unix-2.0/
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb
-I/usr/include/libpng12 -I/usr/include/php5/ext/cairo
-I/usr/include/libglade-2.0 -I/usr/include/libxml2 -DHAVE_CONFIG_H -g
-O2 -DHAVE_CAIRO -c ext/gtk+/gen_gdk.c  -fPIC -DPIC -o
ext/gtk+/.libs/gen_gdk.o
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: (Each undeclared identifier is
reported only once
ext/gtk+/gdk-2.10.overrides:15: error: for each function it appears
in.)
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:39: error: expected expression before
‘)’ token
make: ** [ext/gtk+/gen_gdk.lo] Erro 1



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=51734&edit=1