Re: Serious Gtk 2.0 Compilation Problem (PLEASE HELP)



Hi,

Janos Blazi <jblazi gmx de> writes:

> I installed Gtk 2.0 and could not compile the tutorial programs.
> Then I had a friend of mine, who is a Unix expert, reinstall everything and
> he could not compile the first tutorial program either.
> So he told me that the problem was that pkg-config wanted to use
> *-uninstalled.pc files and when he "linked thos files to *.pc files" (what that ever
> means), the first tutorial program could be compiled.
> I am an absolute newbie and do not understand what happened but my friend
> told me that somethin went basically wrong here and his solution was only a
> temporary one.

The Makefiles in the examples dir don't refer to *-uninstalled.pc files
and I wonder what made your friend think that they would.

I'm only guessing, but I think what went wrong is that you installed GTK+
into a different prefix than pkg-config and didn't set your PKG_CONFIG_PATH
variable accordingly. Try to set PKG_CONFIG_PATH to $prefix/lib/pkgconfig
where $prefix should be substituted to whatever you specified as prefix
when configuring GTK+.


Salut, Sven



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