Mountain lion, retina display, <glib.h>

Brandon Allbery allbery.b at gmail.com
Tue Aug 28 07:09:11 PDT 2012


On Tue, Aug 28, 2012 at 8:17 AM, Mr Javier Urriola Yaksic <
javier.urriola at uq.net.au> wrote:

> /opt/local/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only
> <glib.h> can be included directly."
>

This is a recent API change in glib (introduced in glib 2.3).  If you
cannot get an updated version of the program you are trying to build, you
may need to reinstall an older version of glib; see <
http://trac.macports.org/wiki/howto/InstallingOlderPort >.

(Google for "only glib.h can be included directly" to see all the packages
and systems affected by this.  You could also trawl our bug tracker, as a
bunch of ports had to be updated after glib was updated to 2.3.)

-- 
brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120828/8306020c/attachment.html>


More information about the macports-users mailing list