[daip] Re: gcc-2.95.3

Eric Greisen egreisen at nrao.edu
Fri Sep 30 08:04:08 EDT 2005


Christina Lacey writes:
 > Eric,
 > 

    Please use daip at nrao.edu.  I am on travel and our systems person
might be able to help you better than I can.

 > I am trying to install AIPS on a fedora core 4 PC. 
 > Do I need to still install gcc 2.95.3?
 > 
 > I tried to install gcc 2.95.3, but failed to untar or gunzip the file.
 > Eror messages are below. I downloaded the gcc tarball from the AIPS NRAO
 > site. Any idea where the problem lies? Have you installed AIPS on Fedora
 > Core 4? I had no problems when I installed AIPS and gcc 2.95.3 on Fedora
 > Core 3. 
 > 

     There have been reports of 2.95.3 failing to build on fedora core
4.  In fact the claim is that only 3.4.4 builds and perhaps works on
core 4.

     But I suggest that you forget the compiler business and use the
binary installation.  Get the install.pl file, put it in your
$AIPS_ROOT and then
            perl install.pl -n
where the -n says to do the binary installation.  You will get
binaries build with the intel compiler that seem to run about 35%
faster than those created by the gnu compilers.  The intel compiler is
fairly expensive compared to the cost of workstations anyway but we
can give you the binaries and the run time libraries since we paid
the right license cost.  These binaries contain optimisations for 3
types of machines: the latest PIVs which do some parallel, older PIVs
(on which the 35% was measured), and generic machines, so they work
well on AMDs for example.

 > 
 >  When I tar zxvf I get the following error:
 > 
 > ....
 > gcc-2.95.3/gcc/java/mangle.c
 > gcc-2.95.3/gcc/java/parse-scan.c
 > gcc-2.95.3/gcc/java/parse-scan.y
 > gcc-2.95.3/gcc/java/parse.c
 > 
 > gzip: stdin: unexpected end of file
 > tar: Unexpected EOF in archive
 > tar: Unexpected EOF in archive
 > tar: Error is not recoverable: exiting now
 > 
 > When I try to do a gunzip by itself it fails. 
 > lacey at waradmiral ~/Desktop: $ gunzip gcc-2.95.3.tar.gz
 > 
 > gunzip: gcc-2.95.3.tar.gz: unexpected end of file
 >  lacey at waradmiral ~/Desktop: $

I suspect that you got a copy that got truncated somehow or was copied
without binary.  But the binary install is the way to go...

Have fun

Eric Greisen




More information about the Daip mailing list