Re: Compile errors - cairo

[email protected] (Elizabeth M Smith) Wed, 01 Apr 2009 18:27:34 -0400
Newsgroups php.gtk.general
Message-ID <[email protected]>
Eddie L. Hixson wrote:
> When will the compile errors with cairo in the cvs download be fixed?
> I haven't been able to compile php-gtk in months on my linux install.
> 
> Eddie
> 

define "fixed"

the holdup is the release of the cairo php extension which will be
required for php-gtk with the next release.

You can build (and use) HEAD just fine - the configure doesn't do a
check for cairo properly yet however - which is why you get "cairo
errors" when compiling instead of ./config telling you "you need to have
the php cairo extension installed"

If you want to build HEAD

1. Grab the latest revision of the cairo extension from
svn://whisky.macvicar.net/php-cairo

this should build as a normal php extension - phpize et al

2. build php-gtk passing -DHAVE_CAIRO

3. play with the cairo demos in demos/examples in php-gtk cvs :)

Thanks,
Elizabeth