WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Re: Install Errors for Xen 3.3 on Ubuntu 9.04?

To: xen-users@xxxxxxxxxxxxxxxxxxx, Jan Muhammad <janmuhd@xxxxxxxxx>
Subject: Re: [Xen-users] Re: Install Errors for Xen 3.3 on Ubuntu 9.04?
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Tue, 2 Jun 2009 07:44:20 -0700 (PDT)
Cc:
Delivery-date: Tue, 02 Jun 2009 07:46:04 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1243953860; bh=pCJ3txp12wihEAfb3dj3A0DnPjzpR9aTkpcKt+IMQVk=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=4gUWZcIBojAC08h4JQsLxVS39KLMKPK+8rU87km3Ee829szEPoj2fjrxagfDJYv6NpUO/Co9bVoQIcVtrnuGv7qqKT/yNxT0Ja1dQDJHSeXEigN+wkXjrXBalOrnGHYnL/F10q87vqOS5YGLUuVWGbQbX/S+iOEHjRsLpB/SkAo=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=eqlT44nZHxi6NfPX9tdWsJU34WvyRusUfQNJxXOUFRh4O8YA9LbV82LhLrChUkjrks3PR55r7A1JAhHMcDaLjLvxCtlyq0THO6wDwKwNc2DTslq8o4cZD14jyeiqftHTKLF0Dg9N6LdcPols8j2bo84QcFsXmjToUvun0jmu2bc=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
********
Quote:-
*********
Xen CHECK-BUILD  Tue Jun 2 13:18:36 BST 2009
Checking check_crypto_lib: OK
Checking check_curl: unused, OK
> Checking check_openssl_devel:
 *** check_openssl_devel FAILED: missing openssl headers
Checking check_python: OK
Checking check_python_devel: OK
> Checking check_x11_devel:
 *** check_x11_devel FAILED: can't find X11 headers
Checking check_xgettext: OK
Checking check_xml2: unused, OK
Checking check_zlib_devel: OK
Checking check_zlib_lib: OK
make[4]: *** [check-build] Error 1
make[4]: Leaving directory `/usr/src/xen-3.4-testing.hg/tools/check'
make[3]: *** [subdir-install-check] Error 2
make[3]: Leaving directory `/usr/src/xen-3.4-testing.hg/tools'
make[2]: *** [subdirs-install] Error 2
make[2]: Leaving directory `/usr/src/xen-3.4-testing.hg/tools'
make[1]: *** [install-tools] Error 2
make[1]: Leaving directory `/usr/src/xen-3.4-testing.hg'
make: *** [world] Error 2
**************
Fix :-
**************
Install on Uubuntu 9.04 Server all packages required for Xen build:-

-> libcurl4-openssl-dev ->
you missing this 9.04 psackage
->  xserver-xorg-dev    -> you missing this 9.04 psackage
python2.6-dev
python2.5
python2.5-dev
mercurial
gitk
build-essential
libncurses5-dev
uuid-dev
gawk
gettext
texinfo
bcc

