Skip to contentSkip to conversation

Error in "make tools" for Xen-4.2-unstable

DISCUSSION Teo En Ming (Zhang Enming) 3 participants 4 messages Mar 17, 2012 – Mar 19, 2012 7 messages not in the archive

lore
Share & tools
lore
#0 lore raw

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.

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)

#1 lore raw
Quoted 4 lines · Teo En Ming (Zhang Enming)

Hi,

For xen-unstable.hg, I have successfully completed the "make xen" step.

However, for the "make tools" step, I have encountered an error.

Quoted 1 line

I don't know how else to say it but the error message tells you what to do.

Quoted 6 lines

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

Quoted 2 lines

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

Quoted 6 lines

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.

Installation Instructions for Xen 4.1.3-rc1-pre and Linux Kernel

3.3.0-rc7 on Ubuntu and Debian Linux

Quoted 8 lines

==============================================================

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

Thank you very much.

Yours sincerely,

Quoted 8 lines

Teo En Ming (Zhang Enming)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#9 lore raw
In reply to a message not in the archive
Quoted 48 lines · Ian Campbell
Quoted 47 lines · Teo En Ming (Zhang Enming)
Quoted 34 lines · Ian Campbell
Quoted 24 lines · Teo En Ming (Zhang Enming)
Quoted 8 lines · Ian Campbell

Please do not top post, it destroys the flow of the conversation.

Quoted 3 lines · Teo En Ming (Zhang Enming)

Hi,

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

Which you have once again failed to actually read.

Quoted 9 lines
Quoted 1 line
teo-en-ming@ubuntu-1110-amd64-desktop:~/xen-unstable.hg$ ./configure

[...]

Quoted 2 lines

checking for yajl_alloc in -lyajl... no
configure: error: Could not find yajl

You need to install the yajl library.

Ian.

Dear Ian,

I don't believe the steps are so tedious and complicated for xen-unstable.hg. I have used the following steps for xen-4.1-testing.hg and all went smoothly without errors.

Quoted 6 lines

make xen
make tools
sudo make install-xen
sudo make install-tools PYTHON_PREFIX_ARG=

Something must be wrong in the source tree for xen-unstable.hg.

No, there is nothing wrong, there have simply been some changes in xen-unstable.

Quoted 10 lines

Xen now uses configure (AKA autoconf), in common with a large proportion of open source software. It also has an additional dependency on the yajl library. I don't think there is anything unusually burdensome about either of those changes and in both cases an informative message was printed.

Ian.

Dear Ian,

Quoted 15 lines
Quoted 2 lines

Is there a wiki for building xen-4.2-unstable, and if there is, are the recent changes reflected in the wiki?

These changes to the build have been reflected in the README at the top level of the Xen source code tree, which is where the process for building Xen has always been documented.

Ian.

Quoted 5 lines

Thank you very much.

Yours sincerely,

Teo En Ming (Zhang Enming)

Dear Ian,

I have written out all the steps for building and installing from Xen-4.2-unstable, as follows:

Building Xen-4.2-unstable

If you wish to build and install from xen-unstable.hg instead,

cd
git clone git://github.com/lloyd/yajl
cd yajl
sudo apt-get install ruby cmake
./configure
make
sudo make install

cd
hg clone http://xenbits.xensource.com/xen-unstable.hg
cd xen-unstable.hg
./configure
make world
sudo make install

I have also added the above steps into my Installation Instructions PDF document version 1.1.

Thank you very much.

Yours sincerely,

Teo En Ming (Zhang Enming)

#10 lore raw
Quoted 9 lines · Teo En Ming (Zhang Enming)

If you wish to build and install from xen-unstable.hg instead,

cd
git clone git://github.com/lloyd/yajl
cd yajl
sudo apt-get install ruby cmake
./configure
make
sudo make install

Or instead of all that "apt-get install libyaj-dev" (this is the package name given in the README)

Ian