[MacPorts] #33947: gtksourceview: #error "Only <glib.h> can be included directly."

MacPorts noreply at macports.org
Sat Apr 21 10:58:14 PDT 2012


#33947: gtksourceview: #error "Only <glib.h> can be included directly."
-----------------------------------+----------------------------------------
  Reporter:  zjoneshawaii@…        |       Owner:  ryandesign@…           
      Type:  defect                |      Status:  closed                 
  Priority:  Normal                |   Milestone:                         
 Component:  ports                 |     Version:  2.0.4                  
Resolution:  fixed                 |    Keywords:                         
      Port:  gtksourceview         |  
-----------------------------------+----------------------------------------

Comment(by kato23@…):

 A quick fix for the same {{{#error "Only <glib.h> can be included
 directly."}}} when building {{{geda-gaf}}}[[BR]] is to add {{{configure
 .cflags-append -DGLIB_COMPILATION}}} to the
 [https://trac.macports.org/browser/trunk/dports/science/geda-gaf/Portfile
 geda-gaf Portfile].

-- 
Ticket URL: <https://trac.macports.org/ticket/33947#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list