LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-31-2012, 11:02 PM   #1
Thom1b
Member
 
Registered: Mar 2010
Location: France
Distribution: Slackware
Posts: 484

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
glib on current (Mon Jul 30 20:42:03 UTC 2012)


Hi,

epdfview and parcellite don't compile on slackware-current. "make" leaves with these errors :

Parcellite :
Code:
/usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly."
Epdfview :
Code:
/usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly."
Maybe others softwares have this issue. Is there something wrong with glib ?
 
Old 07-31-2012, 11:04 PM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,504

Rep: Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461
Find in the software that isn't compiling any #include <glib/*.h> and replace it with #include <glib.h> and you should be good to go.
 
1 members found this post helpful.
Old 07-31-2012, 11:05 PM   #3
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Are you using SlackBuilds? Check and see if newer versions exist on the package's homepages if you are. Often SlackBuilds does fall behind at times.
 
Old 07-31-2012, 11:16 PM   #4
Thom1b
Member
 
Registered: Mar 2010
Location: France
Distribution: Slackware
Posts: 484

Original Poster
Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
Quote:
Originally Posted by volkerdi
Find in the software that isn't compiling any #include <glib/*.h> and replace it with #include <glib.h> and you should be good to go.
Thanks, it works.

Quote:
Originally Posted by ReaperX7
Are you using SlackBuilds? Check and see if newer versions exist on the package's homepages if you are. Often SlackBuilds does fall behind at times.
I tried SlackBuilds and manual compilation (./configure && make -j1)
 
  


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
LXer: LXer Weekly Roundup for 29-Jul-2012 LXer Syndicated Linux News 0 07-29-2012 03:02 PM
[SOLVED] Changelog Jul 18 20:21:15 UTC 2012 -- No net AlleyTrotter Slackware 2 07-19-2012 09:32 AM
LXer: LXer Weekly Roundup for 15-Jul-2012 LXer Syndicated Linux News 0 07-16-2012 03:30 AM
[SOLVED] setup fails on most current Slackware-current March 26, 2012 AlleyTrotter Slackware 15 04-09-2012 06:05 AM
Mon Jul 30 2nd round of Free Sklyarov rallies odat General 1 07-30-2001 03:48 PM

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

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