[bananas] Linux woes
Ralph Gaume
rgaume at usno.navy.mil
Thu Feb 15 06:38:34 EST 2001
| I was the person that attempted to install on a redhat 7 machine, I
| eventually got it installed and somewhat working right. It runs, but we
| are having a problem viewing images... ZSSSLOCK or something like that..
| Ran into another linux problem today..
Hi Mory & Bananas lovers-
I too had trouble installing AIPS on Red Hat 7 and reported these problems
in mid October. The problem was immediately obvious from running the DDT. I
found that the old (well tested) egcs compilers were available on my RedHat
7 system, so I compiled most of AIPS using the egcs compilers. The TV stuff
didn't compile/link with the egcs compilers due to unresolved references, so
I compiled the XAS with the default compilers. Things have been working well
on several RH7 computers for the last 4 months or so, but your mileage may
vary.... Part of my original e-mail from Oct 13 is included below.
-Ralph Gaume
=========================================
1) There is a problem with AIPS and Red Hat 7.0. See output
from the small DDT below, where there is a problem with UVMAP and
MXCLN:
SMALL DDT (UCHII)
AIPS 1: 'UVMAP ' 1.6368 5.3179
AIPS 1: 'UVBEAM' 1.7497 5.4886
AIPS 1: 'APCLN ' 14.0233 20.6413
AIPS 1: 'APRES ' 17.8127 23.9398
AIPS 1: 'MXMAP ' 12.9288 18.0772
AIPS 1: 'MXBEAM' 14.2349 18.5995
AIPS 1: 'MXCLN ' 3.8978 7.9089
AIPS 1: 'VTESS ' 19.0068 26.2858
AIPS 1: 'UVMAP ' -0.032 -0.0062 -0.4176
AIPS 1: 'UVBEAM' 0 0 -0.0061
AIPS 1: 'APCLN ' 0 0 0.0007
AIPS 1: 'APRES ' 0.0485 -0.0326 -0.2043
AIPS 1: 'MXMAP ' 0 0 0
AIPS 1: 'MXBEAM' 0 0 0
AIPS 1: 'MXCLN ' 0.0067 -0.0096 0.3552
AIPS 1: 'VTESS ' 0 0 0
Turns out that this is a compiler problem. The default compilers
that come with RH 7.0, /usr/bin/gcc, /usr/bin/g77, are DEVELOPMENT
versions, see http://gcc.gnu.org/gcc-2.96.html. Fortunately, the
egcs-2.91.66, (egcs-1.1.2 release) compilers are still available in
/usr/bin/i386-redhat-linux-gcc and /usr/bin/i386-glibc21-linux-g77
When I recompiled AIPS with these compilers, the DDT worked find.
Unfortunately, things that use X, like XAS, pgplot, difmap, get
unresolved references with the old compilers, so for these I
switched back to the default compilers. Having to use a mix of old
and new compilers is a pain, but (so far) seems to work.
More information about the Bananas
mailing list