LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices

Reply
 
Search this Thread
Old 03-14-2010, 08:14 PM   #1
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 54
Installing the GTK and GLib libraries does not install the main headers


When I install libgtk2.0-dev and libglib2.0-dev, the gtk.h and glib.h files are not found. Why? The packages claim to be the development bindings.
 
Old 03-14-2010, 08:22 PM   #2
raju.mopidevi
Senior Member
 
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Blog Entries: 12

Rep: Reputation: 92
post the exact error message which can be help to solve the problem easily !
 
Old 03-14-2010, 08:37 PM   #3
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Original Poster
Rep: Reputation: 54
Quote:
Originally Posted by raju.mopidevi View Post
post the exact error message which can be help to solve the problem easily !
Code:
libcube.cpp:4:34: error: /usr/lib/gtk-2.0/gtk.h: No such file or directory
libcube.cpp:5:36: error: /usr/lib/glib-2.0/glib.h: No such file or directory
libcube.cpp:6:38: error: /usr/lib/glib-2.0/gstdio.h: No such file or directory
libcube.cpp:7:38: error: /usr/lib/glib-2.0/gtypes.h: No such file or directory
 
Old 03-14-2010, 08:40 PM   #4
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Original Poster
Rep: Reputation: 54
Never mind, I found the files in /usr/include.

Edit: Only one of them. Gtk.h still wasn't there.

Last edited by Kenny_Strawn; 03-14-2010 at 08:50 PM.
 
Old 03-15-2010, 05:47 AM   #5
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu
Posts: 1,221

Rep: Reputation: 251Reputation: 251Reputation: 251
~$ locate gtk.h
/usr/include/gtk-2.0/gtk/gtk.h
 
Old 03-15-2010, 06:26 AM   #6
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,622
Blog Entries: 29

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Quote:
Originally Posted by Kenny_Strawn
When I install libgtk2.0-dev and libglib2.0-dev, the gtk.h and glib.h files are not found. Why?
Here you need to install:

gtk2-devel package for gtk.h
glib-devel package for glib.h

and then run updatedb command from root !

Last edited by TheIndependentAquarius; 03-15-2010 at 06:31 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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+ programs on Windows without having to install GTK+, GLib, etc Nylex Programming 2 02-19-2006 01:33 PM
Fluxbox install, X libraries and headers csb Linux - Software 3 07-15-2005 08:59 AM
can't install gtk 2.4.4: "Requested 'glib-2.0 >= 2.4.0' but version of GLib is 2.2.3 webazoid Linux - Software 0 07-15-2004 06:07 PM
Problems installing program: error: Qt (>= Qt 3.0.3) (headers and libraries) Anjin Mandriva 4 04-26-2004 10:54 AM
glib & gtk headers Donald1000 Solaris / OpenSolaris 1 06-08-2003 12:19 PM


All times are GMT -5. The time now is 03:12 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration