[PHP-BUG] Bug #51734 [NEW]: cairo_font_options_object undeclared (first use in this function)
[email protected] ("scorninpc at gmail dot com") Tue, 4 May 2010 02:04:14 +0200 (CEST)
| Newsgroups | php.gtk.dev |
|---|---|
| Message-ID | <[email protected]> |
From: Operating system: Ubuntu 10.4 PHP version: 5.3.2 Package: PHP-GTK related Bug Type: Bug Bug description:cairo_font_options_object undeclared (first use in this function) 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 bug report at http://bugs.php.net/bug.php?id=51734&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51734&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51734&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=51734&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=51734&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51734&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=51734&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=51734&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=51734&r=needscript Try newer version: http://bugs.php.net/fix.php?id=51734&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=51734&r=support Expected behavior: http://bugs.php.net/fix.php?id=51734&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=51734&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=51734&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=51734&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51734&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=51734&r=dst IIS Stability: http://bugs.php.net/fix.php?id=51734&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=51734&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=51734&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=51734&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=51734&r=mysqlcfg