Re: problem with building pango-1.0.4 and pangoxft2
- From: mike <mike redtux demon co uk>
- To: "desktop-devel-list gnome org" <desktop-devel-list gnome org>
- Subject: Re: problem with building pango-1.0.4 and pangoxft2
- Date: 20 Oct 2002 03:28:32 +0100
To preface - this is not intended s flaming and I will file a bug hen we
work out what needs reporting
On Sun, 2002-10-20 at 02:44, Malcolm Tredinnick wrote:
> On Sat, Oct 19, 2002 at 05:25:15PM +0100, mike wrote:
> > On Sat, 2002-10-19 at 17:00, mike wrote:
> > > On Sat, 2002-10-19 at 10:04, Malcolm Tredinnick wrote:
> > > > On Sat, Oct 19, 2002 at 05:49:19AM +0100, mike wrote:
> [...]
> > > > > 1. Pango does not build xft2 support (despite announcements that it
> > > > > does) because it looks for a file that is only present in xft1
> > > > > (xftfreetype.h)
> > > >
> > > > Umm ... XftFreetype.h is part of the XFree86 development packages, not
> > > > freetype.
> > >
> > > that what I said ie: Xft1
>
> As the following two quoted paragraphs explain, it _is_ picking up the
> freetype2 packages and you have a syntax errors in your header. The
> problem is with your freetype-devel installation.
No - XftFreetype has nothing to do with freetype - it is a Xft1 file -
so pango-1.0.+ should have a option for Xft version and if Xft2 is
installed should not look for this file.
(pango-1.1* does not look for this - but pango-1.0.* is used for 2.0.2
so relevant)
> > > > The error you are seeeing above shows that you have freetype 2.0.3
> > > > installed on your system (tterrors.h is only included in 2.0.3, not in
> > > > 2.0.4 or later) and that there is some problem with that file. I would
> > > > suggest checking your freetype installation for problems here.
> > >
> > > > All the configure script is doing is trying to run a small program that
> > > > does #include <freetype/internal/tterrors.h> from the freetype2 (not
> > > > freetype1) headers and that include is failing due to syntax errors.
>
> > > > > 2. After failing to build pangoxft other packages (eg gtk+-2.0.6) look
> > > > > for ANY installed pangoxft which will be pango-1.1.1 if any, this is
> > > > > despite removing any reference to any gnome packages in .pc files (ie
> > > > > /usr/lib/pkgconfig removed from PKG_CONFIG_PATH)
>
> [...]
> > > > My guess would be that the wrong pkg-config is being run and it is
> > > > accidently picking up the pango 1.1.1 file this way ('which
> > > > pkg-config' should show you this, too).
> >
> > OK - this was one problem it was using pkg-config in /usr/bin - but
> > surely pkconfig should not pick up .pc files not in PKG_CONFIG_PATH
>
> Quoting from the pkg-config manual page:
>
> "By default, pkg-config looks in the directory
> prefix/lib/pkgconfig for these files; it will also look in the
> colon-separated list of directories specified by the
> PKG_CONFIG_PATH environment variable."
>
> So pkg-config is behaving correctly.
no it is not
my prefix for the build is /opt/gnome
path also starts with /opt/gnome
LD_LIBRARY_PATH is also /opt/gnome
so IMHO pkg-config should
either not look in any other prefix or throw an error
Also - to put it mildly
> "By default, pkg-config looks in the directory
> prefix/lib/pkgconfig for these files
is a little ambiguous
is this the obvious ie: the prefix you are defining
or
the prefix that pkgconfig was originally installed in
BTW - this is probably not that common as I am installing an old version
of G2 - which explains why no other shouts
As I said at the start of my message - I am not flaming, but this does
seem to be an issue
> Malcolm
>
> --
> The hardness of butter is directly proportional to the softness of
> the bread.
> _______________________________________________
> desktop-devel-list mailing list
> desktop-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/desktop-devel-list
--
Linux, Gnome what more do you need
http://www.redtux.demon.co.uk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]