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

Re: [Xen-devel] [PATCH v7] build: add autoconf to replace custom checks in tools/check



Roger Pau Monne writes ("[PATCH v7] build: add autoconf to replace custom 
checks in tools/check"):
> Added autotools magic to replace custom check scripts. The previous
> checks have been ported to autoconf, and some additional ones have
> been added (plus the suggestions from running autoscan). Two files are
> created as a result from executing configure script, config/Tools.mk
> and config.h.
> 
> conf/Tools.mk is included by tools/Rules.mk, and contains most of the
> options previously defined in .config, that can now be set passing
> parameters or defining environment variables when executing configure
> script.
> 
> config.h is only used by libxl/xl to detect yajl_version.h.

Thanks.  Unfortunately this doesn't seem to work for me.  What I did
was:

  hg clean --all && cp ../.config .
  Apply your patch
  chmod +x ./autogen.sh ./version.sh 
  ./autogen.sh 
  chmod +x ./configure 
  cp /usr/share/misc/config.{sub,guess} tools/
  chmod +x tools/config.{sub,guess}

This produces the tree which I would check in.  I then ran:

  ./configure 
  (make -j4 && echo ok.) 2>&1 | tee ../log

This did not work correctly.  It failed like this:

  [ -d /u/iwj/work/xen-unstable-tools.hg/dist/install/boot ] || install -d 
-m0755 -p /u/iwj/work/xen-unstable-tools.hg/dist/install/boot
  install: cannot create directory `/u/iwj/work/xen-unstable-tools.hg/dist': 
Not a directory
  make[2]: *** [_install] Error 1
  make[2]: Leaving directory `/u/iwj/work/xen-unstable-tools.hg/xen'
  make[1]: *** [install] Error 2
  make[1]: Leaving directory `/u/iwj/work/xen-unstable-tools.hg/xen'
  make: *** [install-xen] Error 2
  make[2]: Leaving directory `/u/iwj/work/xen-unstable-tools.hg/docs/xen-api'
  rm -f *.aux *.dvi *.bbl *.blg *.glo *.idx *.ilg *.log *.ind *.toc
  rm -rf /u/iwj/work/xen-unstable-tools.hg/dist/install/usr/share/doc/xen
  install -d -m0755 -p 
/u/iwj/work/xen-unstable-tools.hg/dist/install/usr/share/doc/xen
  install: cannot create directory `/u/iwj/work/xen-unstable-tools.hg/dist': 
Not a directory
  make[1]: *** [install] Error 1
  make[1]: Leaving directory `/u/iwj/work/xen-unstable-tools.hg/docs'

I looked at "dist" and it is indeed a file, not a directory.  It
contains a copy of install.sh.

My .config contains this:

  CONFIG_QEMU=/u/iwj/work/1/qemu-iwj.git
  QEMU_UPSTREAM_URL=/u/iwj/work/1/qemu-upstream-unstable.git

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.