[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

2012/2/21 Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>:
> 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

I'm doing a fresh checkout and I will try to reproduce the error,
following the same steps.

> Ian.

Xen-devel mailing list



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