Re: [gtk-osx-users] Problem to install Gtk with Jhbuild




On Apr 25, 2013, at 12:35 PM, Fabrice CLAIR <fabrice clair gmail com> wrote:

Hi all,

I'm trying to install Gtk on Mac OSX 10.7 Lion
I follow the steps from https://live.gnome.org/GTK+/OSX/Building
$ jhbuild bootstrap

$ jhbuild build meta-gtk-osx-bootstrap

$ jhbuild build meta-gtk-osx-core
and then 
$ jhbuild build gimp
My problem is:

MacBook-Pro-de-Fabrice:~ clairfabrice$ jhbuild build gimp
*** Checking out lcms *** [1/8]
*** Skipping lcms (package and dependencies not updated) *** [1/8]
*** Checking out expat *** [2/8]
*** Skipping expat (package and dependencies not updated) *** [2/8]
*** Checking out zlib *** [3/8]
*** Skipping zlib (package and dependencies not updated) *** [3/8]
*** Checking out freetype *** [4/8]
*** Skipping freetype (package and dependencies not updated) *** [4/8]
*** Checking out fontconfig *** [5/8]
*** Skipping fontconfig (package and dependencies not updated) *** [5/8]
*** Checking out babl *** [6/8]
*** Building babl *** [6/8]
make  
make  all-recursive
Making all in babl
Making all in base
make[3]: Nothing to be done for `all'.
  CC     babl-palette.lo
babl-palette.c:22:20: error: values.h: No such file or directory
babl-palette.c: In function 'babl_palette_lookup':
babl-palette.c:93: error: 'INT_MAX' undeclared (first use in this function)
babl-palette.c:93: error: (Each undeclared identifier is reported only once
babl-palette.c:93: error: for each function it appears in.)
make[3]: *** [babl-palette.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
*** Error during phase build of babl: ########## Error running make   *** [6/8]

  [1] Rerun phase build
  [2] Ignore error and continue to install
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "configure"
  [8] Go to phase "clean"
  [9] Go to phase "distclean"
choice: 3
*** module gegl not built due to non buildable babl *** [7/8]
*** module gimp not built due to non buildable gegl *** [8/8]
*** the following modules were not built *** [8/8]
babl gegl gimp
MacBook-Pro-de-Fabrice:~ clairfabrice$ 

Any idea?

Turns out your real problem was likely

I: Install complete: 13 files copied
*** Checking out babl *** [26/28]
bunzip2 -dc "/Users/john/Development/gtk-downloads/babl-0.1.10.tar.bz2" | tar xf -
*** Error during phase checkout of babl: could not download patch (error: 404) *** [26/28]

But you skipped over it, and jhbuild doesn't try again to apply patches. I've pushed
a fixed moduleset. You'll need to select [6] Wipe directory and start over to get babl to build correctly.

Note also that gimp requires pangoft2, and that in turn requires meta-gtk-osx-freetype. You'll need to build 
the latter then rebuild pango with --force --clean 
in order to get gimp to build.

Regards,
John Ralls



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