pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/31500: devel/pango version 1.10.1 does not compile the cairo backend



The following reply was made to PR pkg/31500; it has been noted by GNATS.

From: Sylvain Schmitz <schmitz%i3s.unice.fr@localhost>
To: Thomas Klausner <wiz%NetBSD.org@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: pkg/31500: devel/pango version 1.10.1 does not compile the cairo
 backend
Date: Fri, 07 Oct 2005 15:13:21 +0200

 Sylvain Schmitz wrote:
 
 > Thomas Klausner wrote:
 > 
 >> On Fri, Oct 07, 2005 at 10:36:00AM +0000, schmitz%i3s.unice.fr@localhost 
 >> wrote:
 >>
 >>> The `configure' script for version 1.10.1 of package `devel/pango' 
 >>> fails on the cairo backend.  The `configure' script needs to add 
 >>> `-pthread' to the environment variable `CAIRO_LIBS'.  (The script 
 >>> also seems to ignore any value of `CAIRO_LIBS' set by the user.)
 >>
 >>
 >>
 >> That was a bug in cairo, which has been fixed in
 >> cairo-1.0.1nb2 -- please update your cairo package and
 >> report how it goes.
 > 
 > 
 > Indeed, I had cairo-1.0.0 installed!
 > I've just grabbed version 1.0.2 of cairo from CVS; the build in pkgsrc 
 > fails in the `test' directory, but works when building outside of the 
 > pkgsrc environement; then pango-1.10.1 configures correctly.
 
 Grrr, I still had the `CAIRO_LIBS' variable set, which caused 
 cairo-1.0.2 to fail in the pkgsrc environment.  Unsetting it works fine 
 as far as cairo-1.0.2 is concerned.
    But now pango-1.10.1's configure script fails to include the cairo 
 backend support *again*; the config.log shows it still needs pthread 
 support.  I added it to /usr/pkg/lib/pkgconfig/cairo.pc, and then 
 pango-1.10.1 compiles with Cairo support seemingly fine.  The provided 
 `example/pango-cairoview' application works too.
 
 -- 
    Sylvain
 



Home | Main Index | Thread Index | Old Index