On Aug 3, 2014, at 4:40 PM, John Ralls <[email protected]> wrote:

> 
> On Aug 2, 2014, at 8:16 AM, Pascal <[email protected]> wrote:
> 
>> Hello,
>> 
>> after a fresh install of gtk-osx on MacOS 10.9 with GTK+3:
>> …
>> cmd$ jhbuild build meta-gtk-osx-gtk3
>> 
>> when I build Glade:
>> 
>> cmd$ jhbuild build glade
>> 
>> I’ve got an error at patch phase:
>> 
>> patching file src/glade-window.c
>> Hunk #1 FAILED at 973.
>> Hunk #2 FAILED at 1000.
>> Hunk #3 FAILED at 2185.
>> Hunk #4 FAILED at 2213.
>> Hunk #5 FAILED at 2242.
>> 5 out of 5 hunks FAILED -- saving rejects to file src/glade-window.c.rej
>> *** Error during phase checkout of glade: ########## Error running patch -p1 
>> < 
>> "/Users/blady/.cache/jhbuild/Glade-master-Mac-Integration-Fix-up-menu-accelerators-for-Mac.patch"
>>  *** [1/1]
>> 
>> If I skip it, I also have got an error at configure phase:
>> 
>> checking for itstool... no
>> configure: error: itstool not found
>> *** Error during phase configure of glade: ########## Error running 
>> ./configure --prefix /Users/blady/gtk/inst --libdir 
>> '/Users/blady/gtk/inst/lib' --disable-scrollkeeper   *** [1/1]
>> 
>> How can I get itstool with glade build?
>> 
>> Thanks for help, Pascal.
>> http://blady.pagesperso-orange.fr
> 
> This required a bit of surgery. Glade should now build (make sure you either 
> use the modulesets directly from the repository or run gtk-osx-build-setup.sh 
> to get the latest ones). I didn’t test it beyond making sure that it starts.
> 

I should have mentioned as well that itstool requires the libxml2 Python 
modules, and in order for those to build you need to have built Python first. 
On the off chance this isn’t obvious, you can:
  jhbuild build Python
  jhbuild buildone -f libxml2
  jhbuild build glade

Regards,
John Ralls


_______________________________________________
Gtk-osx-users-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list

Reply via email to