trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: June 2012

Re: [trinity-devel] Bug 1063: glib upstream changes to header inclusion (with patch)

From: "David C. Rankin" <drankinatty@...>
Date: Fri, 22 Jun 2012 14:52:10 -0500
On 06/22/2012 02:24 PM, David C. Rankin wrote:
>   Upsteam glib changes have resulted in build failures giving the message:
> 
> #error "Only <glib.h> can be included directly."
> 

  This effects not only TDE packages, but packages required to build TDE. So
when you run across this error, you may need to file a bug or contact the
package maintainer for your distro. Example, koffice fails to build do to:

In file included from /usr/include/wv2/olestream.h:26:0,
                 from graphicshandler.cpp:23:
/usr/include/glib-2.0/glib/giochannel.h:28:2: error: #error "Only <glib.h> can
be included directly."

  The broken package here is wv2, not koffice. So you may also have to fix and
rebuild dependencies before building TDE.

-- 
David C. Rankin, J.D.,P.E.