[daip] AIPS instalation

thyagarajan at astro.rug.nl thyagarajan at astro.rug.nl
Wed Aug 3 11:35:38 EDT 2005


hi,
   i have been an AIPS user for one year and I tried installing AIPS
(31DEC05)  on my laptop. my laptop configuration is:

1. Fedora Core 4 (2.6.11-1.1369_FC4) i386 architecture which i very
recently installed and i guess it has a gcc 4.0 as the default during
installation.

2. Intel P4 processor

3. i have about 25 GB space in this linux partition.

   i first tried installing AIPS with this specs where the compilers are
in "/usr" and these were the defaults shown in Screen 10 (Advanced
Settings) during the installtion and then I had the following errors:

-------------------------------------------------------------------------
AipsWiz: Compiling REVENV...
AipsWiz:         - Compiling ZTRLOP.c...
AipsWiz:         - done.  Now try building the PP preprocessor...
AipsWiz: /usr/bin/g77 -O -o PP.EXE PP.f ZTRLOP.o
AipsWiz: Error: Failed to build PP.EXE in
/home/software/AIPS/AIPS_ROOT/31DEC05/LINUX/SYSTEM/NITHYA_AIPS
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...

rm -f *.o xas XAS
/usr/bin/gcc  -D_BSD -DUSE_SHM -O2 -c xas.c
In file included from xas.c:31:
xas.h:52:22: error: X11/Xlib.h: No such file or directory
xas.h:53:23: error: X11/Xutil.h: No such file or directory
xas.h:54:24: error: X11/keysym.h: No such file or directory
xas.h:81:33: error: X11/extensions/XShm.h: No such file or directory In
file included from xas.c:31:
xas.h:88: error: syntax error before ‘connected’
xas.h:88: warning: data definition has no type or storage class
xas.h:204: error: syntax error before ‘XasDebug’
xas.h:204: warning: data definition has no type or storage class
xas.h:205: error: syntax error before ‘XDebug’
xas.h:205: warning: data definition has no type or storage class
xas.h:206: error: syntax error before ‘ByteSwapped’
xas.h:206: warning: data definition has no type or storage class
xas.h:207: error: syntax error before ‘ByteSwapDisp’
xas.h:207: warning: data definition has no type or storage class
xas.h:208: error: syntax error before ‘RedBigger’
xas.h:208: warning: data definition has no type or storage class
xas.h:209: error: syntax error before ‘*’ token
xas.h:209: warning: data definition has no type or storage class
xas.h:211: error: syntax error before ‘cursor’
xas.h:211: warning: data definition has no type or storage class
xas.h:212: error: syntax error before ‘win’
xas.h:212: warning: data definition has no type or storage class
xas.h:213: error: syntax error before ‘ImageGC’
xas.h:213: warning: data definition has no type or storage class
xas.h:216: error: syntax error before ‘*’ token
xas.h:216: warning: data definition has no type or storage class
xas.h:217: error: syntax error before ‘*’ token
xas.h:217: warning: data definition has no type or storage class
xas.h:218: error: syntax error before ‘*’ token
xas.h:218: warning: data definition has no type or storage class
xas.h:225: error: syntax error before ‘*’ token
xas.h:225: warning: data definition has no type or storage class
xas.h:234: error: syntax error before ‘plane_info’
xas.h:234: warning: data definition has no type or storage class
xas.h:235: error: syntax error before ‘graph_info’
xas.h:235: warning: data definition has no type or storage class
xas.h:236: error: syntax error before ‘line_info’
xas.h:236: warning: data definition has no type or storage class
xas.h:275: error: syntax error before ‘TV_colour’
xas.h:275: warning: data definition has no type or storage class
xas.h:276: error: syntax error before ‘*’ token
xas.h:276: warning: data definition has no type or storage class
xas.h:277: error: syntax error before ‘fg_curs’
xas.h:277: warning: data definition has no type or storage class
xas.h:417: error: syntax error before ‘*’ token
xas.h:433: error: syntax error before ‘is_complete’
xas.h:433: error: syntax error before ‘*’ token
xas.h:433: warning: data definition has no type or storage class
xas.h:435: error: syntax error before ‘*’ token
xas.h:459: error: syntax error before ‘int’
xas.c: In function ‘main’:
xas.c:44: error: ‘XEvent’ undeclared (first use in this function)
xas.c:44: error: (Each undeclared identifier is reported only once
xas.c:44: error: for each function it appears in.)
xas.c:44: error: syntax error before ‘report’
xas.c:45: error: ‘KeySym’ undeclared (first use in this function)
xas.c:47: error: ‘XComposeStatus’ undeclared (first use in this function)
xas.c:47: error: syntax error before ‘compose’
xas.c:61: error: ‘False’ undeclared (first use in this function)
xas.c:119: error: ‘report’ undeclared (first use in this function)
xas.c:166: warning: pointer targets in passing argument 3 of ‘accept’
differ in signedness
xas.c:171: error: ‘True’ undeclared (first use in this function)
xas.c:177: warning: pointer targets in passing argument 3 of ‘accept’
differ in signedness
xas.c:188: warning: pointer targets in passing argument 5 of ‘getsockopt’
differ in signedness
xas.c:194: warning: pointer targets in passing argument 5 of ‘getsockopt’
differ in signedness
xas.c:209: error: ‘Expose’ undeclared (first use in this function)
xas.c:223: error: ‘ButtonPress’ undeclared (first use in this function)
xas.c:226: error: ‘MotionNotify’ undeclared (first use in this function)
xas.c:229: error: ‘KeyPress’ undeclared (first use in this function)
xas.c:230: error: ‘XKeyEvent’ undeclared (first use in this function)
xas.c:230: error: syntax error before ‘)’ token
xas.c:231: error: ‘key’ undeclared (first use in this function)
xas.c:231: error: ‘compose’ undeclared (first use in this function)
xas.c:234: error: ‘ConfigureNotify’ undeclared (first use in this
function)
xas.c: In function ‘ProcessAipsRequest’:
xas.c:298: error: ‘False’ undeclared (first use in this function)
make: *** [xas.o] Error 1
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 20050802 (format is YYYYMMDD);
This is ONE day before the generation time
of /home/software/AIPS/AIPS_ROOT/31DEC05.tar.gz (if I've subtracted right!)

AipsWiz: ==> If you want a different date, enter it now::
AipsWiz: About to run
'/home/software/AIPS/AIPS_ROOT/31DEC05/LINUX/SYSTEM/NITHYA_AIPS/MAKE.MNJ
20050802'...
AipsWiz: This will generate a fair bit of output.
AipsWiz: Engaging MAKE.MNJ...

AIPS_VERSION=/home/software/AIPS/AIPS_ROOT/31DEC05
MAKE.MNJ - Moving to /home/software/AIPS/AIPS_ROOT/31DEC05/LINUX/UPDATE
MAKE.MNJ - Creating copies of files in
/home/software/AIPS/AIPS_ROOT/31DEC05/SYSTEM/UNIX/UPDATE
MAKE.MNJ - Compiling utility programs...
UPDOBSLT.c: In function ‘main’:
UPDOBSLT.c:69: warning: incompatible implicit declaration of built-in
function ‘exit’
UPDOBSLT.c:75: warning: incompatible implicit declaration of built-in
function ‘exit’
UPDOBSLT.c:79: warning: incompatible implicit declaration of built-in
function ‘exit’
MAKE.MNJ -   UPDOBSLT compiled
UPDLSTDAT.c: In function ‘main’:
UPDLSTDAT.c:56: warning: incompatible implicit declaration of built-in
function ‘exit’
UPDLSTDAT.c:70: warning: incompatible implicit declaration of built-in
function ‘exit’
UPDLSTDAT.c:141: warning: incompatible implicit declaration of built-in
function ‘exit’
MAKE.MNJ -   UPDLSTDAT compiled
MAKE.MNJ - all .OLD files created
MAKE.MNJ - LAST*.DAT files created with begin date of 20050802.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 - Found /usr/bin/cvs.
MAKE.MNJ - Setting up your MNJ settings in
MAKE.MNJ -
/home/software/AIPS/AIPS_ROOT/31DEC05/LINUX/SYSTEM/NITHYA_AIPS/UPDCONFIG:
MAKE.MNJ -  --------------------------
# Created by MAKE.MNJ on Wed Aug  3 13:03:41 UTC 2005
cvscmd=/usr/bin/cvs
ClientName=localhost
MailList=root
ErrorList=root,aipsmgr at nrao.edu
MAKE.MNJ -  --------------------------
MAKE.MNJ - If you wish to change any of these settings, refer to the
MAKE.MNJ - comments at the start of
/home/software/AIPS/AIPS_ROOT/31DEC05/SYSTEM/UNIX/UPDATE/UPDCONFIG
MAKE.MNJ - and edit
/home/software/AIPS/AIPS_ROOT/31DEC05/LINUX/SYSTEM/NITHYA_AIPS/UPDCONFIG
yourself.
MAKE.MNJ - Press <RETURN> to acknowledge...:
MAKE.MNJ - cvs needs to be primed by a login operation; this
MAKE.MNJ - is also a good time to test and make sure you can
MAKE.MNJ - connect to our server. We will now try to login to
MAKE.MNJ - the server (mnj.aoc.nrao.edu); when prompted for
MAKE.MNJ - a password, just hit the enter or return key.
Logging in to :pserver:anoncvs at mnj.aoc.nrao.edu:2401/home/aipssrc/cvs







INSTEP2   : Aborts!    Wed Aug  3 09:10:55 EDT 2005
AipsWiz: Error: INSTEP2 failed, no point in proceeding.
AipsWiz: Error: Look in
/home/software/AIPS/AIPS_ROOT/31DEC05/LINUX/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.



-------------------------------------------------------------------------

  I then read the gcc compiler issues on NRAO's site and infact downloaded
and installed gcc2.95 compiler as instructed on your site. During the
bootstrap command: make bootstrap there were some errors. i then wrote
"make  install" and it seemed to end.
  with this setup, i tried installing AIPS again and made changes in
Screen 10 by changing the paths for fortran compiler(FORT), linker(LINK)
and CCOM. i didn't know if i had to change READLINE to the new path. the
new path did not have libreadline.a and so i copied it from the old path
and pasted it in the new directory and then ran the install again. but
this time, the errors were :

-----------------------------------------------------------------------

AipsWiz:         - done.  Now try building the PP preprocessor...
AipsWiz: /usr/local/bin/g77 -O -o PP.EXE PP.f ZTRLOP.o
/usr/bin/ld: cannot find -lg2c
collect2: ld returned 1 exit status
AipsWiz: Error: Failed to build PP.EXE in
/home/software/AIPS/AIPS_ROOT/31DEC05/LINUX/SYSTEM/NITHYA_AIPS
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...



rm -f *.o xas XAS
/usr/local/bin/gcc  -D_BSD -DUSE_SHM -O2 -c xas.c
In file included from xas.c:31:
xas.h:52: X11/Xlib.h: No such file or directory
xas.h:53: X11/Xutil.h: No such file or directory
xas.h:54: X11/keysym.h: No such file or directory
In file included from xas.c:31:
xas.h:81: X11/extensions/XShm.h: No such file or directory
make: *** [xas.o] Error 1
AipsWiz: Error: Failed to build the XAS program.
AipsWiz: Error: This means no AIPS TV will be available.


INSTEP2   : Failure in $AIPSUB/...
INSTEP2   : compilations.
INSTEP2   : Aborts!    Wed Aug  3 10:06:22 EDT 2005
AipsWiz: Error: INSTEP2 failed, no point in proceeding.
AipsWiz: Error: Look in
/home/software/AIPS/AIPS_ROOT/31DEC05/LINUX/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.

------------------------------------------------------------------

  I would really appreciate any help as I am a beginner to AIPS.
Hoping to hear from you,
Nithya.













More information about the Daip mailing list