Re: [gtk-osx-users] [Gtk-osx-users] Getting Started with WebKitGTK+

On Aug 3, 2014, at 3:57 AM, Chris Share <cpsmusic yahoo com> wrote:

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

Pango does, but pangoft2 doesn't unless you specifically ask for it with meta-gtk-osx-freetype. That's a 
dependency of the WebKit module but it won't build correctly if you've already built the Gtk stack.

Don't second-guess jhbuild by building things piecemeal. Put all of the modules you need on a single command 
line and prefer the meta-modules when they're available; for example, if you want a Gtk2 stack with webkit 
you can start (almost) from scratch with 
  jhbuild build meat-gtk-osx-bootstrap meta-gtk-osx-webkit
and that will build WebKit with all of the required dependencies. For a Gtk3 stack you'd use 
meta-gtk-osx-webkit-gtk3 for the second module.

The exception to that rule is that you must run `jhbuild bootstrap` before jhbuild build.

John Ralls

Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
Gtk-osx-users mailing list
Gtk-osx-users lists sourceforge net

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]