You are not logged in.

#1 2014-04-13 01:31:07

strugee
Member
Registered: 2013-07-11
Posts: 15
Website

[solved] Building with JHBuild needs the Python libxml2 package

Hi all, I'm attempting to build GNOME Music with JHBuild. It's failing with an error about needing the Python package for libxml2 while building itstool.

You can find my jhbuildrc here. Here's the log:

*** Checking out itstool *** [2/64]
*** Configuring itstool *** [2/64]
./configure --prefix /usr/local/gnome --libdir '/usr/local/gnome/lib64'  --disable-static --disable-gtk-doc PYTHON=/usr/bin/python2 
configure: WARNING: unrecognized options: --disable-static, --disable-gtk-doc
checking for a BSD-compatible install... /usr/bin/install-check
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether /usr/bin/python2 version >= 2.6... yes
checking for /usr/bin/python2 version... 2.7
checking for /usr/bin/python2 platform... linux2
checking for /usr/bin/python2 script directory... ${prefix}/lib/python2.7/site-packages
checking for /usr/bin/python2 extension module directory... ${exec_prefix}/lib/python2.7/site-packages
checking for python module libxml2... not found
configure: error: Python module libxml2 is needed to run this package
*** Error during phase configure of itstool: ########## Error running ./configure --prefix /usr/local/gnome --libdir '/usr/local/gnome/lib64'  --disable-static --disable-gtk-doc PYTHON=/usr/bin/python2  *** [2/64]

I've tried installing python2-lxml - no luck. I've also tried

sudo pip2 install lxml

again with no luck. Is there some environment variable that I need to be setting?

I've searched the BBS, I've Googled, and I've looked at the GNOME Wiki.

jhbuild sanitycheck

returns 0 with no output. I tried

jhbuild bootstrap

too - that said it built one thing (didn't say what), but did nothing to fix my problem.

Any ideas?

Last edited by strugee (2014-04-13 21:08:57)

Offline

#2 2014-04-13 12:58:46

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,567

Re: [solved] Building with JHBuild needs the Python libxml2 package

Try installing the pacakge libxml2 , looking at it's list of installed files it does include the python libxml2 module.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2014-04-13 13:44:08

jdbrown
Member
Registered: 2014-01-03
Posts: 73

Re: [solved] Building with JHBuild needs the Python libxml2 package

Does this solve your problem?

Offline

#4 2014-04-13 21:08:33

strugee
Member
Registered: 2013-07-11
Posts: 15
Website

Re: [solved] Building with JHBuild needs the Python libxml2 package

jdbrown wrote:

Does this solve your problem?

Yes, thanks so much. Should have checked the wiki...

Offline

Board footer

Powered by FluxBB