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

[email protected] Tue, 4 May 2010 16:50:43 +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
 Updated by:       [email protected]
 Reported by:      scorninpc at gmail dot com
 Summary:          cairo_font_options_object undeclared (first use in
                   this function)
 Status:           Feedback
 Type:             Bug
 Package:          PHP-GTK related
 Operating System: Ubuntu 10.4
 PHP Version:      5.3.2

 New Comment:

Oh, i think its not a bug, this is a problem with cairo instalation,
becase coping module manualy it's work.

I dont know if I can use this thread to talk about Glade and Scintilla.

If not, it's solved (closed)

Ty alot and sorry for my english =)


Previous Comments:
------------------------------------------------------------------------
[2010-05-04 16:45:11] [email protected]

I need you to do php -m

You MUST have the PECL cairo extension loaded, and it must be loaded
before PHP-GTK

Are both in that output?

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

Ok, I compiled this version and php-gtk works fine, but i can't run
cairo_support.php

root@anne:~/Projetos/projetos/php-gtk/php-gtk# php
demos/examples/cairo_support.php 
php: symbol lookup error: /usr/lib/php5/20090626+lfs/php_gtk.so:
undefined symbol: php_cairo_get_context_ce
root@anne:~/Projetos/projetos/php-gtk/php-gtk#

this sample don't work with this version?

------------------------------------------------------------------------
[2010-05-04 02:51:08] [email protected]

No - that's a VERY old version of the code

The new location of the source code is
http://svn.php.net/viewvc/pecl/cairo

http://pecl.php.net/package/cairo

Try the latest version please and see if the error still occurs

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

i've compiled from

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

it don't work?

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

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


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=51734


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