On 14-12-23 12:23 PM, Philip Chimento
wrote:
Further to my initial posting, the configure error comes from .../gtk/Source/gtk/itstool-2.0.2/configure . . . py_module=libxml2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module $py_module" >&5 $as_echo_n "checking for python module $py_module... " >&6; } echo "import $py_module" | python - &>/dev/null if test $? -ne 0; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 $as_echo "not found" >&6; } as_fn_error $? "Python module $py_module is needed to run this package" "$LINENO" 5 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 $as_echo "found" >&6; } fi . . . The if test $? ... fails and the error is generated. But the file libxml2.py does exist at /Applications/Drumroaster/gtk/inst/lib/python2.7/site-packages/libxml2.py and PYTHON environment variables are set as PYTHON=/Applications/Drumroaster/gtk/inst/bin/python PYTHONPATH=/Applications/Drumroaster/gtk/inst/lib/python2.7:/Applications/Drumroaster/gtk/inst/lib/python2.7/site-packages/gtk-2.0:/Applications/Drumroaster/gtk/inst/lib/python2.7/site-packages PYTHON_SITE_PACKAGES=/Applications/Drumroaster/gtk/inst/lib/python2.7/site-packages If I edit the configure script to force the "if test $? ... line to exit to the "else" statement then the installation of itstool completes. But then 'jhbuild build meta-gtk-osx-bootstrap' will fail later at *** Building gtk-doc *** [12/13] make -j 2 Making all in help Making all in manual GEN bn_IN/ GEN de/ Fatal Python error: PyThreadState_Get: no current thread Fatal Python error: PyThreadState_Get: no current thread /bin/sh: line 1: 3055 Abort trap: 6 itstool -m "${mo}" ${d}/C/index.docbook ${d}/C/fdl-appendix.xml make[2]: *** [de/de.stamp] Error 134 make[2]: *** Waiting for unfinished jobs.... /bin/sh: line 1: 3054 Abort trap: 6 itstool -m "${mo}" ${d}/C/index.docbook ${d}/C/fdl-appendix.xml make[2]: *** [bn_IN/bn_IN.stamp] Error 134 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 *** Error during phase build of gtk-doc: ########## Error running make -j 2 *** [12/13] I may eventually figure this out. Best of the season... jim... |