| 1 | [[PageOutline]] |
| 2 | |
| 3 | = build 4.0.1 from source on Ubuntu lucid = |
| 4 | |
| 5 | * https://help.ubuntu.com/community/Xen |
| 6 | > The packages are: gettext, bin86, bcc, libc6-dev-i386, iasl, texinfo, git, uuid-dev. |
| 7 | * これだけでは十分ではない => [./log] |
| 8 | 1. $ sudo aptitude install -R gettext bin86 bcc libc6-dev-i386 iasl texinfo git uuid-dev |
| 9 | {{{ |
| 10 | Couldn't find any package whose name or description matched "libc6-dev-i386" |
| 11 | No candidate version found for git |
| 12 | Couldn't find any package whose name or description matched "libc6-dev-i386" |
| 13 | No candidate version found for git |
| 14 | The following NEW packages will be installed: |
| 15 | bcc bin86 gettext iasl libc-dev-bin{a} libc6-dev{a} libgomp1{a} |
| 16 | linux-libc-dev{a} texinfo uuid-dev |
| 17 | The following packages are RECOMMENDED but will NOT be installed: |
| 18 | cvs cvsnt elks-libc manpages-dev |
| 19 | 0 packages upgraded, 10 newly installed, 0 to remove and 0 not upgraded. |
| 20 | }}} |
| 21 | 1. $ sudo aptitude install -R git-core |
| 22 | {{{ |
| 23 | The following NEW packages will be installed: |
| 24 | git-core libdigest-sha1-perl{a} liberror-perl{a} |
| 25 | The following packages are RECOMMENDED but will NOT be installed: |
| 26 | patch |
| 27 | 0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded. |
| 28 | }}} |
| 29 | 1. $ wget http://bits.xensource.com/oss-xen/release/4.0.1/xen-4.0.1.tar.gz |
| 30 | 1. ~/xen-4.0.1$ make world |
| 31 | * [./4.0.1lucid#gcc] |
| 32 | 1. $ sudo aptitude install -R gcc |
| 33 | {{{ |
| 34 | binutils{a} gcc gcc-4.4{a} |
| 35 | }}} |
| 36 | 1. ~/xen-4.0.1$ make world |
| 37 | * [./4.0.1lucid#zlib] |
| 38 | 1. $ sudo aptitude install -R zlib1g-dev |
| 39 | 1. ~/xen-4.0.1$ make world |
| 40 | * [./4.0.1lucid#somethingwrong] |
| 41 | |
| 42 | == rm and re-make == |
| 43 | 1. $ rm -rf xen-4.0.1 |
| 44 | 1. ~/xen-4.0.1$ make world |
| 45 | * [./4.0.1lucid#opensslx11] |
| 46 | |
| 47 | * $ sudo aptitude install -R libssl-dev x11proto-core-dev |
| 48 | |
| 49 | 1. $ rm -rf xen-4.0.1 |
| 50 | 1. ~/xen-4.0.1$ make world |
| 51 | * [./4.0.1lucid#sdlncurses] |
| 52 | |
| 53 | * $ sudo aptitude install -R libsdl1.2-dev libncurses5-dev |
| 54 | {{{ |
| 55 | The following NEW packages will be installed: |
| 56 | libaa1{a} libaa1-dev{a} libasound2-dev{a} libaudio-dev{a} libaudio2{a} |
| 57 | libaudiofile-dev{a} libavahi-client-dev{a} libavahi-common-dev{a} |
| 58 | libcaca-dev{a} libcaca0{a} libdbus-1-dev{a} libdirectfb-dev{a} |
| 59 | libdirectfb-extra{a} libdrm-dev{a} libesd0-dev{a} libflac8{a} |
| 60 | libfreetype6-dev{a} libgl1-mesa-dev{a} libgl1-mesa-glx{a} |
| 61 | libglib2.0-dev{a} libglu1-mesa{a} libglu1-mesa-dev{a} libice-dev{a} |
| 62 | libjpeg62-dev{a} libncurses5-dev libogg0{a} libpng12-dev{a} |
| 63 | libpthread-stubs0{a} libpthread-stubs0-dev{a} libpulse-browse0{a} |
| 64 | libpulse-dev{a} libpulse-mainloop-glib0{a} libpulse0{a} libsdl1.2-dev |
| 65 | libsdl1.2debian{a} libsdl1.2debian-alsa{a} libslang2-dev{a} libsm-dev{a} |
| 66 | libsndfile1{a} libsysfs-dev{a} libvorbis0a{a} libvorbisenc2{a} |
| 67 | libx11-dev{a} libxau-dev{a} libxcb1-dev{a} libxdmcp-dev{a} libxext-dev{a} |
| 68 | libxt-dev{a} libxt6{a} libxtst6{a} libxxf86vm1{a} mesa-common-dev{a} |
| 69 | pkg-config{a} x11proto-input-dev{a} x11proto-kb-dev{a} |
| 70 | x11proto-xext-dev{a} xtrans-dev{a} |
| 71 | The following packages are RECOMMENDED but will NOT be installed: |
| 72 | libgl1-mesa-dri |
| 73 | }}} |
| 74 | |
| 75 | 1. $ rm -rf xen-4.0.1 |
| 76 | 1. ~/xen-4.0.1$ make world |