[daip] Re: AIPS installation is Fedora2

Eric Greisen egreisen at nrao.edu
Wed Aug 18 09:58:29 EDT 2004


Huang, Zhen-yuan writes:
 > Dear Dr. Greisen,
 > 
 > I'm a beginner who try to install AIPS in os Fedora2. I used gcc2.95.3 (also suggested on web page) for AIPS installation, since I heard that old gcc compiler is better than new gcc, such as gcc3.3, to work on the new Fedora.
 > 
 > However, error messages always appear and then the system gets rid of installation in STEP2. I checked INSTEP2 log. There are some errors primarily:
 > 

    GNU 3.2.2 is okay and 3.4+ seem okay, 3.3.3 and 3.3.4 are suspect.
 2.95.3 may still work fine.


 > -------------------------------------------------------------
 > /home/aips/31DEC03/LINUX/PREP/ENORM.f: In function `enorm':
 > /home/aips/31DEC03/LINUX/PREP/ENORM.f:1: warning: `enorm' might be used uninitialized in this function
 > -------------------------------------------------------------

    This is a warning do NOT worry about such things

 > &
 > -------------------------------------------------------------
 > FC        :            /home/aips/31DEC03/LINUX/PREP/CXIMAGE.f
 > /home/aips/31DEC03/LINUX/PREP/CXIMAGE.f: In subroutine `cimcre':
 > /home/aips/31DEC03/LINUX/PREP/CXIMAGE.f:177: warning: unused variable `thscls'
 > /home/aips/31DEC03/LINUX/PREP/CXIMAGE.f:177: warning: unused variable `base'
 > -------------------------------------------------------------

    This is an extremely minor warning do NOT worry about such things
 > &
 > -------------------------------------------------------------
 > /home/aips/31DEC03/LINUX/PREP/ZSBIND.c:10: conflicting types for `gethostname'
 > /usr/include/unistd.h:783: previous declaration of `gethostname'
 > AIPSCC    : Compile of /home/aips/31DEC03/LINUX/PREP/ZSBIND.c
 > AIPSCC    : ends with fatal error(s)!
 > --------------------------------------------------------------

    This is a problem arising from fedora having changes in the OS
compared to earlier OS versions.  The subroutine is not used and has
been moved out of the way in 31DEC04 but you are installing an old
frozen version we cannot change.  Edit the file
$TST/$ARCH/INSTALL/APLLINUX.LIS 
and put a minus sign in the first column ahead of this subroutine.
Then restart install.pl.

Eric Greisen


 > 
 > Could you please help me to figure out my mistake? Thanks in advance!
 > 
 > Cheers,
 > Zhen-Yuan
 > 
 > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 > <HTML><HEAD>
 > <META http-equiv=Content-Type content="text/html; charset=big5">
 > <META content="MSHTML 6.00.2737.800" name=GENERATOR>
 > <STYLE></STYLE>
 > </HEAD>
 > <BODY bgColor=#ffffff>
 > <DIV>Dear Dr. Greisen,</DIV>
 > <DIV> </DIV>
 > <DIV>I'm a beginner who try to install AIPS in os Fedora2. I used gcc2.95.3 
 > (also suggested on web page) for AIPS installation, since I heard that old gcc 
 > compiler is better than new gcc, such as gcc3.3, to work on the new 
 > Fedora.</DIV>
 > <DIV> </DIV>
 > <DIV>However, error messages always appear and then the system gets rid of 
 > installation in STEP2. I checked INSTEP2 log. There are some errors 
 > primarily:</DIV>
 > <DIV> </DIV>
 > <DIV>-------------------------------------------------------------<BR>/home/aips/31DEC03/LINUX/PREP/ENORM.f: 
 > In function `enorm':<BR>/home/aips/31DEC03/LINUX/PREP/ENORM.f:1: warning: 
 > `enorm' might be used uninitialized in this 
 > function<BR>-------------------------------------------------------------<BR>&<BR>-------------------------------------------------------------<BR>FC        
 > :            
 > /home/aips/31DEC03/LINUX/PREP/CXIMAGE.f<BR>/home/aips/31DEC03/LINUX/PREP/CXIMAGE.f: 
 > In subroutine `cimcre':<BR>/home/aips/31DEC03/LINUX/PREP/CXIMAGE.f:177: warning: 
 > unused variable `thscls'<BR>/home/aips/31DEC03/LINUX/PREP/CXIMAGE.f:177: 
 > warning: unused variable 
 > `base'<BR>-------------------------------------------------------------<BR>&<BR>-------------------------------------------------------------<BR>/home/aips/31DEC03/LINUX/PREP/ZSBIND.c:10: 
 > conflicting types for `gethostname'<BR>/usr/include/unistd.h:783: previous 
 > declaration of `gethostname'<BR>AIPSCC    : Compile of 
 > /home/aips/31DEC03/LINUX/PREP/ZSBIND.c<BR>AIPSCC    : ends with 
 > fatal 
 > error(s)!<BR>--------------------------------------------------------------</DIV>
 > <DIV> </DIV>
 > <DIV>Could you please help me to figure out my mistake? Thanks in advance!</DIV>
 > <DIV> </DIV>
 > <DIV>Cheers,<BR>Zhen-Yuan<BR></DIV></BODY></HTML>




More information about the Daip mailing list