Solving Problem Installing xen-4.1.2 on CentOS-6.2

Little Tips and Tricks while installing ( make world ) xen-4.1.2 on CentOS-6.2

Problem

[sourcecode language=”bash”]
Checking check_uuid_devel:
*** check_uuid_devel FAILED: missing uuid headers (package uuid-dev)
Checking check_x11_devel: OK
Checking check_xgettext: OK
Checking check_xml2: unused, OK
Checking check_zlib_devel: OK
Checking check_zlib_lib: OK

[/sourcecode]

Solution

[sourcecode language=”bash”]
# yum install libuuid-devel
[/sourcecode]

Problem

[sourcecode language=”bash”]
make[3]: Entering directory `/home/ashwin/Project_21_12_2010/xen-4.0.1/tools/firmware’Require dev86 rpm or bin86 & bcc debs version >= 0.16.14 to build firmware!
(visit <a href="http://www.debath.co.uk/dev86/" target="_blank">http://www.debath.co.uk/dev86/</a> for more information)

make[3]: *** [all] Error 1
[/sourcecode]

Solution

[sourcecode language=”bash”]
# yum install dev86
[/sourcecode]

Problem

[sourcecode language=”bash”]
ACPI ASL compiler (iasl) is needed
Download and install Intel ACPI CA from
http://acpica.org/downloads/

make[9]: *** [iasl] Error 1
make[9]: Leaving directory `/home/unicondor/Tesi/xen-4.1.2/tools/firmware/hvmloader/acpi’
make[8]: *** [subdir-all-acpi] Error 2
make[8]: Leaving directory `/home/unicondor/Tesi/xen-4.1.2/tools/firmware/hvmloader’
make[7]: *** [subdirs-all] Error 2
make[7]: Leaving directory `/home/unicondor/Tesi/xen-4.1.2/tools/firmware/hvmloader’
make[6]: *** [subdir-all-hvmloader] Error 2
make[6]: Leaving directory `/home/unicondor/Tesi/xen-4.1.2/tools/firmware’
make[5]: *** [subdirs-all] Error 2
make[5]: Leaving directory `/home/unicondor/Tesi/xen-4.1.2/tools/firmware’
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/unicondor/Tesi/xen-4.1.2/tools/firmware’
make[3]: *** [subdir-install-firmware] Error 2
make[3]: Leaving directory `/home/unicondor/Tesi/xen-4.1.2/tools’
make[2]: *** [subdirs-install] Error 2
make[2]: Leaving directory `/home/unicondor/Tesi/xen-4.1.2/tools’
make[1]: *** [install-tools] Error 2
make[1]: Leaving directory `/home/unicondor/Tesi/xen-4.1.2′
make: *** [world] Error 2
[/sourcecode]

Solution

[sourcecode language=”bash”]
# wget http://acpica.org/download/acpica-unix-20120320.tar.gz
# tar -zxvf acpica-unix-20120320.tar.gz
# cd acpica-unix-20120320/source/compiler/
# make
# make install
[/sourcecode]

Problem

[sourcecode language=”bash”]
xen/lowlevel/xc/xc.c:7:20: error: Python.h: No such file or directory
xen/lowlevel/xc/xc.c:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:42: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
xen/lowlevel/xc/xc.c:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:89: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:107: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:155: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:169: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
[/sourcecode]

Solution

[sourcecode language=”bash”]
# yum install python-devel
[/sourcecode]

Problem

[sourcecode language=”bash”]
WARNING: `makeinfo’ is missing on your system. You should only need it if
you modified a `.texi’ or `.texinfo’ file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy `make’ (AIX,
DU, IRIX). You might want to install the `Texinfo’ package or
the `GNU make’ package. Grab either from any GNU archive site.
[/sourcecode]

Solution

[sourcecode language=”bash”]
# yum install texinfo
[/sourcecode]