[MacPorts] #38006: webkit-gtk @1.10.2: configure fails to find glib2: glib.h: No such file or directory (was: webkit-gtk not finding glib)

MacPorts noreply at macports.org
Tue Apr 23 01:12:49 PDT 2013


#38006: webkit-gtk @1.10.2: configure fails to find glib2: glib.h: No such file or
directory
-------------------------+------------------------
  Reporter:  bentley@…   |      Owner:  jeremyhu@…
      Type:  defect      |     Status:  reopened
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.1.3
Resolution:              |   Keywords:
      Port:  webkit-gtk  |
-------------------------+------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)


Comment:

 This ticket is about the following error in config.log:

 {{{
 configure:18064: checking for GLIB - version >= 2.32.0
 configure:18196: result: no
 configure:18224: /usr/bin/llvm-gcc-4.2 -o conftest -O2 -arch x86_64
 -I/opt/local/include/pango-1.0 -L/opt/local/lib -arch x86_64 conftest.c
 >&5
 conftest.c:29:18: error: glib.h: No such file or directory
 conftest.c: In function 'main':
 conftest.c:35: error: 'glib_major_version' undeclared (first use in this
 function)
 conftest.c:35: error: (Each undeclared identifier is reported only once
 conftest.c:35: error: for each function it appears in.)
 conftest.c:35: error: 'glib_minor_version' undeclared (first use in this
 function)
 conftest.c:35: error: 'glib_micro_version' undeclared (first use in this
 function)
 }}}

 Assuming the correct version of glib2 is already installed, this would be
 because `-I/opt/local/include` is missing from the compilation line.
 Please check whether this is still a problem with webkit-gtk @2.0.1. If
 so, please indicate what version of Xcode you're using, and whether
 updating Xcode to 4.6.2 (and updating its command line tools, by opening
 Xcode and going to the Downloads section of the Preferences window) helps.
 My suspicion is that you have an old llvm-gcc-4.2 that does not honor the
 `CPATH` variable.

 Replying to [comment:6 sasoph@…]:
 > Leopard PPC, Xcode 3.1.4, glib2 @2.36.1_0; trying to install webkit-gtk
 @2.0.1

 This is a different error which needs to be a different ticket. I'm
 experiencing this problem too so I filed #38891.

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


More information about the macports-tickets mailing list