Re: [gtk-osx-users] "jhbuild bootstrap" error when installing perl-xml-parser



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: 


On Apr 14, 2015, at 5:12 PM, John Ralls <jralls ceridwen us> wrote:


On Apr 14, 2015, at 4:51 PM, Scott Brenner <sbrenner gmail com> wrote:

John you ere correct, I had an INSTALL_BASE i my environment. I removed that and the bootstrap was 
successful. Now when I try to run the "jhbuild build meta-gtk-osx-bootstrap” it complains that the python 
libxml module isn’t installed. I am assuming that this is referring to the system python, and not 
something that was built during the osx-gtk install. I have tried to install the libxml module on my 
system several different ways, but each time it fails during compilation with errors and warnings. I’m on 
10.10.3 BTW.

Scott,

Yes, a known problem, apparently in the libxml2 makefile. The workaround is to select 4 - start jhbuild 
shell, then
 cd ../libxml2-2.9.2/python
 make install
 exit
and then select 1 - rerun stage build.

Regards,
John Ralls


Thanks, Scott

On Apr 13, 2015, at 9:12 PM, John Ralls <jralls ceridwen us> wrote:


On Apr 13, 2015, at 3:28 PM, Scott Brenner <sbrenner gmail com> wrote:

I am trying to build gtk, and when I try the bootstrap, I am seeing the following error. Any help in 
solving this would be appreciated.

*** Building perl-xml-parser *** [15/20]
perl Makefile.PL INSTALLDIRS=vendor PREFIX=/Users/sbrenner/gtk/inst 
EXPATLIBPATH=/Users/sbrenner/gtk/inst/lib EXPATINCPATH=/Users/sbrenner/gtk/inst/include 
Checking if your kit is complete...
Looks good
Only one of PREFIX or INSTALL_BASE can be given.  Not both.
*** Error during phase build of perl-xml-parser: ########## Error running perl Makefile.PL 
INSTALLDIRS=vendor PREFIX=/Users/sbrenner/gtk/inst EXPATLIBPATH=/Users/sbrenner/gtk/inst/lib 
EXPATINCPATH=/Users/sbrenner/gtk/inst/include  *** [15/20]

jhbuild defines PREFIX. Do you have INSTALL_BASE defined elsewhere in your environment?

Regards,
John Ralls

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


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



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