[MacPorts] #45413: gtk2 @ 2.24.25 fatal error: 'glib.h' file not found

MacPorts noreply at macports.org
Thu Oct 16 13:21:41 PDT 2014


#45413: gtk2 @ 2.24.25 fatal error: 'glib.h' file not found
-------------------------------------------+-------------------------------
 Reporter:  stflightning@…                 |      Owner:  macports-
     Type:  defect                         |  tickets@…
 Priority:  Normal                         |     Status:  new
Component:  ports                          |  Milestone:
 Keywords:  gtk2 glib.h glib gtk yosemite  |    Version:  2.3.1
                                           |       Port:  gtk2
-------------------------------------------+-------------------------------
 OS: OS X Yosemite 10.10 - Appleseed Beta 6
 [[BR]]
 Xcode: Xcode 6.1 GM Seed 2 for OS X Yosemite

 What appears to keep happening, is in the {{{--->  Building gtk2}}} phase,
 I get numerous errors saying {{{fatal error: 'glib.h' file not found}}}
 and one error saying {{{fatal error: 'gio/gio.h' file not found}}}. I have
 tried {{{sudo port clean gtk2 && sudo port install gtk2}}} numerous times,
 but it fails every single time when it gets to:
  {{{Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk2/gtk2/work/gtk+-2.24.25/gdk/x11'}}}[[BR]]

 It has some compile commands which appear to be fine then this command

  {{{ /usr/bin/clang -arch x86_64 -DHAVE_CONFIG_H -I. -I../..
 -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk
 -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/pango-1.0
 -I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0
 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include
 -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16
 -I/opt/local/include/cairo -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 -I/opt/local/include/pixman-1 -I/opt/local/include
 -I/opt/local/include/freetype2 -I/opt/local/include
 -I/opt/local/include/libpng16 -I/opt/local/include
 -I/opt/local/include/freetype2 -I/opt/local/include
 -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include
 -DX_LOCALE -D_IPP_PRIVATE_STRUCTURES=1 -DG_DISABLE_SINGLE_INCLUDES
 -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES
 -DGTK_DISABLE_SINGLE_INCLUDES -I/opt/local/include
 -DGDK_PIXBUF_DISABLE_DEPRECATED -pipe -Os -fstrict-aliasing -arch x86_64
 -Wall -MT gdkapplaunchcontext-x11.lo -MD -MP -MF
 .deps/gdkapplaunchcontext-x11.Tpo -c gdkapplaunchcontext-x11.c  -fno-
 common -DPIC -o .libs/gdkapplaunchcontext-x11.o}}}
 comes along and breaks the install with the errors mentioned above. In
 case I have missed any important details I'm attaching the full log as
 well.

 Thanks in advance,[[BR]]
 Sébastien

-- 
Ticket URL: <https://trac.macports.org/ticket/45413>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list