Re: [gtk-osx-users] Checking for python module libxml2 ... not found




Le 28 juil. 2019 à 18:27, Pascal <p p14 orange fr> a écrit :

Hello,

I'v' the following error
$ jhbuild build meta-gtk-osx-bootstrap
<...>
*** Configuring itstool *** [11/13]
/usr/local/src-2019/itstool-2.0.6/configure --prefix /usr/local/xnadalib-2019   
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/src-2019/itstool-2.0.6/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for a Python interpreter with version >= 2.6... python
checking for python... 
/Volumes/Snowy-HD/Users/pascalpignard/Documents/Programmation/GTK-OSX/.new_local/share/venv/etc--kcZ2eEP/bin/python
checking for python version... 3.6
checking for python platform... darwin
checking for python script directory... ${prefix}/lib/python3.6/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python3.6/site-packages
checking for python module libxml2... /usr/local/src-2019/itstool-2.0.6/configure: line 2604: 83207 Done    
                echo "import $py_module"
    83208 Abort trap: 6           | $PYTHON - >&/dev/null
not found
configure: error: Python module libxml2 is needed to run this package

Searching above I've found the following warnings:
*** Installing libxml2 *** [10/13]
<...>
libtool: install: ranlib 
/usr/local/xnadalib-2019/_jhbuild/root-libxml2/usr/local/xnadalib-2019/lib/libxml2.a
libtool: warning: remember to run 'libtool --finish /usr/local/xnadalib-2019/lib'
/usr/local/src-2019/libxml2-2.9.8/install-sh -c -d 
'/usr/local/xnadalib-2019/_jhbuild/root-libxml2/usr/local/xnadalib-2019/bin'
 /bin/sh ./libtool   --mode=install /usr/bin/install -c xmllint xmlcatalog 
'/usr/local/xnadalib-2019/_jhbuild/root-libxml2/usr/local/xnadalib-2019/bin'
libtool: warning: './libxml2.la' has not been installed in '/usr/local/xnadalib-2019/lib'
libtool: install: /usr/bin/install -c .libs/xmllint 
/usr/local/xnadalib-2019/_jhbuild/root-libxml2/usr/local/xnadalib-2019/bin/xmllint
libtool: warning: './libxml2.la' has not been installed in '/usr/local/xnadalib-2019/lib'
libtool: install: /usr/bin/install -c .libs/xmlcatalog 
/usr/local/xnadalib-2019/_jhbuild/root-libxml2/usr/local/xnadalib-2019/bin/xmlcatalog
/usr/local/src-2019/libxml2-2.9.8/install-sh -c -d 
'/usr/local/xnadalib-2019/_jhbuild/root-libxml2/usr/local/xnadalib-2019/bin'
<..>>
libtool: install: ranlib 
/usr/local/xnadalib-2019/_jhbuild/root-libxml2/usr/local/xnadalib-2019/lib/python3.6/site-packages/libxml2mod.a
libtool: warning: remember to run 'libtool --finish /usr/local/xnadalib-2019/lib/python3.6/site-packages'

Is it related with my configuration (see previous message)?

Hello again,

I had forgot to build Python:
$ jhbuild build python

Building itstool is now ok, sorry for the noise.

Maybe, it would be still worth to mention it on wiki:
https://wiki.gnome.org/Projects/GTK/OSX/Building

PS: by the way:
The shell script name gtk-osx-setup.sh and link is not correct in section Getting Started page:
https://www.gtk.org/download/macos.php

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




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