[daip] question for aips installation

Gloria Dubner gdubner at iafe.uba.ar
Tue Oct 29 14:53:09 EST 2002


Hi Eric,

thanks for your answer.


> 
> 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.

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?

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
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
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.

Thanks,
gloria




More information about the Daip mailing list