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

Re: cant compile gtk theme



To quote Marcial Zamora III <chic0@msdelta.com>,
# hey all. im tryin to install a gtk theme from source, and am getting
this error:
# 
# checking for gtk-config... no
# checking for GTK - version >= 1.2.0... 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 to gtk-config.
# configure: error: *** GTK 1.2 not installed - please install first ***
# 
# I am running potato, and do have libgtk1.2 installed, along with
gtk-engines-pixmaps package as well..
# any ideas ? new to debian, so any input would be appreciated  =)

There are lots of extra things you need to compile. Headers, little
config programs, you name it, it's required. Rather than include all
those extra things in the libgtk1.2 package, it's seperated -
libgtk1.2-dev is what you're looking for. So, to compile an app that
uses libgtk1.2 , you'll need libgtk1.2-dev . This is the same for most
library-like packages - they'll also have a -dev package which you can
use to compile apps that use that library.

Incidentally, compiling and installing from source into your regular
system is generally not a good idea. You should seperate those packages
which you compile and install yourself. Add something like
'--prefix=/extras --sysconfdir=/extras/etc' to the ./configure command.
That'll likely keep the package management system happy.

David Barclay Harris, Clan Barclay
    Aut agere, aut mori. (Either action, or death.)



Reply to: