Re: Problems with building GTK+ 2.4.3



Michael B. Trausch wrote:
On Tue, 15 Jun 2004, Russell Shaw wrote:

pkg-config --modversion xft
(i have 2.1.2 on debian)

You should have something like libfreetype6-dev on the system.



Ugh.  The problem this time was that I didn't have
/usr/X11R6/lib/pkgconfig in $PKG_CONFIG_PATH... My head is exploding with
all the variables I hafta set to make this stuff work...

I don't really use packages on this system, by the way, I am (mostly)
building everything from scratch, so all the headers are already on the
system.  FT2 I had to download to successfully build the sources from
X.org, so it's here... *shrugs*.

I'm attempting another build here, now that 'make' is running...

Okay.  So it finally built successfully... *sigh*  That took way too long
to do.  However, I had to change one file to make this work.... I don't
recall exactly how to use 'diff' for sure at the moment, and I don't know
how many files would need changed to make things work with the latest
FreeType, however, on this system, it wouldn't build unless the line that
read:

#include <freetype/freetype.h>

... was commented out and replaced with:

#include <ft2build.h>
#include FT_FREETYPE_H

Seems fairly stupid to me, because I don't see why you'd want to do that.
Anyway, the file that I had to do that in was pango-ot.h from the Pango
header files that were installed in /usr/include/pango-1.0/pango when I
re-installed that.

Someone who has access to Pango's centralized source base may want to make
that change in their code and retar the distro... Just an idea.

I was doing the same thing today putting those lines in to try building
gtk 2.2.4 with the newer libfreetype6-dev (2.1.7 instead of an older one
like 2.0.9). Are you sure you were building gtk 2.4.3?
With the newer libfreetype6-dev (2.1.7), gtk 2.4.3 build doesn't need
those header file mods.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]