[MacPorts] #33973: glibmm: #error "Only <glib.h> can be included directly." (was: glibmm @2.28.2 fails to built on OS X 10.5.8)

MacPorts noreply at macports.org
Tue Apr 10 03:23:55 PDT 2012


#33973: glibmm: #error "Only <glib.h> can be included directly."
---------------------------------------+------------------------------------
 Reporter:  diego.iacobucci@…          |       Owner:  devans@…           
     Type:  defect                     |      Status:  new                
 Priority:  Normal                     |   Milestone:                     
Component:  ports                      |     Version:  2.0.4              
 Keywords:                             |        Port:  glibmm             
---------------------------------------+------------------------------------
Changes (by ryandesign@…):

  * owner:  macports-tickets@… => devans@…
 * cc: devans@… (removed)
  * port:  glibmm @2.28.2 => glibmm


Comment:

 Same as many other tickets filed in the past few days, this software needs
 to be updated to work with glib 2.32. The way I've been doing this is
 finding occurrences of "#include <glib/''anything''.h>" and replacing them
 with "#include <glib.h>". A newer upstream version, if one is available,
 might already have fixed this.

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


More information about the macports-tickets mailing list