Re: [Gtk-osx-users] [gtk-osx-users] Getting Started with WebKitGTK+
Status: Beta
Brought to you by:
jralls
From: Chris S. <cps...@ya...> - 2014-08-03 11:00:15
|
I've reinstalled gtk (and gtkmm) however I'm running into a problem when trying to install WebKit. I'm getting the following error: checking for PANGO... no configure: error: Package requirements (pango >= 1.12 pangoft2) were not met: No package 'pangoft2' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables PANGO_CFLAGS and PANGO_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. *** Error during phase configure of WebKit: ########## Error running ./configure --prefix /Users/chris/gtk/inst --libdir '/Users/chris/gtk/inst/lib' --with-target=quartz --disable-video --with-font-backend=pango --with-gtk=2.0 *** [18/18] Doesn't pango get installed as part of gtk? When I check for pango I get the following: New-MacBook:~ chris$ pkg-config --list-all | grep pango pango Pango - Internationalized text handling pangocairo Pango Cairo - Cairo rendering support for Pango pangomm-1.4 pangomm - C++ binding for Pango New-MacBook:~ chris$ pkg-config --modversion pango 1.36.0 ----- Original Message ----- From: John Ralls <jr...@ce...> To: Chris Share <cps...@ya...> Cc: GTK+-2 OSX Users <gtk...@li...> Sent: Sunday, 3 August 2014 12:01 AM Subject: Re: [gtk-osx-users] [Gtk-osx-users] Getting Started with WebKitGTK+ On Aug 1, 2014, at 10:29 PM, Chris Share <cps...@ya...> wrote: > > > I'm a bit suspicious of the following: > > ./configure: line 3619: /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2: No such file or directory > > Is this the cause of the problem? > > If so, how do I fix it? Just suspicious, huh? Yes, that's very likely the reason that the C compiler can't compile a program. It's hard to compile when it's not there. llvm-gcc-4.2 was the gcc emulation compiler in Xcode 4.x; in Xcode 5.x it's merged into clang and gcc is symlinked to clang. .jhbuildrc has worked with that since last December, so unless you've managed to get an old version of Gtk-OSX it's coming from some override you provided. Here's another nugget: You should already have libffi installed because it's a dependency of GLib. So you've managed to confuse your build environment somehow. You can either figure out what's confused or you can remove the build and start over. If you choose the latter, I suggest that you also delete ~/.local, ~/Source, and ~/.jhbuildrc and if you've customized ~/.jhbuildrc-custom move it aside, re-fetch gtk-osx-build-setup.sh and run that to get a truly clean build environment. Don't forget to preserve your application moduleset, and you probably want to preserve your tarballdir so you don't have to re-download everything. Regards, John Ralls |