LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Thread Tools
Old 11-03-2009, 06:45 PM   #1
em21701
Member
 
Registered: Feb 2008
Location: Rhode Island, USA
Distribution: Slackware12.2 & Slackware64-13
Posts: 156
Thanked: 8
What library am I missing?


[Log in to get rid of this advertisement]
I get this error with several programs I try to compile.

Code:
In file included from /usr/include/glib-2.0/glib/giochannel.h:35,                                                                                      
                 from /usr/include/glib-2.0/glib.h:50,                                                                                                 
                 from /usr/include/glib-2.0/gobject/gtype.h:26,                                                                                        
                 from /usr/include/glib-2.0/gobject/gboxed.h:26,                                                                                       
                 from /usr/include/glib-2.0/glib-object.h:25,                                                                                          
                 from /usr/include/glib-2.0/gio/gioenums.h:30,                                                                                         
                 from /usr/include/glib-2.0/gio/giotypes.h:30,                                                                                         
                 from /usr/include/glib-2.0/gio/gio.h:28,                                                                                              
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,                                                                               
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,                                                                                               
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,                                                                                               
                 from AppInclude.h:20,                                                                                                                 
                 from main.cpp:5:                                                                                                                      
/usr/include/glib-2.0/glib/gmain.h:27:24: error: glib/gpoll.h: No such file or directory                                                               
In file included from /usr/include/glib-2.0/glib/giochannel.h:35,                                                                                      
                 from /usr/include/glib-2.0/glib.h:50,                                                                                                 
                 from /usr/include/glib-2.0/gobject/gtype.h:26,                                                                                        
                 from /usr/include/glib-2.0/gobject/gboxed.h:26,                                                                                       
                 from /usr/include/glib-2.0/glib-object.h:25,                                                                                          
                 from /usr/include/glib-2.0/gio/gioenums.h:30,                                                                                         
                 from /usr/include/glib-2.0/gio/giotypes.h:30,                                                                                         
                 from /usr/include/glib-2.0/gio/gio.h:28,                                                                                              
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,                                                                               
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,                                                                                               
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,                                                                                               
                 from AppInclude.h:20,                                                                                                                 
                 from main.cpp:5:                                                                                                                      
/usr/include/glib-2.0/glib/gmain.h:138: error: 'GPollFD' has not been declared                                                                         
/usr/include/glib-2.0/glib/gmain.h:142: error: 'GPollFD' has not been declared                                                                         
/usr/include/glib-2.0/glib/gmain.h:147: error: 'GPollFunc' has not been declared                                                                       
/usr/include/glib-2.0/glib/gmain.h:148: error: 'GPollFunc' does not name a type                                                                        
/usr/include/glib-2.0/glib/gmain.h:153: error: 'GPollFD' has not been declared
/usr/include/glib-2.0/glib/gmain.h:156: error: 'GPollFD' has not been declared
/usr/include/glib-2.0/glib/gmain.h:209: error: 'GPollFD' has not been declared
/usr/include/glib-2.0/glib/gmain.h:211: error: 'GPollFD' has not been declared
In file included from /usr/include/glib-2.0/gio/gio.h:34,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from AppInclude.h:20,
                 from main.cpp:5:
/usr/include/glib-2.0/gio/gcancellable.h:74: error: 'GPollFD' has not been declared
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/eric/Desktop/HDHomerun/hdhomerun_config_gui/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/eric/Desktop/HDHomerun/hdhomerun_config_gui'
make: *** [all] Error 2
linuxslackware em21701 is offline     Reply With Quote
Old 11-03-2009, 08:16 PM   #2
knudfl
Senior Member
 
Registered: Jan 2008
Location: Copenhagen, Denmark
Distribution: pclos2009.2, slack13, Debian Lenny (+30 others, for test only)
Posts: 2,883
Thanked: 267
line 14 :
Quote:
/usr/include/glib-2.0/glib/gmain.h:27:24: \
error: glib/gpoll.h: No such file or directory
I think, gpoll.h was introduced in glib-2.19.0 .
( The current stable is 2.22.2 ).

