| | 32 | |
| | 33 | = Installation = |
| | 34 | |
| | 35 | [wiki:Carlos] Dowloaded the following files (including the optional packages) for : |
| | 36 | |
| | 37 | CIAO 3.3 Binary[http://cxc.harvard.edu/cgi-gen/ciao/download_ciao3.3_linux8.cgi]: |
| | 38 | {{{ |
| | 39 | xxxxxxxxxxxxxxxxxxxxxx |
| | 40 | }}} |
| | 41 | = Preliminary/Dependant packages = |
| | 42 | {{{ |
| | 43 | AIPS installer requires the installation of the following: |
| | 44 | |
| | 45 | make |
| | 46 | cvs |
| | 47 | ncurses |
| | 48 | gcc-g77-3.4.4 (compilers) |
| | 49 | X-window-system0dev |
| | 50 | }}} |
| | 51 | {{{ |
| | 52 | (1) make Installation: |
| | 53 | |
| | 54 | cdelacruz@metis:~$ sudo apt-get install make |
| | 55 | Reading package lists... Done |
| | 56 | Building dependency tree... Done |
| | 57 | make is already the newest version. |
| | 58 | 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. |
| | 59 | cdelacruz@metis:~$ |
| | 60 | |
| | 61 | root@phobos:~# |
| | 62 | |
| | 63 | ======================================================================== |
| | 64 | |
| | 65 | (2) cvs and ncurses Installation: |
| | 66 | |
| | 67 | |
| | 68 | cdelacruz@metis:~$ sudo apt-get install cvs |
| | 69 | Reading package lists... Done |
| | 70 | Building dependency tree... Done |
| | 71 | cvs is already the newest version. |
| | 72 | 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. |
| | 73 | cdelacruz@metis:~$ |
| | 74 | |
| | 75 | cdelacruz@metis:~$ sudo apt-get install libncurses5-dev |
| | 76 | Reading package lists... Done |
| | 77 | Building dependency tree... Done |
| | 78 | The following NEW packages will be installed: |
| | 79 | libncurses5-dev |
| | 80 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. |
| | 81 | Need to get 1248kB of archives. |
| | 82 | After unpacking 5792kB of additional disk space will be used. |
| | 83 | Get:1 http://us.archive.ubuntu.com breezy/main libncurses5-dev 5.4-9ubuntu4 [1248kB] |
| | 84 | Fetched 1248kB in 0s (2206kB/s) |
| | 85 | |
| | 86 | Preconfiguring packages ... |
| | 87 | Selecting previously deselected package libncurses5-dev. |
| | 88 | (Reading database ... 69043 files and directories currently installed.) |
| | 89 | Unpacking libncurses5-dev (from .../libncurses5-dev_5.4-9ubuntu4_i386.deb) ... |
| | 90 | Setting up libncurses5-dev (5.4-9ubuntu4) ... |
| | 91 | cdelacruz@metis:~$ |
| | 92 | |
| | 93 | cdelacruz@metis:~$ sudo apt-get install glibc-doc |
| | 94 | Reading package lists... Done |
| | 95 | Building dependency tree... Done |
| | 96 | The following NEW packages will be installed: |
| | 97 | glibc-doc |
| | 98 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. |
| | 99 | Need to get 3312kB of archives. |
| | 100 | After unpacking 8516kB of additional disk space will be used. |
| | 101 | Get:1 http://us.archive.ubuntu.com breezy/main glibc-doc 2.3.5-1ubuntu12 [3312kB] |
| | 102 | Fetched 3312kB in 0s (3660kB/s) |
| | 103 | |
| | 104 | Preconfiguring packages ... |
| | 105 | Selecting previously deselected package glibc-doc. |
| | 106 | (Reading database ... 70013 files and directories currently installed.) |
| | 107 | Unpacking glibc-doc (from .../glibc-doc_2.3.5-1ubuntu12_all.deb) ... |
| | 108 | Setting up glibc-doc (2.3.5-1ubuntu12) ... |
| | 109 | |
| | 110 | cdelacruz@metis:~$ |
| | 111 | |
| | 112 | cdelacruz@metis:~$ sudo apt-get install manpages-dev |
| | 113 | Reading package lists... Done |
| | 114 | Building dependency tree... Done |
| | 115 | The following NEW packages will be installed: |
| | 116 | manpages-dev |
| | 117 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. |
| | 118 | Need to get 1081kB of archives. |
| | 119 | After unpacking 2732kB of additional disk space will be used. |
| | 120 | Get:1 http://us.archive.ubuntu.com breezy/main manpages-dev 2.02-2 [1081kB] |
| | 121 | Fetched 1081kB in 0s (2434kB/s) |
| | 122 | |
| | 123 | Preconfiguring packages ... |
| | 124 | Selecting previously deselected package manpages-dev. |
| | 125 | (Reading database ... 70173 files and directories currently installed.) |
| | 126 | Unpacking manpages-dev (from .../manpages-dev_2.02-2_all.deb) ... |
| | 127 | Setting up manpages-dev (2.02-2) ... |
| | 128 | cdelacruz@metis:~$ |
| | 129 | |
| | 130 | ======================================================================== |
| | 131 | (3) 3.4 gcc/g77 compiler version: |
| | 132 | |
| | 133 | root@phobos:/# apt-get install g77-3.4 |
| | 134 | |
| | 135 | Reading package lists... Done |
| | 136 | |
| | 137 | Building dependency tree... Done |
| | 138 | |
| | 139 | The following extra packages will be installed: |
| | 140 | |
| | 141 | binutils cpp-3.4 gcc-3.4 libg2c0-dev |
| | 142 | |
| | 143 | Suggested packages: |
| | 144 | |
| | 145 | binutils-doc g77-3.4-doc gcc-3.4-doc libc6-dev-amd64 |
| | 146 | |
| | 147 | Recommended packages: |
| | 148 | |
| | 149 | libc6-dev |
| | 150 | |
| | 151 | The following NEW packages will be installed: |
| | 152 | |
| | 153 | binutils cpp-3.4 g77-3.4 gcc-3.4 libg2c0-dev |
| | 154 | |
| | 155 | 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. |
| | 156 | |
| | 157 | Need to get 5649kB of archives. |
| | 158 | |
| | 159 | After unpacking 20.2MB of additional disk space will be used. |
| | 160 | |
| | 161 | Do you want to continue [Y/n]? y |
| | 162 | |
| | 163 | Get:1 http://us.archive.ubuntu.com breezy/main binutils 2.16.1-2ubuntu6 [1469kB] |
| | 164 | |
| | 165 | Get:2 http://us.archive.ubuntu.com breezy/main cpp-3.4 3.4.4-6ubuntu8 [1707kB] |
| | 166 | |
| | 167 | Get:3 http://us.archive.ubuntu.com breezy/main libg2c0-dev 1:3.4.4-6ubuntu8 [142kB] |
| | 168 | |
| | 169 | Get:4 http://us.archive.ubuntu.com breezy/main gcc-3.4 3.4.4-6ubuntu8 [484kB] |
| | 170 | |
| | 171 | Get:5 http://us.archive.ubuntu.com breezy/main g77-3.4 3.4.4-6ubuntu8 [1846kB] |
| | 172 | |
| | 173 | Fetched 5649kB in 2s (2489kB/s) |
| | 174 | |
| | 175 | |
| | 176 | |
| | 177 | Preconfiguring packages ... |
| | 178 | Selecting previously deselected package binutils. |
| | 179 | (Reading database ... 68126 files and directories currently installed.) |
| | 180 | Unpacking binutils (from .../binutils_2.16.1-2ubuntu6_i386.deb) ... |
| | 181 | Selecting previously deselected package cpp-3.4. |
| | 182 | Unpacking cpp-3.4 (from .../cpp-3.4_3.4.4-6ubuntu8_i386.deb) ... |
| | 183 | Selecting previously deselected package libg2c0-dev. |
| | 184 | Unpacking libg2c0-dev (from .../libg2c0-dev_1%3a3.4.4-6ubuntu8_i386.deb) ... |
| | 185 | Selecting previously deselected package gcc-3.4. |
| | 186 | Unpacking gcc-3.4 (from .../gcc-3.4_3.4.4-6ubuntu8_i386.deb) ... |
| | 187 | Selecting previously deselected package g77-3.4. |
| | 188 | Unpacking g77-3.4 (from .../g77-3.4_3.4.4-6ubuntu8_i386.deb) ... |
| | 189 | Setting up binutils (2.16.1-2ubuntu6) ... |
| | 190 | |
| | 191 | |
| | 192 | |
| | 193 | Setting up cpp-3.4 (3.4.4-6ubuntu8) ... |
| | 194 | Setting up libg2c0-dev (3.4.4-6ubuntu8) ... |
| | 195 | Setting up gcc-3.4 (3.4.4-6ubuntu8) ... |
| | 196 | Setting up g77-3.4 (3.4.4-6ubuntu8) ... |
| | 197 | root@phobos:/# apt-get install g77-3.4-doc |
| | 198 | |
| | 199 | Reading package lists... Done |
| | 200 | Building dependency tree... Done |
| | 201 | The following NEW packages will be installed: |
| | 202 | |
| | 203 | g77-3.4-doc |
| | 204 | |
| | 205 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. |
| | 206 | Need to get 629kB of archives. |
| | 207 | After unpacking 2089kB of additional disk space will be used. |
| | 208 | Get:1 http://us.archive.ubuntu.com breezy/main g77-3.4-doc 3.4.4-6ubuntu8 [629kB] |
| | 209 | Fetched 629kB in 0s (698kB/s) |
| | 210 | |
| | 211 | |
| | 212 | |
| | 213 | Preconfiguring packages ... |
| | 214 | Selecting previously deselected package g77-3.4-doc. |
| | 215 | (Reading database ... 68295 files and directories currently installed.) |
| | 216 | Unpacking g77-3.4-doc (from .../g77-3.4-doc_3.4.4-6ubuntu8_all.deb) ... |
| | 217 | Setting up g77-3.4-doc (3.4.4-6ubuntu8) ... |
| | 218 | |
| | 219 | root@phobos:/# |
| | 220 | |
| | 221 | ======================================================================== |
| | 222 | |
| | 223 | (4) Non-standard, gcc-g77-3.4.4 (compilers) Installation: |
| | 224 | |
| | 225 | |
| | 226 | The gcc-3.4.4 compiler may not be required, try to install after installing the following: |
| | 227 | Keep the default /usr/bin/gcc and /usr/bin/g77 locations referenced in the script. |
| | 228 | |
| | 229 | |
| | 230 | |
| | 231 | cdelacruz@metis:/usr/local/bin$ sudo mkdir gcc |
| | 232 | cdelacruz@metis:/usr/local/bin$ ls |
| | 233 | gcc idldemo idlman_6.2 iondown ionman_6.2 |
| | 234 | idl idldemo_6.2 idlrpc iondown_6.2 ionstat |
| | 235 | idl_6.2 idlhelp idlrpc_6.2 ionhelp ionstat_6.2 |
| | 236 | idlde idlhelp_6.2 iond ionhelp_6.2 rsilicense |
| | 237 | idlde_6.2 idlman iond_6.2 ionman rsilicense_6.2 |
| | 238 | cdelacruz@metis:/usr/local/bin$ |
| | 239 | |
| | 240 | |
| | 241 | Go to http://www.gnu.org/software/gcc/ |
| | 242 | |
| | 243 | Download: |
| | 244 | |
| | 245 | gcc-3.4.4.tar and gcc-g77-3.4.4.tar |
| | 246 | cdelacruz@metis:~$tar xvf gcc-3.4.4.tar |
| | 247 | cdelacruz@metis:~$tar xvf gcc-g77-3.4.4.tar |
| | 248 | cdelacruz@metis:/usr/local/bin/gcc$ cd gcc-3.4.4 |
| | 249 | |
| | 250 | |
| | 251 | cdelacruz@metis:/usr/local/gcc/gcc-3.4.4$ sudo ./configure --prefix=/usr/local/gcc |
| | 252 | loading cache ./config.cache |
| | 253 | checking host system type... i686-pc-linux-gnu |
| | 254 | checking target system type... i686-pc-linux-gnu |
| | 255 | checking build system type... i686-pc-linux-gnu |
| | 256 | checking for a BSD compatible install... (cached) /usr/bin/install -c |
| | 257 | checking for i686-pc-linux-gnu-ar... no |
| | 258 | checking for ar... (cached) ar |
| | 259 | checking for i686-pc-linux-gnu-as... no |
| | 260 | checking for as... (cached) as |
| | 261 | checking for i686-pc-linux-gnu-dlltool... no |
| | 262 | checking for dlltool... (cached) dlltool |
| | 263 | checking for i686-pc-linux-gnu-ld... no |
| | 264 | checking for ld... (cached) ld |
| | 265 | checking for i686-pc-linux-gnu-nm... no |
| | 266 | checking for nm... (cached) nm |
| | 267 | checking for i686-pc-linux-gnu-ranlib... no |
| | 268 | checking for ranlib... (cached) ranlib |
| | 269 | checking for i686-pc-linux-gnu-windres... no |
| | 270 | checking for windres... (cached) windres |
| | 271 | checking for i686-pc-linux-gnu-objcopy... no |
| | 272 | checking for objcopy... (cached) objcopy |
| | 273 | checking for i686-pc-linux-gnu-objdump... no |
| | 274 | checking for objdump... (cached) objdump |
| | 275 | checking for i686-pc-linux-gnu-ar... no |
| | 276 | checking for ar... (cached) ar |
| | 277 | checking for i686-pc-linux-gnu-as... no |
| | 278 | checking for as... (cached) as |
| | 279 | checking for i686-pc-linux-gnu-dlltool... no |
| | 280 | checking for dlltool... (cached) dlltool |
| | 281 | checking for i686-pc-linux-gnu-ld... no |
| | 282 | checking for ld... (cached) ld |
| | 283 | checking for i686-pc-linux-gnu-nm... no |
| | 284 | checking for nm... (cached) nm |
| | 285 | checking for i686-pc-linux-gnu-ranlib... no |
| | 286 | checking for ranlib... (cached) ranlib |
| | 287 | checking for i686-pc-linux-gnu-windres... no |
| | 288 | checking for windres... (cached) windres |
| | 289 | checking whether to enable maintainer-specific portions of Makefiles... no |
| | 290 | creating ./config.status |
| | 291 | creating Makefile |
| | 292 | cdelacruz@metis:/usr/local/gcc/gcc-3.4.4$ |
| | 293 | |
| | 294 | cdelacruz@metis:/usr/local/gcc/gcc-3.4.4$ make bootstrap |
| | 295 | cdelacruz@metis:/usr/local/gcc/gcc-3.4.4$ make install |
| | 296 | |
| | 297 | |
| | 298 | ======================================================================== |
| | 299 | |
| | 300 | (5) X-window-system0dev Installation: |
| | 301 | |
| | 302 | cdelacruz@metis:/usr/local/gcc/gcc-3.4.4$ sudo apt-get install x-window-system-dev |
| | 303 | Reading package lists... Done |
| | 304 | Building dependency tree... Done |
| | 305 | The following extra packages will be installed: |
| | 306 | libgl1-mesa-dev libglu1-mesa-dev libice6-dbg libsm6-dbg libx11-6-dbg libxau-dev |
| | 307 | libxaw-headers libxaw7-dbg libxaw7-dev libxext-dev libxext6-dbg libxi-dev libxi6-dbg |
| | 308 | libxmu-dev libxmu-headers libxmu6-dbg libxmuu-dev libxmuu1-dbg libxpm-dev libxpm4-dbg |
| | 309 | libxrandr-dev libxrandr2-dbg libxt6-dbg libxtrap-dev libxtrap6-dbg libxtst-dev |
| | 310 | libxtst6-dbg libxv-dev libxv1-dbg x11proto-gl-dev x11proto-input-dev x11proto-randr-dev |
| | 311 | x11proto-record-dev x11proto-trap-dev x11proto-video-dev x11proto-xext-dev |
| | 312 | xlibs-static-dev |
| | 313 | The following NEW packages will be installed: |
| | 314 | libgl1-mesa-dev libglu1-mesa-dev libice6-dbg libsm6-dbg libx11-6-dbg libxau-dev |
| | 315 | libxaw-headers libxaw7-dbg libxaw7-dev libxext-dev libxext6-dbg libxi-dev libxi6-dbg |
| | 316 | libxmu-dev libxmu-headers libxmu6-dbg libxmuu-dev libxmuu1-dbg libxpm-dev libxpm4-dbg |
| | 317 | libxrandr-dev libxrandr2-dbg libxt6-dbg libxtrap-dev libxtrap6-dbg libxtst-dev |
| | 318 | libxtst6-dbg libxv-dev libxv1-dbg x-window-system-dev x11proto-gl-dev x11proto-input-dev |
| | 319 | x11proto-randr-dev x11proto-record-dev x11proto-trap-dev x11proto-video-dev |
| | 320 | x11proto-xext-dev xlibs-static-dev |
| | 321 | 0 upgraded, 38 newly installed, 0 to remove and 0 not upgraded. |
| | 322 | Need to get 5220kB of archives. |
| | 323 | After unpacking 21.3MB of additional disk space will be used. |
| | 324 | Do you want to continue [Y/n]? y |
| | 325 | Get:1 http://us.archive.ubuntu.com breezy/main libxau-dev 1:0.1.2-2 [9134B] |
| | 326 | Get:2 http://us.archive.ubuntu.com breezy/main x11proto-input-dev 1.3-1 [12.8kB] |
| | 327 | Get:3 http://us.archive.ubuntu.com breezy/main libxi-dev 1:1.3.0-2 [16.1kB] |
| | 328 | Get:4 http://us.archive.ubuntu.com breezy/main x11proto-xext-dev 6.9.99.0-1 [41.0kB] |
| | 329 | Get:5 http://us.archive.ubuntu.com breezy/main libxext-dev 1:6.4.3-3 [55.2kB] |
| | 330 | Get:6 http://us.archive.ubuntu.com breezy/main libxmu-headers 1:6.2.3-5 [15.5kB] |
| | 331 | Get:7 http://us.archive.ubuntu.com breezy/main libxmu-dev 1:6.2.3-5 [48.2kB] |
| | 332 | Get:8 http://us.archive.ubuntu.com breezy/main libxpm-dev 1:3.5.2-5 [38.2kB] |
| | 333 | Get:9 http://us.archive.ubuntu.com breezy/main libxaw-headers 7.0.2-3 [49.2kB] |
| | 334 | Get:10 http://us.archive.ubuntu.com breezy/main x11proto-randr-dev 1.1-1 [4072B] |
| | 335 | Get:11 http://us.archive.ubuntu.com breezy/main libxrandr-dev 1:1.0.2-2 [7724B] |
| | 336 | Get:12 http://us.archive.ubuntu.com breezy/main x11proto-trap-dev 3.4-1 [15.0kB] |
| | 337 | Get:13 http://us.archive.ubuntu.com breezy/main libxtrap-dev 1:3.0.0-3 [14.3kB] |
| | 338 | Get:14 http://us.archive.ubuntu.com breezy/main x11proto-record-dev 1.13-1 [5028B] |
| | 339 | Get:15 http://us.archive.ubuntu.com breezy/main libxtst-dev 1:1.13.0-2 [8652B] |
| | 340 | Get:16 http://us.archive.ubuntu.com breezy/main x11proto-video-dev 2.2+cvs.20050712-1 [8870B] |
| | 341 | Get:17 http://us.archive.ubuntu.com breezy/main libxv-dev 1:2.2.0+cvs.20050712-3 [9396B] |
| | 342 | Get:18 http://us.archive.ubuntu.com breezy/main x11proto-gl-dev 1.4+cvs.20050524-5 [18.2kB] |
| | 343 | Get:19 http://us.archive.ubuntu.com breezy-updates/main libgl1-mesa-dev 6.3.2-0ubuntu6breezy1 [427kB] |
| | 344 | Get:20 http://us.archive.ubuntu.com breezy-updates/main libglu1-mesa-dev 6.3.2-0ubuntu6breezy1 [256kB] |
| | 345 | Get:21 http://us.archive.ubuntu.com breezy/main libxaw7-dev 7.0.2-3 [194kB] |
| | 346 | Get:22 http://us.archive.ubuntu.com breezy/main libxmuu-dev 1:6.2.3-5 [7572B] |
| | 347 | Get:23 http://us.archive.ubuntu.com breezy/main libice6-dbg 1:6.3.5-4 [70.0kB] |
| | 348 | Get:24 http://us.archive.ubuntu.com breezy/main libsm6-dbg 1:6.0.4-4 [2270B] |
| | 349 | Get:25 http://us.archive.ubuntu.com breezy/main libx11-6-dbg 1:6.2.1+cvs.20050722-8 [2575kB]Get:26 http://us.archive.ubuntu.com breezy/main libxaw7-dbg 7.0.2-3 [4118B] |
| | 350 | Get:27 http://us.archive.ubuntu.com breezy/main libxext6-dbg 1:6.4.3-3 [140kB] |
| | 351 | Get:28 http://us.archive.ubuntu.com breezy/main libxi6-dbg 1:1.3.0-2 [195kB] |
| | 352 | Get:29 http://us.archive.ubuntu.com breezy/main libxmu6-dbg 1:6.2.3-5 [135kB] |
| | 353 | Get:30 http://us.archive.ubuntu.com breezy/main libxmuu1-dbg 1:6.2.3-5 [20.7kB] |
| | 354 | Get:31 http://us.archive.ubuntu.com breezy/main libxpm4-dbg 1:3.5.2-5 [56.7kB] |
| | 355 | Get:32 http://us.archive.ubuntu.com breezy/main libxrandr2-dbg 1:1.0.2-2 [23.2kB] |
| | 356 | Get:33 http://us.archive.ubuntu.com breezy/main libxt6-dbg 1:0.99.0+cvs.20050803-3 [452kB] |
| | 357 | Get:34 http://us.archive.ubuntu.com breezy/main libxtrap6-dbg 1:3.0.0-3 [48.8kB] |
| | 358 | Get:35 http://us.archive.ubuntu.com breezy/main libxtst6-dbg 1:1.13.0-2 [34.6kB] |
| | 359 | Get:36 http://us.archive.ubuntu.com breezy/main libxv1-dbg 1:2.2.0+cvs.20050712-3 [26.4kB] |
| | 360 | Get:37 http://us.archive.ubuntu.com breezy/main xlibs-static-dev 6.8.2-77 [111kB] |
| | 361 | Get:38 http://us.archive.ubuntu.com breezy/main x-window-system-dev 6.8.2-77 [65.5kB] |
| | 362 | Fetched 5220kB in 8s (649kB/s) |
| | 363 | Extracting templates from packages: 100% |
| | 364 | Preconfiguring packages ... |
| | 365 | Selecting previously deselected package libxau-dev. |
| | 366 | (Reading database ... 71669 files and directories currently installed.) |
| | 367 | Unpacking libxau-dev (from .../libxau-dev_1%3a0.1.2-2_i386.deb) ... |
| | 368 | Selecting previously deselected package x11proto-input-dev. |
| | 369 | Unpacking x11proto-input-dev (from .../x11proto-input-dev_1.3-1_all.deb) ... |
| | 370 | Selecting previously deselected package libxi-dev. |
| | 371 | Unpacking libxi-dev (from .../libxi-dev_1%3a1.3.0-2_i386.deb) ... |
| | 372 | Selecting previously deselected package x11proto-xext-dev. |
| | 373 | Unpacking x11proto-xext-dev (from .../x11proto-xext-dev_6.9.99.0-1_all.deb) ... |
| | 374 | Selecting previously deselected package libxext-dev. |
| | 375 | Unpacking libxext-dev (from .../libxext-dev_1%3a6.4.3-3_i386.deb) ... |
| | 376 | Selecting previously deselected package libxmu-headers. |
| | 377 | Unpacking libxmu-headers (from .../libxmu-headers_1%3a6.2.3-5_all.deb) ... |
| | 378 | Selecting previously deselected package libxmu-dev. |
| | 379 | Unpacking libxmu-dev (from .../libxmu-dev_1%3a6.2.3-5_i386.deb) ... |
| | 380 | Selecting previously deselected package libxpm-dev. |
| | 381 | Unpacking libxpm-dev (from .../libxpm-dev_1%3a3.5.2-5_i386.deb) ... |
| | 382 | Selecting previously deselected package libxaw-headers. |
| | 383 | Unpacking libxaw-headers (from .../libxaw-headers_7.0.2-3_all.deb) ... |
| | 384 | Selecting previously deselected package x11proto-randr-dev. |
| | 385 | Unpacking x11proto-randr-dev (from .../x11proto-randr-dev_1.1-1_all.deb) ... |
| | 386 | Selecting previously deselected package libxrandr-dev. |
| | 387 | Unpacking libxrandr-dev (from .../libxrandr-dev_1%3a1.0.2-2_i386.deb) ... |
| | 388 | Selecting previously deselected package x11proto-trap-dev. |
| | 389 | Unpacking x11proto-trap-dev (from .../x11proto-trap-dev_3.4-1_all.deb) ... |
| | 390 | Selecting previously deselected package libxtrap-dev. |
| | 391 | Unpacking libxtrap-dev (from .../libxtrap-dev_1%3a3.0.0-3_i386.deb) ... |
| | 392 | Selecting previously deselected package x11proto-record-dev. |
| | 393 | Unpacking x11proto-record-dev (from .../x11proto-record-dev_1.13-1_all.deb) ... |
| | 394 | Selecting previously deselected package libxtst-dev. |
| | 395 | Unpacking libxtst-dev (from .../libxtst-dev_1%3a1.13.0-2_i386.deb) ... |
| | 396 | Selecting previously deselected package x11proto-video-dev. |
| | 397 | Unpacking x11proto-video-dev (from .../x11proto-video-dev_2.2+cvs.20050712-1_all.deb) ... |
| | 398 | Selecting previously deselected package libxv-dev. |
| | 399 | Unpacking libxv-dev (from .../libxv-dev_1%3a2.2.0+cvs.20050712-3_i386.deb) ... |
| | 400 | Selecting previously deselected package x11proto-gl-dev. |
| | 401 | Unpacking x11proto-gl-dev (from .../x11proto-gl-dev_1.4+cvs.20050524-5_all.deb) ... |
| | 402 | Selecting previously deselected package libgl1-mesa-dev. |
| | 403 | Unpacking libgl1-mesa-dev (from .../libgl1-mesa-dev_6.3.2-0ubuntu6breezy1_i386.deb) ... |
| | 404 | Selecting previously deselected package libglu1-mesa-dev. |
| | 405 | Unpacking libglu1-mesa-dev (from .../libglu1-mesa-dev_6.3.2-0ubuntu6breezy1_i386.deb) ... |
| | 406 | Selecting previously deselected package libxaw7-dev. |
| | 407 | Unpacking libxaw7-dev (from .../libxaw7-dev_7.0.2-3_i386.deb) ... |
| | 408 | Selecting previously deselected package libxmuu-dev. |
| | 409 | Unpacking libxmuu-dev (from .../libxmuu-dev_1%3a6.2.3-5_i386.deb) ... |
| | 410 | Selecting previously deselected package libice6-dbg. |
| | 411 | Unpacking libice6-dbg (from .../libice6-dbg_1%3a6.3.5-4_i386.deb) ... |
| | 412 | Selecting previously deselected package libsm6-dbg. |
| | 413 | Unpacking libsm6-dbg (from .../libsm6-dbg_1%3a6.0.4-4_i386.deb) ... |
| | 414 | Selecting previously deselected package libx11-6-dbg. |
| | 415 | Unpacking libx11-6-dbg (from .../libx11-6-dbg_1%3a6.2.1+cvs.20050722-8_i386.deb) ... |
| | 416 | Selecting previously deselected package libxaw7-dbg. |
| | 417 | Unpacking libxaw7-dbg (from .../libxaw7-dbg_7.0.2-3_i386.deb) ... |
| | 418 | Selecting previously deselected package libxext6-dbg. |
| | 419 | Unpacking libxext6-dbg (from .../libxext6-dbg_1%3a6.4.3-3_i386.deb) ... |
| | 420 | Selecting previously deselected package libxi6-dbg. |
| | 421 | Unpacking libxi6-dbg (from .../libxi6-dbg_1%3a1.3.0-2_i386.deb) ... |
| | 422 | Selecting previously deselected package libxmu6-dbg. |
| | 423 | Unpacking libxmu6-dbg (from .../libxmu6-dbg_1%3a6.2.3-5_i386.deb) ... |
| | 424 | Selecting previously deselected package libxmuu1-dbg. |
| | 425 | Unpacking libxmuu1-dbg (from .../libxmuu1-dbg_1%3a6.2.3-5_i386.deb) ... |
| | 426 | Selecting previously deselected package libxpm4-dbg. |
| | 427 | Unpacking libxpm4-dbg (from .../libxpm4-dbg_1%3a3.5.2-5_i386.deb) ... |
| | 428 | Selecting previously deselected package libxrandr2-dbg. |
| | 429 | Unpacking libxrandr2-dbg (from .../libxrandr2-dbg_1%3a1.0.2-2_i386.deb) ... |
| | 430 | Selecting previously deselected package libxt6-dbg. |
| | 431 | Unpacking libxt6-dbg (from .../libxt6-dbg_1%3a0.99.0+cvs.20050803-3_i386.deb) ... |
| | 432 | Selecting previously deselected package libxtrap6-dbg. |
| | 433 | Unpacking libxtrap6-dbg (from .../libxtrap6-dbg_1%3a3.0.0-3_i386.deb) ... |
| | 434 | Selecting previously deselected package libxtst6-dbg. |
| | 435 | Unpacking libxtst6-dbg (from .../libxtst6-dbg_1%3a1.13.0-2_i386.deb) ... |
| | 436 | Selecting previously deselected package libxv1-dbg. |
| | 437 | Unpacking libxv1-dbg (from .../libxv1-dbg_1%3a2.2.0+cvs.20050712-3_i386.deb) ... |
| | 438 | Selecting previously deselected package xlibs-static-dev. |
| | 439 | Unpacking xlibs-static-dev (from .../xlibs-static-dev_6.8.2-77_i386.deb) ... |
| | 440 | Selecting previously deselected package x-window-system-dev. |
| | 441 | Unpacking x-window-system-dev (from .../x-window-system-dev_6.8.2-77_i386.deb) ... |
| | 442 | Setting up libxau-dev (0.1.2-2) ... |
| | 443 | Setting up x11proto-input-dev (1.3-1) ... |
| | 444 | Setting up libxmu-headers (6.2.3-5) ... |
| | 445 | Setting up libxpm-dev (3.5.2-5) ... |
| | 446 | Setting up x11proto-randr-dev (1.1-1) ... |
| | 447 | Setting up x11proto-trap-dev (3.4-1) ... |
| | 448 | Setting up libxtrap-dev (3.0.0-3) ... |
| | 449 | Setting up x11proto-record-dev (1.13-1) ... |
| | 450 | Setting up x11proto-video-dev (2.2+cvs.20050712-1) ... |
| | 451 | Setting up x11proto-gl-dev (1.4+cvs.20050524-5) ... |
| | 452 | Setting up libgl1-mesa-dev (6.3.2-0ubuntu6breezy1) ... |
| | 453 | Setting up libglu1-mesa-dev (6.3.2-0ubuntu6breezy1) ... |
| | 454 | Setting up libxmuu-dev (6.2.3-5) ... |
| | 455 | Setting up libice6-dbg (6.3.5-4) ... |
| | 456 | Setting up libsm6-dbg (6.0.4-4) ... |
| | 457 | Setting up libx11-6-dbg (6.2.1+cvs.20050722-8) ... |
| | 458 | Setting up libxaw7-dbg (7.0.2-3) ... |
| | 459 | Setting up libxext6-dbg (6.4.3-3) ... |
| | 460 | Setting up libxi6-dbg (1.3.0-2) ... |
| | 461 | Setting up libxmu6-dbg (6.2.3-5) ... |
| | 462 | Setting up libxmuu1-dbg (6.2.3-5) ... |
| | 463 | Setting up libxpm4-dbg (3.5.2-5) ... |
| | 464 | Setting up libxrandr2-dbg (1.0.2-2) ... |
| | 465 | Setting up libxt6-dbg (0.99.0+cvs.20050803-3) ... |
| | 466 | Setting up libxtrap6-dbg (3.0.0-3) ... |
| | 467 | Setting up libxtst6-dbg (1.13.0-2) ... |
| | 468 | Setting up libxv1-dbg (2.2.0+cvs.20050712-3) ... |
| | 469 | Setting up libxi-dev (1.3.0-2) ... |
| | 470 | Setting up x11proto-xext-dev (6.9.99.0-1) ... |
| | 471 | Setting up libxext-dev (6.4.3-3) ... |
| | 472 | Setting up libxmu-dev (6.2.3-5) ... |
| | 473 | Setting up libxaw-headers (7.0.2-3) ... |
| | 474 | Setting up libxrandr-dev (1.0.2-2) ... |
| | 475 | Setting up libxtst-dev (1.13.0-2) ... |
| | 476 | Setting up libxv-dev (2.2.0+cvs.20050712-3) ... |
| | 477 | Setting up libxaw7-dev (7.0.2-3) ... |
| | 478 | Setting up xlibs-static-dev (6.8.2-77) ... |
| | 479 | Setting up x-window-system-dev (6.8.2-77) ... |
| | 480 | cdelacruz@metis:/usr/local/gcc/gcc-3.4.4$ |
| | 481 | |
| | 482 | |
| | 483 | |
| | 484 | |
| | 485 | ==Aips Installation== |
| | 486 | {{{ |
| | 487 | |
| | 488 | |
| | 489 | (1) mkdir AIPS in /usr/local/AIPS (since it is a local install). |
| | 490 | |
| | 491 | (2) create an aips user/group. |
| | 492 | |
| | 493 | (3) 31DEC06.tar.gz (text) installation file is downloaded as well as the installation script install.pl |
| | 494 | |
| | 495 | (4) modify security for script, chmod 777 install.pl |
| | 496 | |
| | 497 | (5) ./install.pl (most options are default, refer to following wizard screen for selected options): |
| | 498 | |
| | 499 | cdelacruz@metis:/usr/local/AIPS$ ./install.pl |
| | 500 | |
| | 501 | ===================== AIPS 31DEC06 Install Wizard===================== |
| | 502 | |
| | 503 | Screen 11: FINAL REVIEW before installing! |
| | 504 | ------------------------------------------ |
| | 505 | This is your last, best hope for checking the settings before |
| | 506 | committing to the install. Please check thesesettings, and |
| | 507 | make sure they are what you want: |
| | 508 | |
| | 509 | AIPS_ROOT (screen 3): /usr/local/AIPS |
| | 510 | Group (screen 4): aips |
| | 511 | Group Write (screen 4): YES |
| | 512 | Architecture (screen 5): LINUX |
| | 513 | Site name (screen 5): AIPSCAL |
| | 514 | AIPS hosts (screen 6): METIS |
| | 515 | Data areas (screen 7): /usr/local/AIPS/DATA/METIS_1 |
| | 516 | Printers (screen 8): Paper type (screen 8): A |
| | 517 | Tape drives (screen 9): |
| | 518 | Tape hosts (screen 9): 127.0.0.1 |
| | 519 | Advanced (screen 10): (not listed here) |
| | 520 | |
| | 521 | You can skip back to a previous menu by entering its number, |
| | 522 | or use the phrase 'start over' to go back to the beginning. |
| | 523 | [You may also type B for back, or Q to Quit] |
| | 524 | |
| | 525 | AipsWiz: ===> [A]ccept (default) or menu number: |
| | 526 | |
| | 527 | ---------------------------------------------------------------------- |
| | 528 | # interactive AIPS, # batch queues (2 I) |
| | 529 | FILAI1: Init POPS memory files 1 through 12 with program POPSGN |
| | 530 | FILAI1: Done! |
| | 531 | AipsWiz: FILAIP seems to have run correctly. Now running POPSGN. |
| | 532 | AipsWiz: This will show a prompt; don't type anything, as I will |
| | 533 | AipsWiz: enter the magic incantations. If it works, you will see |
| | 534 | AipsWiz: the message 'Popsgen complete' momentarily... |
| | 535 | |
| | 536 | Data disk assignments: |
| | 537 | (Using global default file /usr/local/AIPS/DA00/DADEVS.LIST for DADEVS.PL) |
| | 538 | Disk 1 (1) is /usr/local/AIPS/DATA/METIS_1 |
| | 539 | |
| | 540 | Starting up POPSGN (RELEASE OF 31DEC06) |
| | 541 | Enter Idebug, Mname, Version (1 I, 2 A's) (NO COMMAS) |
| | 542 | >POPSG1: Popsgen complete |
| | 543 | POPSG1: metis 31DEC06 TST: Cpu= 0.0 Real= 0 |
| | 544 | AipsWiz: Copying DA00/METIS/* files to 31DEC06/LINUX/TEMPLATE/ area |
| | 545 | |
| | 546 | AipsWiz: =====> We're DONE! Let's have a nice Banana Split! <====== |
| | 547 | |
| | 548 | AipsWiz: Here are the final setup instructions for running AIPS |
| | 549 | |
| | 550 | 1. Reference the LOGIN.SH file in your .profile file |
| | 551 | (dot it now too, via ". ./LOGIN.SH") |
| | 552 | |
| | 553 | 2. Check that it works: |
| | 554 | |
| | 555 | aips notv tpok |
| | 556 | |
| | 557 | (this will not start a TV or tape servers). |
| | 558 | Try 'print 2 + 2' for a very basic test. |
| | 559 | |
| | 560 | ======================================================================== |
| | 561 | root@metis:/usr/local/AIPS# . ./LOGIN.SH |
| | 562 | root@metis:/usr/local/AIPS# aips notv tpok |
| | 563 | START_AIPS: Your initial AIPS printer is the |
| | 564 | START_AIPS: - system name , AIPS type |
| | 565 | |
| | 566 | START_AIPS: User data area assignments: |
| | 567 | (Using global default file /usr/local/AIPS/DA00/DADEVS.LIST for DADEVS.PL) |
| | 568 | Disk 1 (1) is /usr/local/AIPS/DATA/METIS_1 |
| | 569 | |
| | 570 | Tape assignments: |
| | 571 | Tape 1 is REMOTE |
| | 572 | Tape 2 is REMOTE |
| | 573 | |
| | 574 | START_AIPS: Assuming TPMON daemons are running or not used (you said TPOK) |
| | 575 | Starting up 31DEC06 AIPS with normal priority |
| | 576 | Begin the one true AIPS number 1 (release of 31DEC06) at priority = 0 |
| | 577 | AIPS 1: You are NOT assigned a TV device or server |
| | 578 | AIPS 1: You are NOT assigned a graphics device or server |
| | 579 | AIPS 1: Enter user ID number |
| | 580 | ?123 |
| | 581 | AIPS 1: 31DEC06 AIPS: |
| | 582 | AIPS 1: Copyright (C) 1995-2005 Associated Universities, Inc. |
| | 583 | AIPS 1: AIPS comes with ABSOLUTELY NO WARRANTY; |
| | 584 | AIPS 1: for details, type HELP GNUGPL |
| | 585 | AIPS 1: This is free software, and you are welcome to redistribute it |
| | 586 | AIPS 1: under certain conditions; type EXPLAIN GNUGPL for details. |
| | 587 | AIPS 1: Previous session command-line history *not* recovered. |
| | 588 | AIPS 1: TAB-key completions enabled, type HELP READLINE for details. |
| | 589 | AIPS 1: Loading a brand new POPS vocabulary |
| | 590 | >print 2 + 2 |
| | 591 | AIPS 1: 4 |
| | 592 | > |
| | 593 | |
| | 594 | ======================================================================== |
| | 595 | |
| | 596 | |
| | 597 | 3. Make a cron entry for the do_daily.METIS file |
| | 598 | that the MAKE.MNJ created, so you can run the |
| | 599 | AIPS 'midnight job'. This is optional but |
| | 600 | strongly recommended. |
| | 601 | |
| | 602 | AipsWiz: That's it. You should now have the latest AIPS! Enjoy. |
| | 603 | root@metis:/usr/local/AIPS# |
| | 604 | |
| | 605 | |
| | 606 | |
| | 607 | (6) Add the follwowing to the /etc/services file: |
| | 608 | |
| | 609 | |
| | 610 | # |
| | 611 | # Services added for the AIPS Ubuntu Installation |
| | 612 | # |
| | 613 | |
| | 614 | sssin 5000/tcp SSSIN # AIPS TV server |
| | 615 | ssslock 5002/tcp SSSLOCK # AIPS TV Lock |
| | 616 | msgserv 5008/tcp MSGSERV # AIPS Message Server |
| | 617 | tekserv 5009/tcp TEKSERV # AIPS TekServer |
| | 618 | aipsmt0 5010/tcp AIPSMT0 # AIPS remote FITS disk |
| | 619 | access |
| | 620 | aipsmt1 5011/tcp AIPSMT1 # AIPS remote tape 1 |
| | 621 | aipsmt2 5012/tcp AIPSMT2 # AIPS remote tape 2 |
| | 622 | aipsmt3 5013/tcp AIPSMT3 |
| | 623 | aipsmt4 5014/tcp AIPSMT4 |
| | 624 | aipsmt5 5015/tcp AIPSMT5 |
| | 625 | aipsmt6 5016/tcp AIPSMT6 |
| | 626 | aipsmt7 5017/tcp AIPSMT7 |
| | 627 | |
| | 628 | ***comment out the absolete "radio free ethernet" (5002) service. |
| | 629 | |
| | 630 | # rfe 5002/udp # Radio Free Ethernet |
| | 631 | # rfe 5002/tcp |
| | 632 | |
| | 633 | |
| | 634 | |
| | 635 | Please note: |
| | 636 | Video must be in 24-bit TruColor mode. |
| | 637 | |
| | 638 | |
| | 639 | (7) Added LOGIN.SH file to the .bashrc file: |
| | 640 | |
| | 641 | ### AIPS Environment ### |
| | 642 | . /usr/local/AIPS/LOGIN.SH |
| | 643 | |
| | 644 | (8) Changed AIPS directory ownership to aips group: |
| | 645 | |
| | 646 | sudo chown -R root:aips AIPS |
| | 647 | |
| | 648 | The .AIPSRC file is created in the installer's home directory by the install.pl script; it could |
| | 649 | possibly be modified to provide automatic instalation of AIPS. |
| | 650 | }}} |
| | 651 | |
| | 652 | ==Testing== |
| | 653 | }}} |
| | 654 | |
| | 655 | The following script was successfully executed: |
| | 656 | |
| | 657 | |
| | 658 | (1) launch aips (setup the LOGIN.SH under the user profile) |
| | 659 | (2) # 123 (input a password) |
| | 660 | (3) system will issue an id ?XXX |
| | 661 | (4) > task 'mandl' |
| | 662 | (5) inp |
| | 663 | (6) check outname > outname 'test1' |
| | 664 | (7) > input |
| | 665 | (8) > cparm 0 |
| | 666 | (9) > go (look at message server) |
| | 667 | (10) > mc (image catalog, print out file test1 (image file)) |
| | 668 | (11) > getn 'cat' (input the cat number from the list) |
| | 669 | (12) tvall |
| | 670 | (13) check for error messages in the msgserv. |
| | 671 | }}} |