I'm actually encountering a related issue while recently building gedit, maybe somebody here knows a correct solution. I'm building python, libxml2, itstool, but the problem is that when I build python in a pristine environment, it somehow manages to link it's main executable to the system python framework library. This then results in failure to execute python. However, when I at this point forcefully rebuild python, it links correctly and the issue is resolved. Anyone any ideas? On Aug 5, 2014 1:37 AM, "John Ralls" <[email protected]> wrote:
> > On Aug 4, 2014, at 11:24 AM, Pascal <[email protected]> wrote: > > > 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 > > Looks like you’re using the bootstrap.modules that ships with jhbuild > rather than the one from gtk-osx-build. Run gtk-osx-build-setup.sh again, > and make sure that you use the jhbuild that it installs. Jhbuild's > modulessets don’t work on OSX. > > > 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 ;-) > > There’s https://bugreport.apple.com/problem/viewproblem, but the chance > of something like that being fixed is infinitesimal. The missing 64-bit > symbols in libiconv dates back to 10.7, has been reported to them on > several occasions, and is still there in 10.9. > > > > > 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. > > That’s a bug in Glade. Take a look at the prefix locations when you run > ./configure —help: > --datarootdir=DIR read-only arch.-independent data root > [PREFIX/share] > --datadir=DIR read-only architecture-independent data > [DATAROOTDIR] > --infodir=DIR info documentation [DATAROOTDIR/info] > --localedir=DIR locale-dependent data [DATAROOTDIR/locale] > > Clearly not true. Please file a bug. > > Regards, > John Ralls > > > > > > Regards, Pascal. > > http://blady.pagesperso-orange.fr > > > > > > Le 4 août 2014 à 02:45, John Ralls <[email protected]> a écrit : > > > >> > >> 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 >
_______________________________________________ Gtk-osx-users-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list
