LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-12-2004, 07:47 PM   #1
forestial
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
What package do I install to get gtk?


Trying to build mozilla from source. During the ./configure it complains that:

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.
*** GTK+ is available from <the gtk ftp site, can't post url>
configure: error: Test for GTK failed.

OK, so I need to install gtk: and I want to install it using a deb package if
possible.

Question is: what package do I need? A search on packages.debian.net shows
a bunch of things with 'gtk' in their name but they all seem to be libraries of
some kind (libgtk....) or 'engines' to enable gtk versions of various apps. There
is nothing recognizable as GTK itself.
 
Old 08-12-2004, 10:13 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
You need libgtk1.2-dev and you may want to install the apt-file package as well it works similar to apt-get in that you apt-file update then apt-file search file_needed.

Code:
>$ apt-file search gtk-config
libgtk1.2-dev: usr/bin/gtk-config
libgtk1.2-dev: usr/bin/gtk-config
libgtk1.2-dev: usr/share/man/man1/gtk-config.1.gz
libgtk1.2-dev: usr/share/man/man1/gtk-config.1.gz
libgtk1.2-doc: usr/share/doc/libgtk1.2-doc/gtk-config.txt.gz
libgtk1.2-doc: usr/share/doc/libgtk1.2-doc/gtk-config.txt.gz
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GTK source install doesn't give gtk-config Feebles Linux - Software 4 06-15-2005 12:51 PM
cant find gtk-config file or gtk-devel to install happychappy Linux - Software 2 02-16-2005 12:46 AM
What GTK package does GMPlayer use? ShadowMetis Linux - Software 3 12-05-2004 05:07 PM
Does apt-get install <package> upgrade the package if it is already installed? davidas Debian 4 04-05-2004 06:12 PM
GTK, GTK+ and MPlayer won't install ? ivan@elfak Linux - Newbie 4 02-29-2004 07:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration