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

Re: [Xen-users] Error in "make tools" for Xen-4.2-unstable



Hi,

I have went into directory xen-unstable.hg/config and renamed the file Tools.mk.in to Tools.mk.

"make tools" step went a bit further but still results in an error.

teo-en-ming@ubuntu-1110-amd64-desktop:~/xen-unstable.hg$ make tools
make -C tools qemu-xen-traditional-dir-find
make[1]: Entering directory `/home/teo-en-ming/xen-unstable.hg/tools'
set -ex; \
    if test -d git://xenbits.xensource.com/qemu-xen-unstable.git; then \
        mkdir -p qemu-xen-traditional-dir; \
    else \
        export GIT=git; \
        /home/teo-en-ming/xen-unstable.hg/tools/../scripts/git-checkout.sh git://xenbits.xensource.com/qemu-xen-unstable.git 2503d4d5a29e7af8dffd1e11229e11c1917d2ccf qemu-xen-traditional-dir; \
    fi
+ test -d git://xenbits.xensource.com/qemu-xen-unstable.git
+ export GIT=git
+ /home/teo-en-ming/xen-unstable.hg/tools/../scripts/git-checkout.sh git://xenbits.xensource.com/qemu-xen-unstable.git 2503d4d5a29e7af8dffd1e11229e11c1917d2ccf qemu-xen-traditional-dir
Cloning into qemu-xen-traditional-dir-remote.tmp...
remote: Counting objects: 106621, done.
remote: Compressing objects: 100% (28139/28139), done.
remote: Total 106621 (delta 81665), reused 102727 (delta 78350)
Receiving objects: 100% (106621/106621), 36.62 MiB | 638 KiB/s, done.
Resolving deltas: 100% (81665/81665), done.
Switched to a new branch 'dummy'
make[1]: Leaving directory `/home/teo-en-ming/xen-unstable.hg/tools'
make -C tools qemu-xen-dir-find
make[1]: Entering directory `/home/teo-en-ming/xen-unstable.hg/tools'
if test -d git://xenbits.xen.org/qemu-upstream-unstable.git ; then \
        mkdir -p qemu-xen-dir; \
    else \
        export GIT=git; \
        /home/teo-en-ming/xen-unstable.hg/tools/../scripts/git-checkout.sh git://xenbits.xen.org/qemu-upstream-unstable.git master qemu-xen-dir ; \
    fi
Cloning into qemu-xen-dir-remote.tmp...
remote: Counting objects: 92177, done.
remote: Compressing objects: 100% (19620/19620), done.
remote: Total 92177 (delta 73021), reused 91570 (delta 72438)
Receiving objects: 100% (92177/92177), 34.70 MiB | 1.28 MiB/s, done.
Resolving deltas: 100% (73021/73021), done.
Switched to a new branch 'dummy'
make[1]: Leaving directory `/home/teo-en-ming/xen-unstable.hg/tools'
make -C tools install
make[1]: Entering directory `/home/teo-en-ming/xen-unstable.hg/tools'
make[2]: Entering directory `/home/teo-en-ming/xen-unstable.hg/tools'
make -C include install
make[3]: Entering directory `/home/teo-en-ming/xen-unstable.hg/tools/include'
make -C xen-foreign
make[4]: Entering directory `/home/teo-en-ming/xen-unstable.hg/tools/include/xen-foreign'
make[4]: PYTHON@: Command not found
make[4]: *** [x86_32.h] Error 127
make[4]: Leaving directory `/home/teo-en-ming/xen-unstable.hg/tools/include/xen-foreign'
make[3]: *** [xen-foreign] Error 2
make[3]: Leaving directory `/home/teo-en-ming/xen-unstable.hg/tools/include'
make[2]: *** [subdir-install-include] Error 2
make[2]: Leaving directory `/home/teo-en-ming/xen-unstable.hg/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/home/teo-en-ming/xen-unstable.hg/tools'
make: *** [install-tools] Error 2

Please advise.

Thank you very much.

Yours sincerely,

Teo En Ming (Zhang Enming)


On 17/03/2012 16:40, Teo En Ming (Zhang Enming) wrote:
Hi,

I have ran ./configure but it doesn't work and results in an error.

teo-en-ming@ubuntu-1110-amd64-desktop:~/xen-unstable.hg$ ./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for perl... /usr/bin/perl
checking for ocamlc... ocamlc
OCaml version is 3.12.0
OCaml library path is /usr/lib/ocaml
checking for ocamlopt... ocamlopt
checking for ocamlc.opt... no
checking for ocamlopt.opt... no
checking for ocaml... ocaml
checking for ocamldep... ocamldep
checking for ocamlmktop... ocamlmktop
checking for ocamlmklib... ocamlmklib
checking for ocamldoc... ocamldoc
checking for ocamlbuild... ocamlbuild
checking for bash... /bin/bash
checking for python... /usr/bin/python
checking for python version >= 2.3 ... yes
configure: WARNING: Strange ldflag found in python-config output: -Xlinker
configure: WARNING: Strange ldflag found in python-config output: -export-dynamic
configure: WARNING: Strange ldflag found in python-config output: -Wl,-O1
configure: WARNING: Strange ldflag found in python-config output: -Wl,-Bsymbolic-functions
checking Python.h usability... yes
checking Python.h presence... yes
checking for Python.h... yes
checking for PyArg_ParseTuple in -lpython2.7... yes
checking for xgettext... /usr/bin/xgettext
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking for uuid_clear in -luuid... yes
checking uuid.h usability... no
checking uuid.h presence... no
checking for uuid.h... no
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking for clear in -lcurses... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for clear in -lncurses... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for glib... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for BZ2_bzDecompressInit in -lbz2... yes
checking lzma.h usability... no
checking lzma.h presence... no
checking for lzma.h... no
checking lzo/lzo1x.h usability... no
checking lzo/lzo1x.h presence... no
checking for lzo/lzo1x.h... no
checking for io_setup in -laio... no
checking for MD5 in -lcrypto... yes
checking for ext2fs_open2 in -lext2fs... yes
checking for gcry_md_hash_buffer in -lgcrypt... no
checking for pthread_create in -lpthread... yes
checking for clock_gettime in -lrt... yes
checking for yajl_alloc in -lyajl... no
configure: error: Could not find yajl

Yours sincerely,

Teo En Ming (Zhang Enming)


On 17/03/2012 16:22, Ian Campbell wrote:
Please do not cross post. You should post to either xen-devel@ or
xen-users@ but not both. Since this is neither a bug nor a development
question I have moved xen-devel to BCC.

On Sat, 2012-03-17 at 03:42 +0000, Teo En Ming (Zhang Enming) wrote:
Hi,

For xen-unstable.hg, I have successfully completed the "make xen" step.
However, for the "make tools" step, I have encountered an error.

The error is reproduced below:

teo-en-ming@ubuntu-1110-amd64-desktop:~/xen-unstable.hg$ make tools
make -C tools qemu-xen-traditional-dir-find
make[1]: Entering directory `/home/teo-en-ming/xen-unstable.hg/tools'
/home/teo-en-ming/xen-unstable.hg/tools/../tools/Rules.mk:7:
/home/teo-en-ming/xen-unstable.hg/tools/../config/Tools.mk: No such file
or directory
You have to run ./configure before building or installing the tools
make[1]: ***
[/home/teo-en-ming/xen-unstable.hg/tools/../config/Tools.mk] Error 1
make[1]: Leaving directory `/home/teo-en-ming/xen-unstable.hg/tools'
make: *** [tools/qemu-xen-traditional-dir] Error 2

Please help me to solve the problem.
Read the error message.

Ian.

Installation Instructions for Xen 4.1.3-rc1-pre and Linux Kernel
3.3.0-rc7 on Ubuntu and Debian Linux
==============================================================

Download link: http://www.mediafire.com/?w1arfubbwsc3171

Thank you very much.

Yours sincerely,

Teo En Ming (Zhang Enming)


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




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

 


Rackspace

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