XAS can be installed on SUN OS 4.1.x and ALPHA/OSF1 v.3.2 operating systems.
XAS 2.0 is available via anonymous ftp from
SAX SDC ftp server, starting from January 31, 1997.
The following is the content (as of Feb 18, 1997)
of the sax.sdc.asi.it/pub/sax/software/xas
directory (versions of the packages can change):
In the XAS distribution no makefile is supplied. The required makefiles
for the compilation are automatically generated by the
XASBUILD
utility in the way most suitable for your system. XASBUILD is included
in the XAS distribution.
setenv XAS_MAKE gmake
$XASTOP/config/Scripts/xasbuild
This will create in most of the $XASTOP subdirectories files named
Makefile_system,
where system is e.g. ULTRIX, SunOS, etc. Makefiles
for different operating systems may
coexist in the same directory due to the presence of the suffix.
This will build XAS.
This page is maintained by Fabrizio Fiore and Matteo Guainazzi
ftp> dir
200 PORT command successful.
150 ASCII data connection for /bin/ls (193.204.215.42,3451) (0 bytes).
total 1202
-rw-r--r-- 1 root 1214414 Feb 4 11:23 xas_2.0.1.tar.gz
226 ASCII Transfer complete.
227 bytes received in 0.18 seconds (1.2 Kbytes/s)
To install XAS:
mkdir /youdisk/xas ; setenv XASTOP /youdisk/xas
(or XASTOP=/youdisk/xas ; export XASTOP if you are running sh or ksh)
XASx.x.x.tar.gz
XASx.x.x.tar.gz
in the $XASTOP directory
XAS_x.x.x.tar.gz
xas_x.x.x.tar
ln -s vos_YYY vos
where YYY is:
What is the root directory for XAS (XASTOP)?
/sun/xas/
Now you define the "ULIBDIR" macro in the Makefiles.
This macro defines ALL references to external libraries.
You must answer with couples of "/dir1/dir2/mylibdir mylib"
answers, and /dir1/dir2/mylibdir/libmylib.a must exist.
If you add libraries already in the default serch path
of the linker, answer with "default library"
(e. g. "default curses" adds the curses library to the
link path; "default X11" adds the X11 Xlib library, and so on).
System libraries should be the last ones to be inserted.
As an example, if the pgplot and fitsio libraries are not
in $XASTOP/lib, you MUST add them with this macro.
You end the definition with a return. If you give a return
at the first time, you select the default answer (that is
ULIBDIR= -L/usr/local/lib -lpgplot -lfitsio -lX11
and that could be obtained with:
/usr/local/lib pgplot<return>
default fitsio<return>
default ssdaux<return>
default X11<return>
default m<return>
<return>.
Warning! This script IS case sensitive for this answer!
/ftools/ftools/host fitsio
/ftools/ftools/host pgplot
default ssdaux
/usr/openwin/lib X11
/usr/lib m
ULIBDIR=-L/usr/local/lib -lpgplot -lfitsio -lX11
Select the destination directory for the XAS library
(default: $XASTOP/lib)
/sun/xas/lib
Select the destination directory for the executables
(default: $XASTOP/bin)
/sun/xas/bin
Removing Makefile/SunOS in $XASTOP.
Done!
IMPORTANT WARNING: the localize
option /usr/lib m
must be used only when XAS is installed on ALPHA/OSF1.
Questions,
comments or suggestions concerning the
BeppoSAX software can be
addressed to
helpdesk@sax.sdc.asi.it