[daip] Re: AIPS 31DEC02

Rekhesh Mohan reks at iiap.res.in
Mon Mar 13 07:00:09 EST 2006


On Thu, 2 Mar 2006, Eric Greisen wrote:

> Rekhesh Mohan writes:
>  > 
>  > Thanks! Downloaded the files, but problems came up while installing. He
>  > wanted to install it on an opteron based Sun-fire40z server. Since the
>  > machine was running redhatEL with gcc-3.4.2, we tried to build gcc-2.95.3,
>  > but turns out that configure did not understand machine architecture
>  > (x86_64-unknown-linux). Patching the configure scripts with tips from gcc
>  > mailing list also did not make any difference (make failed).
> 
>      3.4.2 will not work but 3.4.3 will and should be able to install
> on his machine.


That did it! gcc-3.4.3 on x86_64 with the following modifications:

1. install.pl (31DEC02):
   line 163  - changed $ARCH to "LINUX" otherwise it goes to "UNKNOWN"
   line 1941 - add /usr/lib64 in libreadline search path

2. Y/SERVERS/XAS/Makefile:
   line 85   - change /usr/X11R6/lib to /usr/X11R6/lib64

3. APL/DEV/UNIX/BELL/AXLINUX/ZPRMPT.C and 
   APL/DEV/UNIX/BELL/LINUX/ZPRMPT.C
   remove "extern int errno"
   add #include <errno.h> on top

4. While running install.pl, remove "-malign-double" from g77 options.

Thanks a lot for all the help!

--Rekhesh.




More information about the Daip mailing list