[daip] Installing Aips on SunOS

Dr. Sylvie F. Beaulieu sbeaulieu at phy.ulaval.ca
Thu Mar 3 16:34:43 EST 2005


Quebec, 3.March.2005

Hello,

I am trying to install Aips on a SunOS system but I am having problems
with what I think is related to the compiler.

I have significant experience with installing on stand-alone desktops
and laptops on Linux, with ease. But it is the first time I try to
install Aips on a Sun server.

We have Solaris 9, and install.pl has identified SOL correctly as our
system. To install Aips, I have logged on a Sun workstation as root.

The problems start right after accepting the FDEFAULT.SH file and
it is having problem identifying the license file. I thus continued
anyway to hit "enter" just so I could see how far it would go. Then
it goes on with not being able to identify a "proper" cc compiler
and finally crash when trying to start INSTEP2.

In my /opt/SUNWspro/bin  I have :  cc -> ../SC5.0/bin/cc
but I also have cc-4.2 in that directory.

It is the same thing for f77.

Maybe cc should be pointing to cc-4.2 ?

I have attached an error file (cut/paste from screen) and also my
/softwares/SunOS/aips31dec05/31DEC05/SOL/SYSTEM/FDEFAULT.SH

Thank you in advance for your help.

Best regards,

-Sylvie.


-- 
----------------------------------------------------------------------
        Astronome - Dr. Sylvie F. Beaulieu - Astronomer

Universite Laval                 Email : sbeaulieu at phy.ulaval.ca
Dept. de physique                Off.  : (418) 656-2131 ext: 2472
Pavillon Alexandre-Vachon        Sec   : (418) 656-2652
Quebec, (Quebec)                 Fax   : (418) 656-2040
Canada  G1K 7P4

Astrophysics System Manager

http://www.ast.cam.ac.uk/~beaulieu/index.html
----------------------------------------------------------------------
-------------- next part --------------
WARNING!  The structure of /softwares/SunOS/aips31dec05/31DEC05/SOL/SYSTEM/ULAVALSUNOS/FDEFAULT.SH
          is very complex, and while this wizard install
          tries VERY hard to change the right section,
          it may have failed.  Please, PLEASE inspect the
          file and compare it to the original (saved as
          FDEFAULT.SH.dist in /softwares/SunOS/aips31dec05/31DEC05/SOL/SYSTEM/ULAVALSUNOS)
          to make sure the settings are right.  Do this
          BEFORE you proceed any further.
          THIS IS REQUIRED FOR THE 2.95.3 COMPILER IN LINUX
AipsWiz: ==> Press <ENTER> after you have verified FDEFAULT.SH:: 
AipsWiz:  =====> Compile Utility Programs (if needed) in /softwares/SunOS/aips31dec05/31DEC05/SOL/SYSTEM/ULAVALSUNOS...
AipsWiz: Compiling F2PS...

License Error : Licensing product (Sun WorkShop Compiler C SPARC).
        License File: /opt/SUNWspro/bin/../SC5.0/bin/../../license_dir/sunpro.lic,node
Invalid license file syntax
Feature:workshop.c.sparc
License text
FLEXlm error:-2,134.  
cc: acomp failed for F2PS.c
AipsWiz: Error: Failed to compile F2PS in /softwares/SunOS/aips31dec05/31DEC05/SOL/SYSTEM/ULAVALSUNOS
AipsWiz: Error: You need to find out why (later), but for now
AipsWiz: Error: let's proceed...
AipsWiz: ==> Press <ENTER> to acknowledge:: 
AipsWiz: Compiling F2TEXT...

License Error : Licensing product (Sun WorkShop Compiler C SPARC).
        License File: /opt/SUNWspro/bin/../SC5.0/bin/../../license_dir/sunpro.lic,node
Invalid license file syntax
Feature:workshop.c.sparc
License text
FLEXlm error:-2,134.  
cc: acomp failed for F2TEXT.c
AipsWiz: Error: Failed to compile F2TEXT in /softwares/SunOS/aips31dec05/31DEC05/SOL/SYSTEM/ULAVALSUNOS
AipsWiz: Error: You need to find out why (later), but for now
AipsWiz: Error: let's proceed...
AipsWiz: ==> Press <ENTER> to acknowledge:: 
AipsWiz: Compiling NEWEST...

