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 Content-type: text/plain; charset=ISO-8859-1; format=flowed Message-id: <4F3AD8BE.9010306@unige.ch> Date: Tue, 14 Feb 2012 22:57:18 +0100 From: Juergen Harms 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 Content-transfer-encoding: 7bit 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 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.