[daip] Re: AIPS/LINUX

David Frayer frayer at ipac.caltech.edu
Wed Apr 6 22:56:29 EDT 2005


Thanks Eric.  This was enough of a hint for me to fix it.

-Dave

For everyone's records (if interested), to get things to work on this LINUX 
machine (Enterprise-Version3 Intel EM64T):

(1) Remove "-malign-double" flag for COMPSWIT within the FDEFAULT.SH file.
(2) Change LIBDIRS_LINUX in /opt/aips/31DEC04/Y/SERVERS/XAS/Makefile from
LIBDIRS_LINUX    = -L/usr/X11R6/lib to
LIBDIRS_LINUX    = -L/usr/X11R6/lib64

Then run install.pl.



>X-MIMEDefang-Relay-a09632e686e9e86b91778a5e799bb994bf902dbe: 146.88.1.15
>From: Eric Greisen <egreisen at nrao.edu>
>MIME-Version: 1.0
>Content-Transfer-Encoding: 7bit
>Date: Wed, 6 Apr 2005 13:15:30 -0600
>To: David Frayer <frayer at ipac.caltech.edu>
>Cc: daip at nrao.edu, rottler at ipac.caltech.edu
>Subject: Re: AIPS/LINUX
>X-MailScanner-Information: Please contact postmaster at aoc.nrao.edu for more 
information
>X-MailScanner: Found to be clean
>X-MailScanner-SpamCheck: not spam, SpamAssassin (score=-5.9, required 7, 
BAYES_01 -5.40, IN_REP_TO -0.37, REFERENCES -0.00, USER_AGENT_VM -0.06)
>X-CanItPRO-Stream: frayer
>X-Spam-Score: undef - spam-scanning disabled
>X-Scanned-By: CanIt (www . roaringpenguin . com) on 134.4.10.130
>
>
>In /usr/X11R6/lib
>
>primate<349>$ ll *ext*
>-rw-r--r--    1 root     root        72992 Feb 12  2004 libXext.a
>lrwxrwxrwx    1 root     root           14 Feb 24  2004 libXext.so -> 
libXext.so.6.4*
>lrwxrwxrwx    1 root     root           14 Feb 24  2004 libXext.so.6 -> 
libXext.so.6.4*
>-rwxr-xr-x    1 root     root        53520 Feb 12  2004 libXext.so.6.4*
>
>These are the libraries that support X extensions which are very
>standard in Linux installations.
>
>We frequently see the complaint that things fail to compile becuase
>the X11R6 code developers include files have not been installed.  I do
>not remember this complaint (ld cannot find -lXext) ever arising.  The
>rpm for X11 developers must be installed but perhaps there is some
>other rpm that was not installed on your system.
>
>Eric Greisen


X-Unix-From: frayer at ipac.caltech.edu  Wed Apr  6 11:08:42 2005
X-MIMEDefang-Relay-a09632e686e9e86b91778a5e799bb994bf902dbe: 134.4.62.92
Date: Wed, 6 Apr 2005 11:08:37 -0700 (PDT)
From: David Frayer <frayer at ipac.caltech.edu>
Subject: AIPS/LINUX
To: egreisen at nrao.edu
Cc: frayer at ipac.caltech.edu, rottler at ipac.caltech.edu
MIME-Version: 1.0
Content-MD5: s0CU7DKuHethl56pIU1vqg==
X-CanItPRO-Stream: frayer
X-Spam-Score: undef - spam-scanning disabled
X-Scanned-By: CanIt (www . roaringpenguin . com) on 134.4.10.130


Dear Eric,

Using the default installation from install.pl, I was unable to get XAS to 
compile.

It returned the message below.  I'm running gcc version 3.2.3 under Red Hat 
Enterprise Linux WS version 3 (out of the box 470-n from Dell).

----
AipsWiz: The GNU readline library was apparently created.
AipsWiz:  =====> Make the XAS TV Server from source if needed...
AipsWiz: XAS.SHR appears to be already unpacked.
AipsWiz: About to try to make XAS...
 
rm -f *.o xas XAS
/usr/bin/gcc  -D_BSD -DUSE_SHM -O2 -c xas.c
/usr/bin/gcc  -D_BSD -DUSE_SHM -O2 -c image.c
/usr/bin/gcc  -D_BSD -DUSE_SHM -O2 -c comm.c
/usr/bin/gcc  -D_BSD -DUSE_SHM -O2 -c cursor.c
/usr/bin/gcc  -D_BSD -DUSE_SHM -O2 -c screen.c
/usr/bin/gcc  -D_BSD -DUSE_SHM -O2 -c init.c
/usr/bin/gcc  -D_BSD -DUSE_SHM -O2 -c colors.c
/usr/bin/gcc  -D_BSD -DUSE_SHM -O2 -c catalog.c
/usr/bin/gcc -L/usr/X11R6/lib -O2 -D_BSD -DUSE_SHM xas.o image.o comm.o cursor.o  
screen.o init.o colors.o catalog.o -lXext -lX11 -lm  -o xas
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
make: *** [xas] Error 1
AipsWiz: Error: Failed to build the XAS program.
AipsWiz: Error: This means no AIPS TV will be available.
---

Upstream, install.pl returned this comment which may be relevant:

---
AipsWiz: Running Readline 'configure' in quiet mode, and then make...
loading cache ./config.cache
Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not 
recognized creating ./config.status
--- 

My machine is a dual processor, and I believe that I'm running Intel EM64T with 
32-bit applications (hyper-threading).

To get the rest of the AIPS compiled, I turned off the "-malign-double" flag for 
COMPSWIT within the FDEFAULT.SH file.  I'm not sure if there are any negative 
impacts to this.  Anyway, AIPS seems to work ok, except that I do not have XAS. 

Do you have any suggestions for getting XAS to work on my machine?  We tried to 
set the LD_LIBRARY_PATH to point to X11, but that did not seem to help.

Thanks for any help you may provide,

-Dave Frayer






More information about the Daip mailing list