[daip] question for aips installation

Eric Greisen egreisen at nrao.edu
Sat Nov 2 15:40:45 EST 2002


Gloria Dubner writes:
 > > I am rather concerned about the use of /usr/bin to put the "new" gcc -
 > > the operating system uses that one and you have replaced it.  I am not
 > > sure that your operating system will now work correctly.  I believe
 > > that our instructions caution against doing this.
 > 
 > Don't worry. I read the warnings and took it into account. The new gcc is
 > not replacing the old one, and the system still works OK.
 > 
 > First problem:

 > 1) when installing gcc I receive the following messages:
 >  cd gcc-2.95.3
 >  ./configure
 > Configuring for a i686-pc-linux-gnuoldld host.
 > Created "Makefile" in /usr/local/bin/gcc/gcc-2.95.3
 > ./configure: cc: command not found
 > *** The command 'cc -o conftest -g   conftest.c' failed.
 > *** You must set the environment variable CC to a working compiler.

Does your $PATH exist and include /usr/bin ?  The install of
gcc-2.95.3 must have access to a C compiler of some sort.

Are you root at this point?  You may have to be to do these things in
/usr/local/bin.

 > 
 > And, of course, if I try to follow with make, this is what it says:
 > 
 > configure: error: installation or configuration problem: C compiler cannot
 > create executables.
 > Configuring in ./libstdc++
 > Configuring for a i686-pc-linux-gnuoldld host.
 > rmdir: `libstdc++': Directory not empty
 > Configuring in ./libf2c
 > creating cache ./config.cache
 > checking if compiler f771 has been built... no
 > rmdir: `libf2c': Directory not empty
 > 
 > etc.
 > 
 > What can I do about this?

     Your install of aips cannot use 2.95.3 unless you get it
installed.  I have never encountered a problem doing that but I stick
compilers in some private place and then try to figure out where the
gcc and g77 executables have actually ended up.

     Perhaps Pat Murphy will have an idea - he does not work for aips
any more but knows a lot more than I do about these matters.


 > The file .AIPSRC is the following:
 > 
 > # AIPSRC created by install.pl on Tue Oct 29 17:41:19 2002
 > #
 > AIPS_ROOT = /home/aips2/AIPS
 > GROUP = radio
 > GROUPWRITE = YES
 > ARCH = LINUX
 > SITE = IAFE
 > THISHOST = ARAI
 > HOSTS = "ARAI"
 > PRINTERS = "HP720:PS~NONE~impresora_local_arai
 > abajo:PS~NONE~impresora_publica_abajo
 > feten:PS~NONE~impresora_publica_arriba"
 > DATA_AREAS = "/home/aips2/AIPS/DATA/ARAI_4:NONE
 > /home/aips2/AIPS/DATA/ARAI_5:NONE /home/aips2/AIPS/DATA/ARAI_1:NONE
 > /home/aips2/AIPS/DATA/ARAI_2:NONE /home/aips2/AIPS/DATA/ARAI_3:NONE"
 > TAPE_DRIVES = ""
 > TPHOSTS = "157.92.21.103 157.92.21.126"
 > DEFSERV = UNIX
 > APSIZE = 80
 > PRINTMED = A4
 > FORT = /usr/bin/g77

     This has to point at your 2.95.3

 > FORTOPT = -c -fno-automatic -fno-globals -Wno-globals -malign-double
 > -Wimplicit -Wall
 > CCOM = /usr/local/bin/gcc/gcc-2.95.3/gcc
 > CCOMOPT = -c -O3 -fomit-frame-pointer -funroll-loops
 > -I/home/aips2/AIPS/31DEC02/INC -D_FILE_OFFSET_BITS=64 -DHAVE_LINUX_GLIBC
 > LINK = /usr/bin/g77

     This has to point at your 2.95.3

 > READLINE =
 > DOTWOLIB = NO
 > DOWNLOADED = 2002.10.29:15:47.16
 > UNPACKED = Unpacked in /home/aips2/AIPS at Tue Oct 29 12:48:11 2002
 > 
 > #---- End of AIPSRC file
 > 
 > I hope that it makes any sense for you to suggest me something.
 > 

I wish it made more sense - keep trying and let me know hat you
find...

Cheers,

Eric



More information about the Daip mailing list