wiki:TipAndDoc/VM/Xen/log

Version 3 (modified by mitty, 14 years ago) (diff)

--

build 4.0.1 from source on Ubuntu lucid

  1. $ sudo aptitude install -R gettext bin86 bcc libc6-dev-i386 iasl texinfo git uuid-dev
    Couldn't find any package whose name or description matched "libc6-dev-i386"
    No candidate version found for git
    Couldn't find any package whose name or description matched "libc6-dev-i386"
    No candidate version found for git
    The following NEW packages will be installed:
      bcc bin86 gettext iasl libc-dev-bin{a} libc6-dev{a} libgomp1{a}
      linux-libc-dev{a} texinfo uuid-dev
    The following packages are RECOMMENDED but will NOT be installed:
      cvs cvsnt elks-libc manpages-dev
    0 packages upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
    
  2. $ sudo aptitude install -R git-core
    The following NEW packages will be installed:
      git-core libdigest-sha1-perl{a} liberror-perl{a}
    The following packages are RECOMMENDED but will NOT be installed:
      patch
    0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
    
  3. $ wget http://bits.xensource.com/oss-xen/release/4.0.1/xen-4.0.1.tar.gz
  4. ~/xen-4.0.1$ make world
  5. $ sudo aptitude install -R gcc
      binutils{a} gcc gcc-4.4{a}
    
  6. ~/xen-4.0.1$ make world
  7. $ sudo aptitude install -R zlib1g-dev
  8. ~/xen-4.0.1$ make world

rm and re-make

  1. $ rm -rf xen-4.0.1
  2. ~/xen-4.0.1$ make world
  • $ sudo aptitude install -R libssl-dev x11proto-core-dev
  1. $ rm -rf xen-4.0.1
  2. ~/xen-4.0.1$ make world
  • $ sudo aptitude install -R libsdl1.2-dev libncurses5-dev
    The following NEW packages will be installed:
      libaa1{a} libaa1-dev{a} libasound2-dev{a} libaudio-dev{a} libaudio2{a}
      libaudiofile-dev{a} libavahi-client-dev{a} libavahi-common-dev{a}
      libcaca-dev{a} libcaca0{a} libdbus-1-dev{a} libdirectfb-dev{a}
      libdirectfb-extra{a} libdrm-dev{a} libesd0-dev{a} libflac8{a}
      libfreetype6-dev{a} libgl1-mesa-dev{a} libgl1-mesa-glx{a}
      libglib2.0-dev{a} libglu1-mesa{a} libglu1-mesa-dev{a} libice-dev{a}
      libjpeg62-dev{a} libncurses5-dev libogg0{a} libpng12-dev{a}
      libpthread-stubs0{a} libpthread-stubs0-dev{a} libpulse-browse0{a}
      libpulse-dev{a} libpulse-mainloop-glib0{a} libpulse0{a} libsdl1.2-dev
      libsdl1.2debian{a} libsdl1.2debian-alsa{a} libslang2-dev{a} libsm-dev{a}
      libsndfile1{a} libsysfs-dev{a} libvorbis0a{a} libvorbisenc2{a}
      libx11-dev{a} libxau-dev{a} libxcb1-dev{a} libxdmcp-dev{a} libxext-dev{a}
      libxt-dev{a} libxt6{a} libxtst6{a} libxxf86vm1{a} mesa-common-dev{a}
      pkg-config{a} x11proto-input-dev{a} x11proto-kb-dev{a}
      x11proto-xext-dev{a} xtrans-dev{a}
    The following packages are RECOMMENDED but will NOT be installed:
      libgl1-mesa-dri
    
  1. $ rm -rf xen-4.0.1
  2. ~/xen-4.0.1$ make world
  • $ sudo aptitude install -R python2.6-dev