Load Synaptic and install.
The most recent Howto is preferable (vs Fajar's suggestion).
You don't have install just X-windows system on good network.
Installation guide itself is written more carefully :-

http://bderzhavets.wordpress.com/2009/05/30/light-weight-x-windows-system-for-xen-3-5-unstable-dom0-on-top-of-xubuntu-9-04-server/

When you complete fake build on 9.04.
# make uninstall
is a must.
Core build on 8.10 will requires a bit different set of packages:-

http://bderzhavets.wordpress.com/2009/03/29/setup-xen-unstable-dom0-with-2629-tip-pvops-enabled-kernel/


Boris

--- On Tue, 6/2/09, Jan Muhammad <janmuhd@xxxxxxxxx> wrote:

From: Jan Muhammad <janmuhd@xxxxxxxxx>
Subject: [Xen-users] Re: Install Errors for Xen 3.3 on Ubuntu 9.04?
To: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Tuesday, June 2, 2009, 8:38 AM

Hi All,

On following the suggested solution on this blog http://bderzhavets.blogspot.com/2009/05/deployment-xen-3.html;

After having all the pre-requites installed when I run the command  "# make world", after running for several minutes (hoping for successful Xen install), I get the following error. I wonder why it is still failing? Probably pointing to Openssl and X11 header errors....

Also confused on this blog too? either to follow both steps or just the First One?

Regards
-Jan
-----------------------------------------------------------------------------------------------------------------------------     
..................... truncated line.................................
   
  case "../" in /*) XEN_ROOT=../ ;; *)  xen_root_lhs=`pwd`; xen_root_rhs=..//; while [ "x${xen_root_rhs#../}" != "x$xen_root_rhs" ]; do xen_root_rhs="${xen_root_rhs#../}"; xen_root_rhs="${xen_root_rhs#/}"; xen_root_rhs="${xen_root_rhs#/}"; xen_root_lhs="${xen_root_lhs%/*}"; done; XEN_ROOT="$xen_root_lhs/$xen_root_rhs" ;; esac; export XEN_ROOT; \
        cd ioemu-dir; \
        ./xen-setup
Install prefix    /usr
BIOS directory    /usr/share/qemu
binary directory  /usr/bin
Manual directory  /usr/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path       /usr/src/xen-3.4-testing.hg/tools/ioemu-dir
C compiler        gcc
Host C compiler   gcc
ARCH_CFLAGS       -m32
make              make
install           install
host CPU          i386
host big endian   no
target list       i386-softmmu x86_64-softmmu arm-softmmu cris-softmmu m68k-softmmu mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu ppc-softmmu ppcemb-softmmu ppc64-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu i386-linux-user x86_64-linux-user alpha-linux-user arm-linux-user armeb-linux-user cris-linux-user m68k-linux-user mips-linux-user mipsel-linux-user ppc-linux-user ppc64-linux-user ppc64abi32-linux-user sh4-linux-user sh4eb-linux-user sparc-linux-user sparc64-linux-user sparc32plus-linux-user
gprof enabled     no
sparse enabled    no
profiler          no
static build      no
-Werror enabled   no
SDL support       no
OpenGL support   
curses support    no
mingw32 support   no
Audio drivers     oss
Extra audio cards ac97 es1370 sb16
Mixer emulation   no
VNC TLS support   no
kqemu support     yes
brlapi support    no
Documentation     no
NPTL support      yes
vde support       no
AIO support       yes
Install blobs     yes
KVM support       no - (#error Missing KVM capability KVM_CAP_DESTROY_MEMORY_REGION_WORKS)
fdt support       no
The error log from compiling the libSDL test is:
/tmp/qemu-conf--26606-.c:1:17: error: SDL.h: No such file or directory
/tmp/qemu-conf--26606-.c: In function ‘main’:
/tmp/qemu-conf--26606-.c:3: error: ‘SDL_INIT_VIDEO’ undeclared (first use in this function)
/tmp/qemu-conf--26606-.c:3: error: (Each undeclared identifier is reported only once
/tmp/qemu-conf--26606-.c:3: error: for each function it appears in.)
qemu successfuly configured for Xen qemu-dm build
make[2]: Leaving directory `/usr/src/xen-3.4-testing.hg/tools'
make -C tools install
make[2]: Entering directory `/usr/src/xen-3.4-testing.hg/tools'
make[3]: Entering directory `/usr/src/xen-3.4-testing.hg/tools'
make -C check install
make[4]: Entering directory `/usr/src/xen-3.4-testing.hg/tools/check'
LIBXENAPI_BINDINGS=n ACM_SECURITY=n ./chk build
Xen CHECK-BUILD  Tue Jun 2 13:18:36 BST 2009
Checking check_crypto_lib: OK
Checking check_curl: unused, OK
Checking check_openssl_devel:
 *** check_openssl_devel FAILED: missing openssl headers
Checking check_python: OK
Checking check_python_devel: OK
Checking check_x11_devel:
 *** check_x11_devel FAILED: can't find X11 headers
Checking check_xgettext: OK
Checking check_xml2: unused, OK
Checking check_zlib_devel: OK
Checking check_zlib_lib: OK
make[4]: *** [check-build] Error 1
make[4]: Leaving directory `/usr/src/xen-3.4-testing.hg/tools/check'
make[3]: *** [subdir-install-check] Error 2
make[3]: Leaving directory `/usr/src/xen-3.4-testing.hg/tools'
make[2]: *** [subdirs-install] Error 2
make[2]: Leaving directory `/usr/src/xen-3.4-testing.hg/tools'
make[1]: *** [install-tools] Error 2
make[1]: Leaving directory `/usr/src/xen-3.4-testing.hg'
make: *** [world] Error 2




--- On Mon, 6/1/09, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:

From: Fajar A. Nugraha <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] Install Errors for Xen 3.3 on Ubuntu 9.04?
To: "Xen User-List" <xen-users@xxxxxxxxxxxxxxxxxxx>
Date: Monday, June 1, 2009, 9:13 PM

On Mon, Jun 1, 2009 at 10:53 PM, Jan Muhammad <janmuhd@xxxxxxxxx> wrote:
> Hi,
>
> Refer to my earlier email on the subject of installation;

Boris created a post which indicates that Jaunty's python have some issues
http://bderzhavets.blogspot.com/2009/05/deployment-xen-3.html
He also posted about it to this list some time ago, search the archives.

I'd actually recommend that you use Debian instead of Ubuntu for dom0.
Lenny should work with both Xen 3.3 and 3.4 just fine with minimal
effort.

> after taking more
> 30 mins the command '# make world' throws errors, which I don't know what
> happend & how to resolve it?

> Error: zlib check failed
> Make sure to have the zlib libs and headers installed.

start with zlib :)

On Lenny, I had to install these packages to build Xen 3.4 succesfully
build-essential python-dev zlib1g-dev bcc libsdl-dev pciutils-dev
xserver-xorg-dev libssl-dev gettext

--
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


-----Inline Attachment Follows-----

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>