On 14-12-23 12:23 PM, Philip Chimento wrote:
On Tue, Dec 23, 2014 at 12:50 PM, Jim Charlton <[email protected]
<mailto:[email protected]>> wrote:
I am building gtk-osx on MAC Yosemite 10.10
1. gtk-osx-build-setup.sh
2. export PATH=$PATH:/Users/chartech/.local/bin
3. Added lines
checkoutroot =
os.path.expanduser("/Applications/Drumroaster/gtk/Source/gtk")
prefix = os.path.expanduser("/Applications/Drumroaster/gtk/inst")
os.environ["ARCHFLAGS"] = "-arch x86_64"
to .jhbuildrc-custom as I want the installation in a non-standard
location.
4. jhbuild bootstrap
5. alias
jhbuild="PATH=/Applications/Drumroaster/gtk/inst/bin:$PATH jhbuild"
6. jhbuild build python
7. jhbuild build meta-gtk-osx-bootstrap
In step 7 I get a configure error while building itstool.
"configure: error: Python module libxml2 is needed to run this
package"
I have run this sequence before on MAVERICKS (10.9.5) with no
problem. Must be something about the way the python libs are
being installed or used but I cannot figure it out.
Any help would be appreciated.
You may need to set the PYTHONPATH environment variable to include
/Applications/Drumroaster/gtk/inst/lib/python2.7/site-packages (check
that there is a libxml2.py file there.)
Regards,
--
Philip
A further comment... and perhaps a solution to my problem.
I checked and the installed version of python on MAC 10.10 is 2.7.6. I
reasoned that the problem I was having was caused by having two
installations of python. So I started again as above but I left out the
'jhbuild build python' step. Now the next step 'jhbuild build
meta-gtk-osx-bootstrap' completes successfully!
Thanks for listening to my moaning! :-)
jim...
_______________________________________________
Gtk-osx-devel-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtk-osx-devel-list