License Error : Licensing product (Sun WorkShop Compiler C SPARC).
        License File: /opt/SUNWspro/bin/../SC5.0/bin/../../license_dir/sunpro.lic,node
Invalid license file syntax
Feature:workshop.c.sparc
License text
FLEXlm error:-2,134.  
cc: acomp failed for NEWEST.c
AipsWiz: Error: Failed to compile NEWEST in /softwares/SunOS/aips31dec05/31DEC05/SOL/SYSTEM/ULAVALSUNOS
AipsWiz: Error: You need to find out why (later), but for now
AipsWiz: Error: let's proceed...
AipsWiz: ==> Press <ENTER> to acknowledge:: 
AipsWiz: Compiling PRINTENV...

License Error : Licensing product (Sun WorkShop Compiler C SPARC).
        License File: /opt/SUNWspro/bin/../SC5.0/bin/../../license_dir/sunpro.lic,node
Invalid license file syntax
Feature:workshop.c.sparc
License text
FLEXlm error:-2,134.  
cc: acomp failed for PRINTENV.c
AipsWiz: Error: Failed to compile PRINTENV in /softwares/SunOS/aips31dec05/31DEC05/SOL/SYSTEM/ULAVALSUNOS
AipsWiz: Error: You need to find out why (later), but for now
AipsWiz: Error: let's proceed...
AipsWiz: ==> Press <ENTER> to acknowledge:: 
AipsWiz: Compiling AIPWD...

License Error : Licensing product (Sun WorkShop Compiler C SPARC).
        License File: /opt/SUNWspro/bin/../SC5.0/bin/../../license_dir/sunpro.lic,node
Invalid license file syntax
Feature:workshop.c.sparc
License text
FLEXlm error:-2,134.  
cc: acomp failed for AIPWD.c
AipsWiz: Error: Failed to compile AIPWD in /softwares/SunOS/aips31dec05/31DEC05/SOL/SYSTEM/ULAVALSUNOS
AipsWiz: Error: You need to find out why (later), but for now
AipsWiz: Error: let's proceed...
AipsWiz: ==> Press <ENTER> to acknowledge:: 
AipsWiz: Compiling REVENV...

License Error : Licensing product (Sun WorkShop Compiler C SPARC).
        License File: /opt/SUNWspro/bin/../SC5.0/bin/../../license_dir/sunpro.lic,node
Invalid license file syntax
Feature:workshop.c.sparc
License text
FLEXlm error:-2,134.  
cc: acomp failed for REVENV.c
AipsWiz: Error: Failed to compile REVENV in /softwares/SunOS/aips31dec05/31DEC05/SOL/SYSTEM/ULAVALSUNOS
AipsWiz: Error: You need to find out why (later), but for now
AipsWiz: Error: let's proceed...
AipsWiz: ==> Press <ENTER> to acknowledge:: 
AipsWiz:         - Compiling ZTRLOP.c...

License Error : Licensing product (Sun WorkShop Compiler C SPARC).
        License File: /opt/SUNWspro/bin/../SC5.0/bin/../../license_dir/sunpro.lic,node
Invalid license file syntax
Feature:workshop.c.sparc
License text
FLEXlm error:-2,134.  
cc: acomp failed for ZTRLOP.c
AipsWiz:         - done.  Now try building the PP preprocessor...
AipsWiz: /opt/SUNWspro/bin/f77 -O -o PP.EXE PP.f ZTRLOP.o

License Error : Licensing product (Sun WorkShop Compiler FORTRAN 77 SPARC).
        License File: /opt/SUNWspro/bin/../SC5.0/bin/../../license_dir/sunpro.lic,node
Invalid license file syntax
Feature:workshop.f77.sparc
License text
FLEXlm error:-2,134.  
AipsWiz: Error: Failed to build PP.EXE in /softwares/SunOS/aips31dec05/31DEC05/SOL/SYSTEM/ULAVALSUNOS
AipsWiz: Error: This will prevent INSTEP2 from starting!!!!
AipsWiz: Error: You need to find out why it failed, but for now
AipsWiz: Error: you can proceed with the rest of the install...
AipsWiz: ==> Press <ENTER> to acknowledge:: 
AipsWiz:  =====> Make the XAS TV Server from source if needed...
AipsWiz: About to unpack the XAS.SHR archive.
AipsWiz: Done.
AipsWiz: About to try to make XAS...

