jchock2000 |
09/21/2010 08:56AM (Read 3190 times)
|
|
|
Status: offline
Registered: 06/07/2010
Posts: 17
|
I'm preparing a Solaris 10 Sparc system from scratch and I normally install a slew of Sunfreeware applications, I wondered if IRAF has any dependencies on these applications to run or to install.
|
|
|
|
fitz |
09/21/2010 08:56AM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
There are no explicit dependencies, however we assume you have a C-shell and X11 installed. GCC and a development environment will be required if you plan to build any external packages from source.
|
|
|
|
jchock2000 |
09/21/2010 08:56AM
|
|
|
Status: offline
Registered: 06/07/2010
Posts: 17
|
I'm doing an experiment to see what's the least amount of packages required in /usr/local/bin - so far I installed gcc 3.4.6, make 3.82, m4, automake. I ran through the installation process, summary steps...1. created iraf account and set the home directory to /iraf/iraf/local.2. tar extracted the noao.bin.ssun, ib.ssol.sun.tar, ssol.sun.tar3. installed x11iraf in /usr/local/bin4. installed iraf as root set path=($path /usr/local/bin)
setenv iraf /iraf/iraf/
cd $iraf/unix/hlib
source irafuser.csh ./installseems to go through the installation with no "Failed" status, they all say OK. but in the end, the cl was not installed in /usr/local/bin so I created a link to it. but when I run it, if I type "softools" and then "rtar" it says command not found so it's like it didn't install all the way.I wondered if I needed more than the basic packages in /usr/local to make it work right?the other question I had is that the 1st screen has a WARNING message that says the "no-op" flag will be enabled by default. No changes will be made to the system files, however you will be able to see what the script does. Proceed with no-op installation anyway? (yes): so I proceed, but it makes me think something isn't correct and maybe that's why it isn't completely installing.Thanks.JC
|
|
|
|
jchock2000 |
09/21/2010 08:56AM
|
|
|
Status: offline
Registered: 06/07/2010
Posts: 17
|
ahh, comparing it to a working iraf installation I have, rtar is also a link in /usr/local/bin, so for whatever reason the installation into /usr/local/bin step must not have executed.
|
|
|
|
fitz |
09/21/2010 08:56AM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
The NO-OP flag is either set if the install script senses you are not the 'root' user, or if you explicitly set the "-n" flag when you run install. Either way, the warning telling you "No changes will be made to the system files" explain why the links weren't created.
|
|
|
|
jchock2000 |
09/21/2010 08:56AM
|
|
|
Status: offline
Registered: 06/07/2010
Posts: 17
|
so that makes sense as to why my /usr/local/bin doesn't get updated. what doesn't make sense is why it's doing that. i installed x11iraf right before that and it put a bunch of files into the directory, so it has right privs.
|
|
|
|
jchock2000 |
09/21/2010 08:56AM
|
|
|
Status: offline
Registered: 06/07/2010
Posts: 17
|
the problem is that in Solaris 10, the root user doesn't search /usr/ucb and that's where the "whoami" command is found. so it was failing during the "install" script and setting it to "no-op".thanks for the clues!
|
|
|
|
fitz |
09/21/2010 08:56AM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
Just FYI, I've modified the install script for the next release to handle the /usr/ucb stuff on Solaris.
|
|
|
|