Re: gnome2.2 source building



On Tue, 15 Apr 2003, Fred Heitkamp wrote:

> I had a similar problem on my system.   I found
> that many programs when compiled from source do
> not update pkgconfig.  I don't really know how
> pkgconfig works but putting a file called
> xft.pc in the gnome2 package config directory.
> On my system it's /gnome2/lib/pkgconfig/
> Of course update so the paths and so forth
> are correct.
>
> Also another thing I noticed is that a lot
> of the X headers testing fails because the
> test does not include:
> <X11/Xlib.h>  which includes the definition
> for Bool. I don't know if that's a gnome
> problem or an X problem. BTW I am using:
> XFree86 Version 4.2.99.3
>

You should set the PKG_CONFIG_PATH to a :-separated list of directories in
which pkg-config is to look for *.pc files. Most probably your xft.pc is
in /usr/X11R6/lib/pkgconfig (I've got X4.3.0 and there it is)? If you
install something from sources with a different prefix as pkg-config
itself, and don't update your PKG_CONFIG_PATH, then pkg-config won't
know about it.

-- m

-----------------------------------------------------------------------
Mariano Suarez Alvarez Departamento de Matematica - Universidad Nacional
de Rosario Pellegrini 250 - Rosario 2000 - Argentina

    De la observacion de la irreductibilidad de las creencias ultimas
    he sacado la mayor leccion de mi vida. Aprendi a respetar las ideas
    ajenas, a detenerme ante el secreto de las conciencias, a entender
    antes de discutir, a discutir antes de condenar. Y como estoy en
    vena de confesiones, hago una mas, quizas superflua: detesto con
    toda mi alma a los fanaticos.

    Norberto Bobbio, Italia civil.

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



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