Thus no ' gpoll.h ' in Slackware 12.2 or Slackware 13.
.....
linuxpclinuxos knudfl is offline     Reply With Quote
Thanked by:
Old 11-03-2009, 08:27 PM   #3
windtalker10
Member
 
Registered: Nov 2007
Location: Texas
Distribution: Slackware12.2 & 13
Posts: 189
Thanked: 13
Quote:
/usr/include/glib-2.0/glib/gmain.h:27:24: error: glib/gpoll.h: No such file or directory
glib is what is causing your problems.
Googling tells me glib has caused problems with building packages before.
You may have to upgrade or downgrade glib as what you're trying to build may not be compatible with the glib you have installed.
linux windtalker10 is offline     Reply With Quote
Old 11-04-2009, 08:51 AM   #4
em21701
Member
 
Registered: Feb 2008
Location: Rhode Island, USA
Distribution: Slackware12.2 & Slackware64-13
Posts: 156
Thanked: 8

Original Poster
Dang, I had these updated when I built GIMP. They were downgraded when I forgot to de-select them when updating with slackpkg. Thanks all.
linuxslackware em21701 is offline     Reply With Quote
Old 11-04-2009, 10:25 AM   #5
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Slackware64
Posts: 361
Blog Entries: 19
Thanked: 24
slackpkg can blacklist packages that you don't want automatically updated.

Code:
slackpkg blacklist pkg_name
linuxslackware lumak is offline     Reply With Quote
Old 11-05-2009, 08:03 AM   #6
em21701
Member
 
Registered: Feb 2008
Location: Rhode Island, USA
Distribution: Slackware12.2 & Slackware64-13
Posts: 156
Thanked: 8

Original Poster
I don't necessarily want to blacklist any particular package, as it may be upgraded to a newer rev than I already have installed one day. I would like to see it be more sensitive to versioning and not "upgrade" to a lower rev.
linuxslackware em21701 is offline     Reply With Quote
Old 11-05-2009, 12:11 PM   #7
Didier Spaier
Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware64-13.0 multilib
Posts: 774
Thanked: 96
AFAIK to check for upgrades to be done, Slackpkg looks for packages in official Slackware directories only, in the order given by the PRIORITY parameter, set up in /etc/slackpkg/slackpkg.conf. This suppose that any "not official" package should be upgraded, disregarding any other consideration.

Last edited by Didier Spaier; 11-05-2009 at 12:13 PM..
linux Didier Spaier is offline     Reply With Quote
Old 11-05-2009, 07:43 PM   #8
em21701
Member
 
Registered: Feb 2008
Location: Rhode Island, USA
Distribution: Slackware12.2 & Slackware64-13
Posts: 156
Thanked: 8

Original Poster
Didier Spaier You are correct AFIK as well. I certainly understand why it is written that way. I was merely offering an opinion. I certainly need to pay more attention to what is going to be upgraded before I push the button.
linuxslackware em21701 is offline     Reply With Quote
Old 11-06-2009, 02:28 AM   #9
Didier Spaier
Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware64-13.0 multilib
Posts: 774
Thanked: 96
I must admit that way too often I do not read before pushing the button either, even when typing commands as root in a shell

That's why I edited /etc/slackpkg/slackpkg.conf recently to get the ONOFF=OFF behaviour...
linux Didier Spaier is offline     Reply With Quote
Thanked by:
Old 11-07-2009, 07:05 AM   #10
em21701
Member
 
Registered: Feb 2008
Location: Rhode Island, USA
Distribution: Slackware12.2 & Slackware64-13
Posts: 156
Thanked: 8

Original Poster
Good idea, thanks!
linuxslackware em21701 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
ldd reports shared library missing, but library exists on disk athv_gr Linux - Newbie 7 05-13-2009 01:31 PM
Missing Qt-mt library redhat_newbie Linux - Desktop 1 07-19-2007 07:27 AM
Missing Library twantrd Solaris / OpenSolaris 4 12-21-2004 01:16 PM
missing library kholdstayr Slackware 4 12-20-2003 05:56 PM
theres a missing library! e1000 Linux - Software 2 10-22-2003 02:33 AM


All times are GMT -5. The time now is 08:31 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration