Re: How to install GTK in linux



Hello, Ian !

> What am I doing wrong here? I'm trying to install the latest GTK/GLIB on a
> Linux Fedora 9 system that currently has GTK 2.12 and GLIB 2.16, which are
> the versions yum installs.
>
> I downloaded the gtk 2.14 and glib 2.18 .tar.gz packages, unpacked them and
> ran configure, make and make install. But they install into /usr/local/lib
> and so the app still picks up the older versions from /usr/lib. I tried
> "make install prefix=/usr" but that failed with an error.

You shound try to run ./configure --prefix=<your target dir>.
>
> One thing I noticed is that this is a 64-bit system and the GTK/GLIB
> libraries are located under /usr/lib64, but the above make installed
> libraries into /usr/local/lib, not lib64. Is that correct?

If libraries are 64 bit then this is correct. But in another case you
can say ./configure --prefix=... --libdir=... and libraries will be
set to your target directory.

-- 
Best regards,
Sincerely yours,
Yuriy Rusinov.


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