[MacPorts] #38006: webkit-gtk not finding glib
#38006: webkit-gtk not finding glib -------------------------+-------------------------------- Reporter: bentley@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: webkit glib | Port: -------------------------+-------------------------------- Apparently it is searching for a newer version. glib appears to be popular. This is under Lion on an older 17" MBP. I had just performed a sudo port selfupdate without yet updating all the installed ports, and decided to look at gnuradio. ---> Configuring webkit-gtk Error: org.macports.configure for port webkit-gtk returned: configure failure: command execution failed Please see the log file for port webkit-gtk for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_ports_www_webkit-gtk/webkit-gtk/main.log Error: Unable to upgrade port: 1 Error rebuilding webkit-gtk while executing from main.log: :info:configure checking for GLIB - version >= 2.32.0... no :info:configure *** Could not run GLIB test program, checking why... :info:configure *** The test program failed to compile or link. See the file config.log for the :info:configure *** exact error that occured. This usually means GLIB is incorrectly installed. :info:configure configure: error: You need the GLib dev tools in your path :info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_www_webkit-gtk/webkit-gtk/work/webkitgtk-1.10.2" && ./configure --prefix=/opt/local --with-gtk=2.0 --disable-webkit2 --disable-introspection --enable-link-prefetch --enable-image-resizer --enable-media-statistics --enable-media-stream --enable-svg --enable- geolocation --enable-webgl --enable-page-visibility-api --enable-datagrid --enable-mathml --enable-web-timing --enable-mhtml --enable-microdata --enable-mutation-observers --disable-jit --enable-video-track :info:configure Exit code: 1 :error:configure org.macports.configure for port webkit-gtk returned: configure failure: command execution failed :debug:configure Error code: NONE :debug:configure Backtrace: configure failure: command execution failed while executing "$procedure $targetname" :info:configure Warning: targets not executed for webkit-gtk: org.macports.install org.macports.configure org.macports.build org.macports.destroot :notice:configure Please see the log file for port webkit-gtk for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_ports_www_webkit-gtk/webkit-gtk/main.log -- Ticket URL: <https://trac.macports.org/ticket/38006> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38006: webkit-gtk not finding glib -------------------------+------------------------ Reporter: bentley@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: webkit-gtk | -------------------------+------------------------ Changes (by larryv@…): * cc: devans@… (added) * owner: macports-tickets@… => jeremyhu@… * keywords: webkit glib => * type: update => defect * port: => webkit-gtk Old description:
Apparently it is searching for a newer version. glib appears to be popular. This is under Lion on an older 17" MBP. I had just performed a sudo port selfupdate without yet updating all the installed ports, and decided to look at gnuradio.
---> Configuring webkit-gtk Error: org.macports.configure for port webkit-gtk returned: configure failure: command execution failed Please see the log file for port webkit-gtk for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_ports_www_webkit-gtk/webkit-gtk/main.log Error: Unable to upgrade port: 1 Error rebuilding webkit-gtk while executing
from main.log:
:info:configure checking for GLIB - version >= 2.32.0... no :info:configure *** Could not run GLIB test program, checking why... :info:configure *** The test program failed to compile or link. See the file config.log for the :info:configure *** exact error that occured. This usually means GLIB is incorrectly installed. :info:configure configure: error: You need the GLib dev tools in your path :info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_www_webkit-gtk/webkit-gtk/work/webkitgtk-1.10.2" && ./configure --prefix=/opt/local --with-gtk=2.0 --disable-webkit2 --disable-introspection --enable-link-prefetch --enable-image-resizer --enable-media-statistics --enable-media-stream --enable-svg --enable- geolocation --enable-webgl --enable-page-visibility-api --enable-datagrid --enable-mathml --enable-web-timing --enable-mhtml --enable-microdata --enable-mutation-observers --disable-jit --enable-video-track :info:configure Exit code: 1 :error:configure org.macports.configure for port webkit-gtk returned: configure failure: command execution failed :debug:configure Error code: NONE :debug:configure Backtrace: configure failure: command execution failed while executing "$procedure $targetname" :info:configure Warning: targets not executed for webkit-gtk: org.macports.install org.macports.configure org.macports.build org.macports.destroot :notice:configure Please see the log file for port webkit-gtk for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_ports_www_webkit-gtk/webkit-gtk/main.log
New description: Apparently it is searching for a newer version. glib appears to be popular. This is under Lion on an older 17" MBP. I had just performed a sudo port selfupdate without yet updating all the installed ports, and decided to look at gnuradio. {{{ ---> Configuring webkit-gtk Error: org.macports.configure for port webkit-gtk returned: configure failure: command execution failed Please see the log file for port webkit-gtk for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_ports_www_webkit-gtk/webkit-gtk/main.log Error: Unable to upgrade port: 1 Error rebuilding webkit-gtk while executing }}} from main.log: {{{ :info:configure checking for GLIB - version >= 2.32.0... no :info:configure *** Could not run GLIB test program, checking why... :info:configure *** The test program failed to compile or link. See the file config.log for the :info:configure *** exact error that occured. This usually means GLIB is incorrectly installed. :info:configure configure: error: You need the GLib dev tools in your path :info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_www_webkit-gtk/webkit-gtk/work/webkitgtk-1.10.2" && ./configure --prefix=/opt/local --with-gtk=2.0 --disable-webkit2 --disable-introspection --enable-link-prefetch --enable-image-resizer --enable-media-statistics --enable-media-stream --enable-svg --enable- geolocation --enable-webgl --enable-page-visibility-api --enable-datagrid --enable-mathml --enable-web-timing --enable-mhtml --enable-microdata --enable-mutation-observers --disable-jit --enable-video-track :info:configure Exit code: 1 :error:configure org.macports.configure for port webkit-gtk returned: configure failure: command execution failed :debug:configure Error code: NONE :debug:configure Backtrace: configure failure: command execution failed while executing "$procedure $targetname" :info:configure Warning: targets not executed for webkit-gtk: org.macports.install org.macports.configure org.macports.build org.macports.destroot :notice:configure Please see the log file for port webkit-gtk for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_ports_www_webkit-gtk/webkit-gtk/main.log }}} -- Comment: Thanks for the ticket. In the future, please Cc relevant port maintainers. -- Ticket URL: <https://trac.macports.org/ticket/38006#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38006: webkit-gtk not finding glib -------------------------+------------------------ Reporter: bentley@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: webkit-gtk | -------------------------+------------------------ Comment (by jeremyhu@…): Macports glib2 port is at version 2.34.3. webkit-gtk depends on gtk2 which depends on glib2. Please attach config.log from your webkit-gtk's worksrcpath. -- Ticket URL: <https://trac.macports.org/ticket/38006#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38006: webkit-gtk not finding glib -------------------------+------------------------ Reporter: bentley@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: webkit-gtk | -------------------------+------------------------ Comment (by jeremyhu@…): Also, what is the output of: {{{ pkg-config --cflags glib-2.0 pkg-config --modversion glib-2.0 }}} -- Ticket URL: <https://trac.macports.org/ticket/38006#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
Ticket updated. I think. :) -Mike On 2/10/13 12:27 AM, MacPorts wrote:
#38006: webkit-gtk not finding glib -------------------------+------------------------ Reporter: bentley@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: webkit-gtk | -------------------------+------------------------
Comment (by jeremyhu@…):
Also, what is the output of: {{{ pkg-config --cflags glib-2.0 pkg-config --modversion glib-2.0 }}}
#38006: webkit-gtk not finding glib -------------------------+------------------------ Reporter: bentley@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: webkit-gtk | -------------------------+------------------------ Comment (by bentley@…): bentley-MBP-OSX:~ bentley$ pkg-config --cflags glib-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include bentley-MBP-OSX:~ bentley$ pkg-config --modversion glib-2.0 2.28.8 -- Ticket URL: <https://trac.macports.org/ticket/38006#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38006: webkit-gtk not finding glib -------------------------+------------------------ Reporter: bentley@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: worksforme | Keywords: Port: webkit-gtk | -------------------------+------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => worksforme Comment: Ok, well... glib2 is a dependency of webkit-gtk2. It looks like your port tree is out of date... do a 'port -v sync' -- Ticket URL: <https://trac.macports.org/ticket/38006#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38006: webkit-gtk not finding glib -------------------------+------------------------ Reporter: bentley@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: webkit-gtk | -------------------------+------------------------ Changes (by sasoph@…): * status: closed => reopened * resolution: worksforme => Comment: Leopard PPC, Xcode 3.1.4, glib2 @2.36.1_0; trying to install webkit-gtk @2.0.1 [[br]] "port -v sync" done {{{ :info:configure checking for GLIB - version >= 2.36.0... no
pkg-config --modversion glib-2.0 2.36.1
pkg-config --cflags glib-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include }}}
-- Ticket URL: <https://trac.macports.org/ticket/38006#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#38006: webkit-gtk not finding glib -------------------------+------------------------ Reporter: bentley@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: webkit-gtk | -------------------------+------------------------ Comment (by jeremyhu@…): Attach your config.log ... -- Ticket URL: <https://trac.macports.org/ticket/38006#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#38006: webkit-gtk not finding glib -------------------------+------------------------ Reporter: bentley@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: webkit-gtk | -------------------------+------------------------ Comment (by sasoph@…): Incidentally, this is for the quartz variant which I need to install gimp on PPC. -- Ticket URL: <https://trac.macports.org/ticket/38006#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#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
#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: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: worksforme | Keywords: Port: webkit-gtk | -------------------------+------------------------ Changes (by jeremyhu@…): * status: reopened => closed * resolution: => worksforme Comment: No response, closing. -- Ticket URL: <https://trac.macports.org/ticket/38006#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
participants (2)
-
MacPorts
-
Michael Brian Bentley