Changes between Version 28 and Version 29 of pyRAF
- Timestamp:
- 04/27/06 17:02:57 (21 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pyRAF
v28 v29 217 217 }}} 218 218 219 For Pyraf installation, downloaded all dependant packages from 220 [http://www.stsci.edu/resources/software_hardware/pyraf/current/support_pyraf/ here]. 219 For Pyraf installation, downloaded all the following dependant packages: 221 220 222 221 * [ftp://ra.stsci.edu/pub/pyraf/support_pyraf/libf2c.tar.gz libf2c.tar] … … 229 228 * [ftp://ra.stsci.edu/pub/pyraf/support_pyraf/tk8.3.5-src.tar.gz tk8.3.5-src.tar.gz] 230 229 231 (1) created a directory under /usr/local/pyraf 232 (2) Copied and extracted all packages to the pyraf directory 233 (3) created a directory where all compiled binaries will be installed: 230 '''Create the installation directory:''' 231 {{{ 232 /usr/local/pyraf 233 }}} 234 '''Extract all packages to the pyraf directory''' 235 236 '''Created a directory where all compiled binaries will be installed:''' 237 {{{ 234 238 /usr/local/pyraf/install 235 (4) compile and install tcl: 239 }}} 240 '''Compile and install tcl:''' 241 {{{ 236 242 gunzip -d tcl8.3.5-src.tar.gz 237 243 tar xvf tcl8.3.5-src.tar … … 240 246 make 241 247 make install 242 243 (5) Compile and install Tk: 248 }}} 249 '''Compile and install Tk:''' 250 {{{ 244 251 gunzip -d tk8.3.5-src.tar.gz 245 252 tar xvf tk8.3.5-src.tar … … 248 255 make 249 256 make install 250 251 (6) Install readline: 257 }}} 258 '''Install readline:''' 259 {{{ 252 260 gunzip -d readline-4.3.tar.gz 253 261 tar xvf readline-4.3.tar … … 256 264 make 257 265 make install 258 259 (7) Install Python 266 }}} 267 '''Install Python:''' 268 {{{ 260 269 gunzip -d Python-2.3.4.tar.gz 261 270 tar xvf Python-2.3.4.tar … … 263 272 ./configure --prefix=/usr/local/pyraf/install 264 273 edit /Python-2.3.4/Modules/Setup 265 {{{274 266 275 # *** Always uncomment this (leave the leading underscore in!): 267 276 _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \ … … 300 309 make install 301 310 }}} 302 (8) Install Numeric: 311 '''Install Numeric:''' 312 {{{ 303 313 gunzip -d Numeric-23.8.tar.gz 304 314 tar xvf Numeric-23.8.tar 305 315 cd Numeric-23.8 306 316 /usr/local/pyraf/install/bin/python setup.py install 307 308 (9) Install Pmw 317 }}} 318 '''Install Pmw:''' 319 {{{ 309 320 gunzip -d Pmw.1.2.tar.gz 310 321 tar xvf Pmw.1.2.tar 311 322 cp -r /usr/local/pyraf/Pmw. . 312 313 (10) Install libf2c: 323 }}} 324 '''Install libf2c:''' 325 {{{ 314 326 gunzip -d libf2c.tar.gz 315 327 tar xvf libf2c.tar 316 328 cd libf2c 317 329 make -f makefile.u 318 319 (11) Install Pyraf: 330 }}} 331 '''Install Pyraf:''' 332 {{{ 320 333 gunzip -d stsci_python_v2.2.tar.gz 321 334 tar xvf stsci_python_v2.2.tar … … 325 338 cp ../libf2c/libf2c.a libf2c/ 326 339 cd /numarray-1.4.1 327 /usr/local/pyraf/install/bin/python setup.py install --with-f2c=/usr/local/pyraf/stsci_python/libf2c328 329 (12) Add path '/usr/local/pyraf/install/bin/python' to PATH. 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 340 /usr/local/pyraf/install/bin/python setup.py install --with-f2c=/usr/local/pyraf/stsci_python/libf2c 341 }}} 342 '''Add path /usr/local/pyraf/install/bin/python to PATH.''' 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364
