Changes between Version 16 and Version 17 of IRAF


Ignore:
Timestamp:
01/13/06 11:25:10 (21 years ago)
Author:
cdelarcuz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IRAF

    v16 v17  
    9595
    9696(uncomment after testing)
     97
     98cdelacruz@metis:/etc/apt$ sudo apt-get install iraf-common iraf
    9799
    98100cdelacruz@metis:/etc/apt$ sudo apt-get install iraf-doc
    … …  
    468470cdelacruz@metis:/etc/apt$
    469471
     472
     473
     474
     475
     476
    470477===================================================================================
    471478
    … …  
    523530
    524531
    525 =============================================================================
    526 >> I don't expect that you're going to be able to convince your
    527 > observers/data analysts to use anything but iraf.  So I suggest my
    528 > 3-step Hacker's Installation Procedure for Iraf:
    529 unfortunately
    530 
    531 > Download as.pcix.gen.gz, ib.lnux.x86.gz, nb.lnux.x86.gz, and
    532 > extract them as follows:
    533 >
    534 >         Extract this            To here
    535 >         -------------------------------
    536 >         as.pcix.gen.gz          ./iraf/
    537 >         ib.lnux.x86.gz          ./irafbin/bin.linux/
    538 >         nb.lnux.x86.gz          ./irafbin/noao.bin.linux/
    539 >         ib.lnux.x86.gz          ./irafbin/bin.linux/
    540 >         nb.lnux.x86.gz          ./irafbin/noao.bin.linux/
    541 >
    542 > The root directory ("./") is arbitrary; for this type of installation,
    543 > I suggest /opt/iraf/ or /usr/local/iraf/; /usr/iraf/ and /iraf/ are
    544 > other possibilities (but don't fit into the standard hierarchy as
    545 > nicely).
    546 >
    547 > You must edit ./iraf/unix/hlib/libc/iraf.h with the chosen
    548 > installation path and create a symlink:
    549 >
    550 >         /usr/include/iraf.h => ./iraf/unix/hlib/libc/iraf.h
    551 >
    552 > That's enough to run ./irafbin/bin.linux/cl.e, and probably do most
    553 > analysis but you should run the full install script to do other stuff
    554 > too (edit other files, set up networking, make symlinks in /usr/bin/,
    555 > etc.):
    556 >
    557 >         ./iraf/unix/hlib/install
    558 >
    559 > (This is the part that scares most people, but I save it for last, since it
    560 > doesn't seem to be necessary for most things).
    561 So this should be _the_ steps that has to be ascomplished on the deb wrapper ?
    562 }}}
     532= Additional Packages =
     533STSDAS 3.4
     534
     535STSDAS archives:
     536
     537Source [ftp://ftp.stsci.edu/pub/software/stsdas/stsdas_v3.4/source/stsdas34.tar.gz]:
     538stsdas34.tar.gz
     539
     540Binaries (RedHat Enterprise 3) [ftp://ftp.stsci.edu/pub/software/stsdas/stsdas_v3.4/binaries/stsdas34.bin.rh.tar.gz]:
     541stsdas34.bin.rh.tar.gz
    563542
    564543{{{
    565544
    566 2.1  Special Note to LNUX Architecture Users
    567 --------------------------------------------
    568 
    569         The V2.12.2 HSI binaries (mkpkg, xc, hardcopy translators, etc)
    570 have a known problem affecting compilation of local tasks or external
    571 packages and should be replaced.  This patch fixes the problem, however to
    572 fix only the compilation issues a new set of HSI binaries are also being
    573 made available the patch directory as
    574 
    575         ftp://iraf.noao.edu/iraf/v212/PCIX/patch2a/hbin.lnux.x86.gz
    576 
    577 To use this file, simply download in binary mode and unpack in the
    578 $iraf/unix/bin.linux directory.
    579 
    580 
    581 
    582 root@metis:/usr/local/iraf# cd iraf
    583 root@metis:/usr/local/iraf/iraf# cat /usr/local/iraf/as.pcix.gen.gz | zcat | tar -xpf -
    584 root@metis:/usr/local/iraf/iraf#
    585 root@metis:/usr/local/iraf# cd irafbin
    586 root@metis:/usr/local/iraf/irafbin# ls
    587 bin.linux  noao.bin.linux
    588 root@metis:/usr/local/iraf/irafbin# cd bin.linux
    589 root@metis:/usr/local/iraf/irafbin/bin.linux# ls
    590 root@metis:/usr/local/iraf/irafbin/bin.linux# cat /usr/local/iraf/ib.lnux.x86.gz | zcat | tar -xpf -
    591 root@metis:/usr/local/iraf/irafbin/bin.linux# cd ..
    592 root@metis:/usr/local/iraf/irafbin# ls
    593 bin.linux  noao.bin.linux
    594 root@metis:/usr/local/iraf/irafbin/bin.linux# cat /usr/local/iraf/hbin.lnux.x86.gz | zcat | tar -xpf -
    595 root@metis:/usr/local/iraf/irafbin/bin.linux#
    596 
    597 root@metis:/usr/local/iraf/irafbin# cd naoa.bin.linux
    598 bash: cd: naoa.bin.linux: No such file or directory
    599 root@metis:/usr/local/iraf/irafbin# cd noao.bin.linux
    600 root@metis:/usr/local/iraf/irafbin/noao.bin.linux# cat /usr/local/iraf/nb.lnux.x86.gz | zcat | tar -xpf -
    601 root@metis:/usr/local/iraf/irafbin/noao.bin.linux#
    602 
    603 root@metis:/usr/local/iraf# cd iraf
    604 root@metis:/usr/local/iraf/iraf# cat /usr/local/iraf/patch2a.tar.gz | zcat | tar -xpf - root@metis:/usr/local/iraf/iraf#
    605 
    606 Edited /usr/local/iraf//iraf/unix/hlib/libc/iraf.h with the chosen
    607  installation path:
    608 
    609 #define HOST            "/usr/local/iraf/iraf/unix/"
    610 #define IRAF            "/usr/local/iraf/iraf/"
    611 #define TMP             "/usr/local/tmp/"
    612 
    613 
    614  and create a symlink:
    615 
    616 
    617         /usr/include/iraf.h => ./iraf/unix/hlib/libc/iraf.h
    618 
    619 
    620 root@metis:/usr/local/iraf# ln -s /usr/local/iraf/iraf/unix/hlib/libc/iraf.h /usr/include/iraf.h
    621 root@metis:/usr/local/iraf#
    622 }}}
    623 
    624 = Additional Packages =
    625 TABLES/STSDAS
    626 
    627 {{{
    628 TABLES must be installed first:
    629545
    630546Modified the /usr/local/iraf/iraf/unix/hlib/extern.pkg file to
    631547include:
    632548
    633 reset   tables          = /usr/local/tables/
    634 task    tables.pkg      = tables$tables.cl
     549reset   stsdas          =/usr/lib/iraf/stsdas
     550task    stsdas.pkg      = stsdas$stsdas.cl
     551
     552Under the reset   helpdb line, added:
     553
     554,stsdas$lib/helpdb.mip
     555
     556Created stsdas directory under: /usr/lib/iraf
     557
     558cdelacruz@metis:/usr/lib/iraf$ sudo mkdir stsdas
     559
     560Source file unpacked to the /usr/lib/iraf/stsdas directory:
     561
     562cdelacruz@metis:/usr/lib/iraf/stsdas$ sudo gzip -d *.gz
     563cdelacruz@metis:/usr/lib/iraf/stsdas$ sudo tar -xf stsdas34.tar
     564
     565Binary file unpacked to the /usr/lib/iraf/stsdas/bin.redhat directory:
     566
     567cdelacruz@metis:/usr/lib/iraf/stsdas/bin.redhat$ sudo tar -xf stsdas34.bin.rh.tar
     568
     569
     570
     571cdelacruz@metis:/usr/lib/iraf/stsdas/python$ sudo python compileall.py ./*
     572}}}
     573
     574
     575
     576
    635577
    636578