delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/02/14/16:58:44

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-MailCleaner-SPF: none
MIME-version: 1.0
Message-id: <4F3AD8BE.9010306@unige.ch>
Date: Tue, 14 Feb 2012 22:57:18 +0100
From: Juergen Harms <Juergen DOT Harms AT unige DOT ch>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.26) Gecko/20120203
Mageia/3.1.18-1.mga1 (1) Thunderbird/3.1.18
To: geda-user AT delorie DOT com
Subject: [geda-user] Legacy indirect includes of glib
Reply-To: geda-user AT delorie DOT com

I am trying to build geda-1.6.2 as an rpm for the upcoming new release 
of Mageia. Make throws several errors of the kind

/usr/include/glib-2.0/glib/gmem.h:28:2: error: #error "Only <glib.h> can 
be included directly."
In file included from /usr/include/glib-2.0/glib/gmem.h:34:0,
                  from s_path.c:40:

(with the old release there were no problems whatever). According to 
expert advice, glib.h must be directly included in the caller - if it 
worked earlier, that was due to permissiveness of older versions of glib 
(the Mageia 2 candidate presently uses glib 2.31.16 ).

Questions: is this a known problem? if yes, are patches available? - and 
anyhow, should be dealt with "upstream" in case the problem did not yet 
come up.

I had originally hoped that the new geda release might be available, but 
system freeze for Mageia is planned for March 7 - earlier than I had 
thought, I am afraid I will have to work with patches.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019