Re: Problem using gtk+-2.0.4



Gandalf wrote:
Hello,

I want to use the util "gpa" (GnuPG Assistant) on Linux Mandrake 8.0 but that required the utilisation of gtk because xhen I execute ./configure of "gpa", it's said:

*****
Checking for GTK - version >= 1.2.1 no
"The gtk-config script installed by GTK could not be found
If GTK was installed in PREFIX, make sure PREFIX/bin is in your path or set the GTK_CONFIG environment variable to the full path of gtk-config"
*****

I don't unserstand why because I followed all the stapes indicated on website of GTK. That means that I installed before GLib, Pango, ATK, JPEG and TIFF libraries.

Before, I made "./configure --prefix=/opt/gtk", "make" and "make install", I enter the following lines into my .bashrc file:

CPPFLAGS=-I/opt/gtk/include
LDFLAGS=-L/opt/gtk/lib
PKG_CONFIG_PATH=/opt/gtk/lib/pkgconfig
export CPPFLAGS LDFLAGS PKG_CONFIG_PATH

LD_LIBRARY_PATH=/opt/gtk/lib
PATH=/opt/gtk/bin
export LD_LIBRARY_PATH PATH


Thank you for all answers!

The application you are trying to build requires GTK+ 1.2.x,
not GTK+ 2.0.x. Unfortunately an application coded for 1.2.x
wont compile "out of the box" against version 2.0.x. Either
check the applications webpage to see if the author[s] have
released a version ported to the new GTK+ libraries, or
install the latest 1.2.x version (which don't conflict with
version 2.0.x).

Chris

--
chris wareham iosystems co uk (work)
cwareham btinternet com (home)




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