sh: make: not found
sh: make: not found
AipsWiz: Error: Failed to build the XAS program.
AipsWiz: Error: This means no AIPS TV will be available.
AipsWiz: ==> Press <ENTER> to acknowledge:: 
AipsWiz:  =====> Preparing for INSTEP2 and INSTEP4 (building AIPS)...
AipsWiz:  =====> Preparing for the "Midnight Job"...
AipsWiz:         MAKE.MNJ done (C Compiler and options)
AipsWiz: 
The AIPS Midnight Job is a way to keep your AIPS
AipsWiz: installation up to date.  It is secure, relatively
AipsWiz: easy, and can be done on demand or in a cron job
AipsWiz: (i.e. periodically, daily or weekly or whenever).
AipsWiz: It does require that you have the cvs software
AipsWiz: package installed on your system.

AipsWiz: This script will set up the infrastructure for you
AipsWiz: to be *able* to run the Midnight Job (MNJ), but you
AipsWiz: have the power to make it run or not.

Should you choose to run the Midnight Job, the
'begin date' will be set to 20050302 (format is YYYYMMDD);
This is ONE day before the generation time
of /softwares/SunOS/aips31dec05/31DEC05.tar.gz (if I've subtracted right!)

AipsWiz: ==> If you want a different date, enter it now:: 
AipsWiz: About to run '/softwares/SunOS/aips31dec05/31DEC05/SOL/SYSTEM/ULAVALSUNOS/MAKE.MNJ 20050302'...
AipsWiz: This will generate a fair bit of output.
AipsWiz: Engaging MAKE.MNJ...

AIPS_VERSION=/softwares/SunOS/aips31dec05/31DEC05
MAKE.MNJ - Moving to /softwares/SunOS/aips31dec05/31DEC05/SOL/UPDATE
MAKE.MNJ - Creating copies of files in /softwares/SunOS/aips31dec05/31DEC05/SYSTEM/UNIX/UPDATE
MAKE.MNJ - Compiling utility programs...

License Error : Licensing product (Sun WorkShop Compiler C SPARC).
        License File: /opt/SUNWspro/bin/../SC5.0/bin/../../license_dir/sunpro.lic,node
Invalid license file syntax
Feature:workshop.c.sparc
License text
FLEXlm error:-2,134.  
cc: acomp failed for UPDOBSLT.c
MAKE.MNJ -   UPDOBSLT compiled

License Error : Licensing product (Sun WorkShop Compiler C SPARC).
        License File: /opt/SUNWspro/bin/../SC5.0/bin/../../license_dir/sunpro.lic,node
Invalid license file syntax
Feature:workshop.c.sparc
License text
FLEXlm error:-2,134.  
cc: acomp failed for UPDLSTDAT.c
MAKE.MNJ -   UPDLSTDAT compiled
MAKE.MNJ - all .OLD files created
MAKE.MNJ - LAST*.DAT files created with begin date of 20050302.000000
MAKE.MNJ - Done.
MAKE.MNJ - The MNJ now uses cvs (http://www.cvshome.org) for updates;
MAKE.MNJ - looking to see if I can find a copy of it....
MAKE.MNJ - I can not seem to find it, either it is not here or it is
MAKE.MNJ - here, but it is installed in a place that is not in your
MAKE.MNJ - search path. If it is not here, you should install it and
MAKE.MNJ - run MAKE.MNJ again. Otherwise, please tell me where you
MAKE.MNJ - put it.
-n MAKE.MNJ - Full path to cvs: : 

MAKE.MNJ - The location you gave me, , either does not exist,
MAKE.MNJ - is not a file or is not executable. Please try again.
/softwares/SunOS/aips31dec05/31DEC05/SOL/SYSTEM/ULAVALSUNOS/MAKE.MNJ: test: unknown operator X
AipsWiz: =========================================================
AipsWiz: MAKE.MNJ seemed to work (LASTGOOD.DOC found)
AipsWiz: ==> Press <ENTER> to continue...: 
AipsWiz: =========================================================
AipsWiz:  =====> start INSTEP2 and INSTEP4...

This takes hours, is VERY verbose (lots of output).
It compiles the AIPS libraries (INSTEP2),
and then links the 400 or so AIPS tasks (INSTEP4).
We can start it now, or you can run it yourself later
(instructions will be given if you do it later).

AipsWiz: ==> Shall I start INSTEP2 and then INSTEP4 here, now? [Y]: 
AIPS_VERSION=/softwares/SunOS/aips31dec05/31DEC05
INSTEP2   : Begins     Thu Mar  3 15:55:49 EST 2005

INSTEP2   : Create any missing binary file directories.

INSTEP2   : Directory /softwares/SunOS/aips31dec05/31DEC05/SOL/LIBR
INSTEP2   : already exists (no need to create).
INSTEP2   : Directory  /softwares/SunOS/aips31dec05/31DEC05/SOL/LIBR/AIPSUB
INSTEP2   : created.
INSTEP2   : Directory  /softwares/SunOS/aips31dec05/31DEC05/SOL/LIBR/APLNOT
INSTEP2   : created.
INSTEP2   : Directory  /softwares/SunOS/aips31dec05/31DEC05/SOL/LIBR/APLOOP
INSTEP2   : created.
INSTEP2   : Directory  /softwares/SunOS/aips31dec05/31DEC05/SOL/LIBR/APLSOL
INSTEP2   : created.
INSTEP2   : Directory  /softwares/SunOS/aips31dec05/31DEC05/SOL/LIBR/APLSUB
INSTEP2   : created.
INSTEP2   : Directory  /softwares/SunOS/aips31dec05/31DEC05/SOL/LIBR/QNOT
INSTEP2   : created.
INSTEP2   : Directory  /softwares/SunOS/aips31dec05/31DEC05/SOL/LIBR/QOOP
INSTEP2   : created.
INSTEP2   : Directory  /softwares/SunOS/aips31dec05/31DEC05/SOL/LIBR/QPSAP
INSTEP2   : created.
INSTEP2   : Directory  /softwares/SunOS/aips31dec05/31DEC05/SOL/LIBR/QSUB
INSTEP2   : created.
INSTEP2   : Directory  /softwares/SunOS/aips31dec05/31DEC05/SOL/LIBR/YNOT
INSTEP2   : created.
INSTEP2   : Directory  /softwares/SunOS/aips31dec05/31DEC05/SOL/LIBR/YSS
INSTEP2   : created.
INSTEP2   : Directory  /softwares/SunOS/aips31dec05/31DEC05/SOL/LIBR/YSUB
INSTEP2   : created.
INSTEP2   : Directory  /softwares/SunOS/aips31dec05/31DEC05/SOL/LOAD
INSTEP2   : already exists (no need to create).
INSTEP2   : Directory  /softwares/SunOS/aips31dec05/31DEC05/SOL/MEMORY
INSTEP2   : already exists (no need to create).
INSTEP2   : Directory  /softwares/SunOS/aips31dec05/31DEC05/SOL/ERRORS
INSTEP2   : already exists (no need to create).

INSTEP2   : Grind away on mass compilation of subroutines.
INSTEP2   : This part can take a very long time.

INSTEP2   : Process    $AIPSUB/...
INSTEP2   : subroutines.
/softwares/SunOS/aips31dec05/31DEC05/SYSTEM/UNIX/MAKEAT: PRINTENV: not found
MAKEAT    : Cannot find env. variable for /softwares/SunOS/aips31dec05/31DEC05/AIPS/SUB
INSTEP2   : Failure in AIPSUB.LIS
INSTEP2   : creation.
INSTEP2   : Aborts!    Thu Mar  3 15:55:53 EST 2005
AipsWiz: Error: INSTEP2 failed, no point in proceeding.
AipsWiz: Error: Look in /softwares/SunOS/aips31dec05/31DEC05/SOL/INSTALL to see
AipsWiz: Error: if you can figure out what went wrong.  There are
AipsWiz: Error: many log and list files there.  You may want to do

grep -v ^- *.LIS


AipsWiz: Error: to see what modules did not compile.

AipsWiz: Install Wizard stopping.  Current settings saved in ~/.AIPSRC
AipsWiz: Abandoning ship!  Goodbye.
========================================================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FDEFAULT.SH
Type: text/x-sh
Size: 7054 bytes
Desc: not available
URL: <http://listmgr.nrao.edu/pipermail/daip/attachments/20050303/c5164679/attachment.bin>


More information about the Daip mailing list