[daip] Fwd: AIPS compilation problem

Amy Mioduszewski amiodusz at nrao.edu
Mon Jul 23 17:20:46 EDT 2012


Hi Abhik,

That is to bad, a binary install avoids so many problems.

PP.EXE needs a working fortran compiler.  Check your FDEFAULT.SH,
which sets up the default compiles.  Does /usr/bin/g77 exist?  Try
a /usr/bin/g77 --version .  This should tell you the version of g77
that it is using.

Thanks,

Amy

abhik ghosh wrote:
> 
> Regards,
> Abhik Ghosh
> e-mail: abhik at phy.iitkgp.ernet.in <mailto:abhik at phy.iitkgp.ernet.in>
> 
> 
> ---------- Forwarded message ----------
> From: *abhik ghosh* <abhik.physicist at gmail.com 
> <mailto:abhik.physicist at gmail.com>>
> Date: Sat, Jul 21, 2012 at 9:08 AM
> Subject: Re: [daip] AIPS compilation problem
> To: Amy Mioduszewski <amiodusz at nrao.edu <mailto:amiodusz at nrao.edu>>
> 
> 
> Hi,
>      I forgot to mention in my mail that due to some firewall issue of 
> our institute I can not access the binary version.
>     I have to compile in AIPS in my machine.
>     I will appreciate if you kindly help me to install AIPS in my 
> laptop. The error message I have quoted in my earlier mail.
> 
> Thanks in advance,
> 
> 
> Regards,
> Abhik Ghosh
> e-mail: abhik at phy.iitkgp.ernet.in <mailto:abhik at phy.iitkgp.ernet.in>
> 
> 
> On Fri, Jul 20, 2012 at 9:39 PM, Amy Mioduszewski <amiodusz at nrao.edu 
> <mailto:amiodusz at nrao.edu>> wrote:
> 
>     Dear Abhik,
> 
>     First question, why are you trying to compile AIPS?  The easiest and
>     best (it runs faster) way to install AIPS is with the binary
>     version.  You can do this by
>     simply typing perl install.pl <http://install.pl> -n. See
>     http://www.aips.nrao.edu/__dec11.shtml#binary
>     <http://www.aips.nrao.edu/dec11.shtml#binary> for more details.
> 
>     Amy
> 
>     abhik ghosh wrote:
> 
>         Dear Sir,
>                       I was trying to install AIPS 31DEC11 version it in
>         my laptop. Currently, I am using Ubuntu 12.04 OS in my laptop.
>         But, it is not compiling in my laptop, giving me the following
>         error just at the beginning:
> 
> 
>         AipsWiz: ==> Confirm: start the install with these settings [Y]:
>         AipsWiz:  =====> Creating or updating HOSTS.LIST file
>         AipsWiz:         -- Done.
>         AipsWiz:  =====> Configuring your AIPS_ROOT area...
>         AipsWiz:  =====> Running 31DEC11/SYSTEM/UNIX/AIPSROOT.__DEFINE
>         /home/aips/AIPS11
>         AipsWiz:         -- Done.
>         AipsWiz:  =====> Setting up LNX64-specific areas and SYSLOCAL...
>         AipsWiz: Creating directory /home/aips/AIPS11/31DEC11/__LNX64/LIBR
>         AipsWiz: Creating directory /home/aips/AIPS11/31DEC11/__LNX64/LOAD
>         AipsWiz: Creating directory /home/aips/AIPS11/31DEC11/__LNX64/MEMORY
>         AipsWiz: Creating directory /home/aips/AIPS11/31DEC11/__LNX64/PREP
>         AipsWiz: Creating directory
>         /home/aips/AIPS11/31DEC11/__LNX64/SYSTEM/CTSG
>         AipsWiz: Creating directory
>         /home/aips/AIPS11/31DEC11/__LNX64/TEMPLATE
>         AipsWiz:         Will copy
>         /home/aips/AIPS11/31DEC11/__LNX64/SYSTEM/CTSG/MAKE.MNJ
>         AipsWiz:         - from
>         /home/aips/AIPS11/31DEC11/__SYSTEM/UNIX/UPDATE/MAKE.MNJ
>         AipsWiz:         -- Done.
>         AipsWiz:  =====> Configuring AIPS for your printers...
>         AipsWiz:         Text printing set up for 'A' size paper
>         AipsWiz:         -- done
>         AipsWiz:  =====> Configure AIPS data areas ...
>         AipsWiz:         -- done
>         AipsWiz:  =====> Configure AIPS Tape drives...
>         AipsWiz:         -- done
>         AipsWiz:  =====> Create DA00/hostname/ directories...
>         AipsWiz:         -- done.
>         AipsWiz:  =====> Deploying your compiler options in script files...
>         AipsWiz:         CCOPTS.SH done (C Compiler and options)
>         AipsWiz:         LDOPTS.SH done (Linker)
>         AipsWiz:         FDEFAULT.SH done (Fortran compiler and options)
>         WARNING!  The structure of
>         /home/aips/AIPS11/31DEC11/__LNX64/SYSTEM/CTSG/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
>         /home/aips/AIPS11/31DEC11/__LNX64/SYSTEM/CTSG)
>                   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
>         /home/aips/AIPS11/31DEC11/__LNX64/SYSTEM/CTSG...
>         AipsWiz: Compiling F2PS...
>         AipsWiz: Compiling F2TEXT...
>         AipsWiz: Compiling NEWEST...
>         NEWEST.c: In function ‘main’:
>         NEWEST.c:66:13: warning: format ‘%s’ expects argument of type
>         ‘char *’, but argument 3 has type ‘int’ [-Wformat]
>         NEWEST.c:90:19: warning: incompatible implicit declaration of
>         built-in function ‘exit’ [enabled by default]
>         AipsWiz: Compiling PRINTENV...
>         AipsWiz: Compiling AIPWD...
>         AipsWiz: Compiling REVENV...
>         REVENV.c: In function ‘main’:
>         REVENV.c:87:29: warning: cast to pointer from integer of
>         different size [-Wint-to-pointer-cast]
>         REVENV.c:87:9: warning: cast from pointer to integer of
>         different size [-Wpointer-to-int-cast]
>         AipsWiz:         - Compiling ZTRLOP.c...
>         AipsWiz:         - done.  Now try building the PP preprocessor...
>         AipsWiz: /usr/bin/g77 -O -o PP.EXE PP.f ZTRLOP.o
>         */usr/bin/ld: cannot find crt1.o: No such file or directory
> 
>         /usr/bin/ld: cannot find crti.o: No such file or directory
>         /usr/bin/ld: cannot find -lgcc_s
>         collect2: ld returned 1 exit status
>         AipsWiz: Error: Failed to build PP.EXE in
>         /home/aips/AIPS11/31DEC11/__LNX64/SYSTEM/CTSG
>         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::
> 
>         After this I have skipped the remaining installation. Please
>         suggest to me what should I do now.
> 
>         I will appreciate if you kindly help me to install AIPS in my
>         laptop.
> 
>                
>                
>                
>                
> 
> 
>         Regards,
>         Abhik Ghosh
>         e-mail: abhik at phy.iitkgp.ernet.in
>         <mailto:abhik at phy.iitkgp.ernet.in>
>         <mailto:abhik at phy.iitkgp.__ernet.in
>         <mailto:abhik at phy.iitkgp.ernet.in>>
> 
> 
>         ------------------------------__------------------------------__------------
> 
>         _________________________________________________
>         Daip mailing list
>         Daip at listmgr.cv.nrao.edu <mailto:Daip at listmgr.cv.nrao.edu>
>         http://listmgr.cv.nrao.edu/__mailman/listinfo/daip
>         <http://listmgr.cv.nrao.edu/mailman/listinfo/daip>
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Daip mailing list
> Daip at listmgr.cv.nrao.edu
> http://listmgr.cv.nrao.edu/mailman/listinfo/daip




More information about the Daip mailing list