Re: [gtk-osx-devel] configure: error: Python module libxml2 is needed to run this package



On Tue, Dec 23, 2014 at 12:50 PM, Jim Charlton <charltn gmail com> 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


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