Re: Installing GTK 2+

On Mon, 2006-12-11 at 08:20 -0500, zentara wrote:
> [snip]
> What all this boils down to, is when you build from sources, you need
> to use the --prefix option when you do the ./configure, to tell it to put
> it in /usr
> ./configure --prefix=/usr

Actually, installing things into the /usr prefix, specially libraries
and apps on which your whole system depends---like gtk,---is generally a
bad idea, because you are then messing with your distro package manager
(among other things...)

In most cases, the very best thing to do is to just use the libraries
provided by your distro (along with their -devel counterparts, if you
are going to be writing programs). If you need to use, say, a newer gtk
that what your distro provides, then you really need to build a (rather
complete) sandbox in which you install the new gtk and all its
dependencies, so that it is isolated from the rest of your system. This
is what jhbuild lets you do with much ease, for example.

-- m

Mariano Su�z-Alvarez

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