| | 113 | |
| | 114 | == build 4.0.1 from source == |
| | 115 | * https://help.ubuntu.com/community/Xen |
| | 116 | > The packages are: gettext, bin86, bcc, libc6-dev-i386, iasl, texinfo, git, uuid-dev. |
| | 117 | * これだけでは十分ではない(後述) |
| | 118 | |
| | 119 | 1. $ sudo aptitude install -R gettext bin86 bcc libc6-dev-i386 iasl texinfo git uuid-dev |
| | 120 | {{{ |
| | 121 | Couldn't find any package whose name or description matched "libc6-dev-i386" |
| | 122 | No candidate version found for git |
| | 123 | Couldn't find any package whose name or description matched "libc6-dev-i386" |
| | 124 | No candidate version found for git |
| | 125 | The following NEW packages will be installed: |
| | 126 | bcc bin86 gettext iasl libc-dev-bin{a} libc6-dev{a} libgomp1{a} |
| | 127 | linux-libc-dev{a} texinfo uuid-dev |
| | 128 | The following packages are RECOMMENDED but will NOT be installed: |
| | 129 | cvs cvsnt elks-libc manpages-dev |
| | 130 | 0 packages upgraded, 10 newly installed, 0 to remove and 0 not upgraded. |
| | 131 | }}} |
| | 132 | 1. $ sudo aptitude install -R git-core |
| | 133 | {{{ |
| | 134 | The following NEW packages will be installed: |
| | 135 | git-core libdigest-sha1-perl{a} liberror-perl{a} |
| | 136 | The following packages are RECOMMENDED but will NOT be installed: |
| | 137 | patch |
| | 138 | 0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded. |
| | 139 | }}} |
| | 140 | 1. $ wget http://bits.xensource.com/oss-xen/release/4.0.1/xen-4.0.1.tar.gz |
| | 141 | 1. ~/xen-4.0.1$ make world |
| | 142 | * [./4.0.1lucid#gcc] |
| | 143 | 1. $ sudo aptitude install -R gcc |
| | 144 | {{{ |
| | 145 | binutils{a} gcc gcc-4.4{a} |
| | 146 | }}} |
| | 147 | 1. ~/xen-4.0.1$ make world |
| | 148 | * [./4.0.1lucid#zlib] |
| | 149 | 1. $ sudo aptitude install -R zlib1g-dev |
| | 150 | 1. ~/xen-4.0.1$ make world |
| | 151 | * [./4.0.1lucid#somethingwrong] |
| | 152 | |
| | 153 | === rm and re-make === |
| | 154 | 1. $ rm -rf xen-4.0.1 |
| | 155 | 1. ~/xen-4.0.1$ make world |
| | 156 | * [./4.0.1lucid#opensslx11] |
| | 157 | |
| | 158 | * $ sudo aptitude install -R libssl-dev x11proto-core-dev |
| | 159 | |
| | 160 | 1. $ rm -rf xen-4.0.1 |
| | 161 | 1. ~/xen-4.0.1$ make world |