It’s failing because it can’t find the libxml2 module.

configure:2376: checking for /Users/sbrenner/gtk/inst/bin/python extension 
module directory
configure:2405: result: ${exec_prefix}/lib/python2.7/site-packages
configure:2420: checking for python module libxml2
configure:2424: result: not found
configure:2426: error: Python module libxml2 is needed to run this package

But, it looks like the module is there.


bash-3.2$ cd inst/lib/python2.7/site-packages/
bash-3.2$ ls
README         drv_libxml2.py libxml2.py     libxml2.pyc    libxml2mod.a   
libxml2mod.la  libxml2mod.so

Thanks, Scott


> On Apr 14, 2015, at 7:55 PM, John Ralls <[email protected]> wrote:
> 
> 
>> On Apr 14, 2015, at 5:46 PM, Scott Brenner <[email protected]> wrote:
>> 
>> John, I attempted your fix, but it doesn’t seem to be working. Output below.
>> 
>> Thanks, Scott
>> 
>> configure: error: Python module libxml2 is needed to run this package
>> *** Error during phase configure of itstool: ########## Error running 
>> ./configure --prefix /Users/sbrenner/gtk/inst --libdir 
>> '/Users/sbrenner/gtk/inst/lib'    *** [8/13]
>> 
>> [1] Rerun phase configure
>> [2] Ignore error and continue to build
>> [3] Give up on module
>> [4] Start shell
>> [5] Reload configuration
>> [6] Go to phase "wipe directory and start over"
>> [7] Go to phase "clean"
>> [8] Go to phase "distclean"
>> choice: 4
>> exit shell to continue with build
>> bash-3.2$ ../libxml2-2.9.2/python/
>> bash: ../libxml2-2.9.2/python/: is a directory
>> bash-3.2$ cd ../libxml2-2.9.2/python/
>> bash-3.2$ make install
>> /Applications/Xcode.app/Contents/Developer/usr/bin/make  install-recursive
>> Making install in .
>> make[3]: Nothing to be done for `install-exec-am'.
>> /usr/local/bin/gmkdir -p 
>> '/Users/sbrenner/gtk/inst/share/doc/libxml2-python-2.9.2'
>> /Users/sbrenner/.local/bin/install-check -m 644 TODO 
>> '/Users/sbrenner/gtk/inst/share/doc/libxml2-python-2.9.2'
>> /usr/local/bin/gmkdir -p 
>> '/Users/sbrenner/gtk/inst/lib/python2.7/site-packages'
>> /Users/sbrenner/.local/bin/install-check -m 644 drv_libxml2.py libxml2.py 
>> '/Users/sbrenner/gtk/inst/lib/python2.7/site-packages'
>> /usr/local/bin/gmkdir -p 
>> '/Users/sbrenner/gtk/inst/lib/python2.7/site-packages'
>> /bin/sh ../libtool   --mode=install /Users/sbrenner/.local/bin/install-check 
>>   libxml2mod.la '/Users/sbrenner/gtk/inst/lib/python2.7/site-packages'
>> libtool: install: /Users/sbrenner/.local/bin/install-check 
>> .libs/libxml2mod.so 
>> /Users/sbrenner/gtk/inst/lib/python2.7/site-packages/libxml2mod.so
>> libtool: install: /Users/sbrenner/.local/bin/install-check 
>> .libs/libxml2mod.lai 
>> /Users/sbrenner/gtk/inst/lib/python2.7/site-packages/libxml2mod.la
>> libtool: install: /Users/sbrenner/.local/bin/install-check 
>> .libs/libxml2mod.a 
>> /Users/sbrenner/gtk/inst/lib/python2.7/site-packages/libxml2mod.a
>> libtool: install: chmod 644 
>> /Users/sbrenner/gtk/inst/lib/python2.7/site-packages/libxml2mod.a
>> libtool: install: ranlib 
>> /Users/sbrenner/gtk/inst/lib/python2.7/site-packages/libxml2mod.a
>> Making install in tests
>> make[3]: Nothing to be done for `install-exec-am'.
>> /usr/local/bin/gmkdir -p 
>> '/Users/sbrenner/gtk/inst/share/doc/libxml2-python-2.9.2/examples'
>> /Users/sbrenner/.local/bin/install-check -m 644 build.py attribs.py tst.py 
>> tstxpath.py xpathext.py push.py pushSAX.py pushSAXhtml.py error.py 
>> serialize.py validate.py tstURI.py cutnpaste.py xpathret.py xpath.py 
>> outbuf.py inbuf.py input_callback.py resolver.py regexp.py reader.py 
>> reader2.py reader3.py reader4.py reader5.py reader6.py reader7.py reader8.py 
>> readernext.py walker.py nsdel.py ctxterror.py readererr.py relaxng.py 
>> schema.py thread2.py sync.py tstLastError.py indexes.py dtdvalid.py 
>> '/Users/sbrenner/gtk/inst/share/doc/libxml2-python-2.9.2/examples'
>> /Users/sbrenner/.local/bin/install-check -m 644 tstmem.py validDTD.py 
>> validSchemas.py validRNG.py compareNodes.py xpathns.py xpathleak.py tst.xml 
>> valid.xml invalid.xml test.dtd 
>> '/Users/sbrenner/gtk/inst/share/doc/libxml2-python-2.9.2/examples'
>> bash-3.2$ exit
>> exit
>> 
>> [1] Rerun phase configure
>> [2] Ignore error and continue to build
>> [3] Give up on module
>> [4] Start shell
>> [5] Reload configuration
>> [6] Go to phase "wipe directory and start over"
>> [7] Go to phase "clean"
>> [8] Go to phase "distclean"
>> choice: 1
>> *** Configuring itstool *** [8/13]
>> ./configure --prefix /Users/sbrenner/gtk/inst --libdir 
>> '/Users/sbrenner/gtk/inst/lib'   
>> checking for a BSD-compatible install... 
>> /Users/sbrenner/.local/bin/install-check
>> checking whether build environment is sane... yes
>> checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
>> checking for gawk... no
>> checking for mawk... no
>> checking for nawk... no
>> checking for awk... awk
>> checking whether make sets $(MAKE)... yes
>> checking whether /Users/sbrenner/gtk/inst/bin/python version >= 2.6... yes
>> checking for /Users/sbrenner/gtk/inst/bin/python version... 2.7
>> checking for /Users/sbrenner/gtk/inst/bin/python platform... darwin
>> checking for /Users/sbrenner/gtk/inst/bin/python script directory... 
>> ${prefix}/lib/python2.7/site-packages
>> checking for /Users/sbrenner/gtk/inst/bin/python extension module 
>> directory... ${exec_prefix}/lib/python2.7/site-packages
>> checking for python module libxml2... ./configure: line 2422: 54473 Done     
>>                echo "import $py_module"
>>    54474 Abort trap: 6           | python - >&/dev/null
>> not found
>> configure: error: Python module libxml2 is needed to run this package
>> *** Error during phase configure of itstool: ########## Error running 
>> ./configure --prefix /Users/sbrenner/gtk/inst --libdir 
>> '/Users/sbrenner/gtk/inst/lib'    *** [8/13]
>> 
>> [1] Rerun phase configure
>> [2] Ignore error and continue to force_checkout
>> [3] Give up on module
>> [4] Start shell
>> [5] Reload configuration
>> [6] Go to phase "wipe directory and start over"
>> [7] Go to phase "clean"
>> [8] Go to phase "distclean"
>> choice: 
> 
> 
> Hmm. Looks like everything got installed. Have a look in 
> itstool-2.0.2/config.log and see why it's failing.
> 
> Regards,
> John Ralls
> 
> _______________________________________________
> Gtk-osx-users-list mailing list
> [email protected]
> https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list

_______________________________________________
Gtk-osx-users-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list

Reply via email to