[gtk-osx-users] Configuring itstool: python module libxml2... not found - again :-(
- From: Pascal <p p14 orange fr>
- To: gtk-osx-users-list gnome org
- Subject: [gtk-osx-users] Configuring itstool: python module libxml2... not found - again :-(
- Date: Mon, 20 Jan 2020 22:18:08 +0100
Hello,
I fall into a recurrent issue which keeps me puzzled.
My configuration macOS 10.15 / Xcode 11.3 with a fresh GTK-OSX install :
$ sh gtk-osx-setup.sh # Installing CPython 3.6.10
$ jhbuild bootstrap-gtk-osx
$ jhbuild build python
$ jhbuild build meta-gtk-osx-bootstrap
...
*** Configuring libxml2 *** [7/11]
/opt/2020a/src-2020/libxml2-2.9.8/configure --prefix /opt/2020a/xnadalib-2020 --libdir="$JHBUILD_LIBDIR"
--with-python --with-python-install-dir=/opt/2020a/xnadalib-2020/lib/python3.6/site-packages
...
*** Configuring itstool *** [9/11]
/opt/2020a/src-2020/itstool-2.0.6/configure --prefix /opt/2020a/xnadalib-2020
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/2020a/src-2020/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... python3
checking for python3... /opt/2020a/src-2020/.new_local/share/venv/etc-teWAGlKT/bin/python3
checking for python3 version... 3.6
checking for python3 platform... darwin
checking for python3 script directory... ${prefix}/lib/python3.6/site-packages
checking for python3 extension module directory... ${exec_prefix}/lib/python3.6/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
/opt/2020a/src-2020/itstool-2.0.6/configure --prefix /opt/2020a/xnadalib-2020 *** [9/11]
My previous builds were ok on macOS 10.13:
*** Configuring libxml2 *** [10/13]
/usr/local/src-2019/libxml2-2.9.8/configure --prefix /usr/local/xnadalib-2019 --libdir="$JHBUILD_LIBDIR"
--with-python
...
*** 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... /usr/local/xnadalib-2019/bin/python
checking for python version... 2.7
checking for python platform... darwin
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages
checking for python module libxml2... found
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating itstool
config.status: creating itstool.1
config.status: creating its/Makefile
config.status: creating setup.py
It seems it concerns Python versions but how to make itstools to get the good one?
Thanks, Pascal.
https://blady.pagesperso-orange.fr
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]