LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-03-2009, 05:45 PM   #1
em21701
Member
 
Registered: Feb 2008
Location: Rhode Island, USA
Distribution: Slackware12.2 & Slackware64-current
Posts: 265

Rep: Reputation: 40
What library am I missing?


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
 
Old 11-03-2009, 07:16 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.
.....
 
Old 11-03-2009, 07:27 PM   #3
windtalker10
Member
 
Registered: Nov 2007
Location: Kentucky
Distribution: Slackware13.1
Posts: 214

Rep: Reputation: 38
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.
 
Old 11-04-2009, 07:51 AM   #4
em21701
Member
 
Registered: Feb 2008
Location: Rhode Island, USA
Distribution: Slackware12.2 & Slackware64-current
Posts: 265

Original Poster
Rep: Reputation: 40
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.
 
Old 11-04-2009, 09:25 AM   #5
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
slackpkg can blacklist packages that you don't want automatically updated.

Code:
slackpkg blacklist pkg_name
 
Old 11-05-2009, 07:03 AM   #6
em21701
Member
 
Registered: Feb 2008
Location: Rhode Island, USA
Distribution: Slackware12.2 & Slackware64-current
Posts: 265

Original Poster
Rep: Reputation: 40
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.
 
Old 11-05-2009, 11:11 AM   #7
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,064

Rep: Reputation: Disabled
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 11:13 AM.
 
Old 11-05-2009, 06:43 PM   #8
em21701
Member
 
Registered: Feb 2008
Location: Rhode Island, USA
Distribution: Slackware12.2 & Slackware64-current
Posts: 265

Original Poster
Rep: Reputation: 40
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.
 
Old 11-06-2009, 01:28 AM   #9
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,064

Rep: Reputation: Disabled
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...
 
Old 11-07-2009, 06:05 AM   #10
em21701
Member
 
Registered: Feb 2008
Location: Rhode Island, USA
Distribution: Slackware12.2 & Slackware64-current
Posts: 265

Original Poster
Rep: Reputation: 40
Good idea, thanks!
 
  


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

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

All times are GMT -5. The time now is 09:53 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