Re: [gtk-osx-users] Building Glade on MaxOS 10.9.



Many thanks John, all is ok now.

You’re right, Python have to be installed at first with MacOS 10.9 as an error is issued while bootstrapping:
$ jhbuild bootstrap
...
  CCLD   libxsltmod.la
ld: library not found for -lpython2.7

May I suggest that documentation needed to be more precise on this point with MacOS 10.9.
https://wiki.gnome.org/Projects/GTK%2B/OSX/Building

I also read in the documentation an issue with libiconv from MacOS. Is there a way to report these points to 
Apple? In order to have a ”small” chance that there will be fixed ;-)

PS for French (or non English speakers), Glade make puts locales in /lib instead of /share, for instance, a 
simple copy from ~/gtk/inst/lib/locale/fr/LC_MESSAGES/glade.mo to ~/gtk/inst/share/locale/fr/LC_MESSAGES 
fixes this drawback.

Regards, Pascal.
http://blady.pagesperso-orange.fr


Le 4 août 2014 à 02:45, John Ralls <jralls ceridwen us> a écrit :


On Aug 3, 2014, at 4:40 PM, John Ralls <jralls ceridwen us> wrote:


On Aug 2, 2014, at 8:16 AM, Pascal <p p14 orange fr> 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





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