[gtk-osx-users] ITSTool building error with Python built before.



Hello,

I've made a fresh gtk-osx install with:
  jhbuild bootstrap-gtk-osx
  jhbuild build pygments
  jhbuild build meta-gtk-osx-bootstrap

I've got this error:

*** Configuring libxml2 *** [5/9]
...
/Users/me/2022a/src-2022/libxml2-2.9.12/configure --prefix /Users/me/2022a/xnadalib-2022 
--libdir="$JHBUILD_LIBDIR" --with-python  
--with-python-install-dir=/Users/me/2022a/xnadalib-2022/lib/python3.10/site-packages
...
*** Configuring itstool *** [7/9]
...
checking whether /Users/me/2022a/src-2022/.new_local/share/virtualenvs/etc-Mg3srn31/bin/python3 version is >= 
2.6... yes
...
checking for python module libxml2... /Users/me/2022a/src-2022/itstool-2.0.6/configure: line 2604: 59919 Done 
                   echo "import $py_module"
     59920 Segmentation fault: 11  | $PYTHON - >&/dev/null
not found
configure: error: Python module libxml2 is needed to run this package
*** Error during phase configure of itstool: ########## Error running 
/Users/me/2022a/src-2022/itstool-2.0.6/configure --prefix /Users/me/2022a/xnadalib-2022    *** [7/9]

itstool configure is unfortunately using $PYTHON:
        if test -n "$PYTHON"; then
      # If the user set $PYTHON, use it and don't search something else.

which is set to (in jhbuild env):
PYTHON=/Users/me/2022a/src-2022/.new_local/share/virtualenvs/etc-Mg3srn31/bin/python3

This PYTHON variable wasn't set in January'22 the last time I ran jhbuild.
Thus itstool was built ok.

What could be a workaround?

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




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