Thread: SAC

Started: 2013-12-31 03:27:42
Last activity: 2013-12-31 03:27:42
Topics: SAC Help
Hamdi ALKAN
SAC
2013-12-31 03:27:42
My pc system is ubuntu 13.10 32 bit. I tried "./src/sac" but i take error,
ERROR:"Environmental variable SACAUX not defined".

when i run ./configure, take compilation options at the below, and when i
run "make check", it appears that graphics window on my screan.

Compilation Options for sac (Seismic Analysis Code 101.6a)
CFLAGS = -D_GNU_SOURCE
LDFLAGS =
LIBS = -ldl -lm -lncurses
Debug =
Optimization =
Database = off
Matlab = off
X11-buffer = on
X11-depth = on
XDR Format = off
Support = xpm zlib
X_LIBS =
X_CFLAGS =
Readline = off
Editline = on
Install Base = /usr/local/sac
System = linux_x86 (i686-pc-linux-gnu)

Also, "make install" answer,

root@halkan65-VirtualBox:/
home/halkan65/Desktop/sac-101.6a# make install
Making install in libedit
make[1]: Entering directory `/home/halkan65/Desktop/sac-101.6a/libedit'
make[2]: Entering directory `/home/halkan65/Desktop/sac-101.6a/libedit'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/halkan65/Desktop/sac-101.6a/libedit'
make[1]: Leaving directory `/home/halkan65/Desktop/sac-101.6a/libedit'
Making install in src
make[1]: Entering directory `/home/halkan65/Desktop/sac-101.6a/src'
make[2]: Entering directory `/home/halkan65/Desktop/sac-101.6a/src'
test -z "/usr/local/sac/bin" || /bin/mkdir -p "/usr/local/sac/bin"
/usr/bin/install -c sac '/usr/local/sac/bin'
test -z "/usr/local/sac/lib" || /bin/mkdir -p "/usr/local/sac/lib"
/usr/bin/install -c -m 644 libsacio.a libsac.a '/usr/local/sac/lib'
( cd '/usr/local/sac/lib' && ranlib libsacio.a )
( cd '/usr/local/sac/lib' && ranlib libsac.a )
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/halkan65/Desktop/sac-101.6a/src'
make[1]: Leaving directory `/home/halkan65/Desktop/sac-101.6a/src'
Making install in utils
make[1]: Entering directory `/home/halkan65/Desktop/sac-101.6a/utils'
make[2]: Entering directory `/home/halkan65/Desktop/sac-101.6a/utils'
test -z "/usr/local/sac/bin" || /bin/mkdir -p "/usr/local/sac/bin"
/usr/bin/install -c sgftops sgfswap saclst sacswap bbfswap unvis
'/usr/local/sac/bin'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/halkan65/Desktop/sac-101.6a/utils'
make[1]: Leaving directory `/home/halkan65/Desktop/sac-101.6a/utils'
Making install in t
make[1]: Entering directory `/home/halkan65/Desktop/sac-101.6a/t'
make[2]: Entering directory `/home/halkan65/Desktop/sac-101.6a/t'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/halkan65/Desktop/sac-101.6a/t'

make[1]: Leaving directory `/home/halkan65/Desktop/sac-101.6a/t'
make[1]: Entering directory `/home/halkan65/Desktop/sac-101.6a'
make[2]: Entering directory `/home/halkan65/Desktop/sac-101.6a'
test -z "/usr/local/sac/bin" || /bin/mkdir -p "/usr/local/sac/bin"
/usr/bin/install -c bin/sacinit.sh bin/sacinit.csh bin/sgftoeps.csh
bin/sgftox.csh bin/sac-config '/usr/local/sac/bin'
make install-data-hook
make[3]: Entering directory `/home/halkan65/Desktop/sac-101.6a'
/usr/bin/install -c -d /usr/local/sac/utils
cd .; \
for d in macros CHANGES Editline.license HISTORY License README
utils/saclst.c utils/sacswap.c utils/sgftops.c utils/sac.h utils/bbfswap.c
utils/sgfswap.c utils/Makefile.utils utils/readsac.m utils/writesac.m
utils/padcat.m utils/getsacdata.m utils/unvis.c utils/README_utils
lib/README_lib include doc/examples doc/README aux; do \
for f in `(find $d -type d)`; do \
/usr/bin/install -c -d /usr/local/sac/$f; \
done; \
for f in `(find $d -type f)`; do \
/usr/bin/install -c -m 644 $f /usr/local/sac/$f; \
done; \
done; \
cd -
/home/halkan65/Desktop/sac-101.6a
( cd /usr/local/sac/lib && rm -f sacio.a )
( cd /usr/local/sac/lib && ln -s libsacio.a sacio.a )
make dist-hook
make[4]: Entering directory `/home/halkan65/Desktop/sac-101.6a'
test ! -d sac-101.6a || rm -rf `find sac-101.6a -name CVS -type d `
test ! -d sac-101.6a/inc || rm -rf `find sac-101.6a/inc -name config.h `
make[4]: Leaving directory `/home/halkan65/Desktop/sac-101.6a'
make[3]: Leaving directory `/home/halkan65/Desktop/sac-101.6a'
make[2]: Leaving directory `/home/halkan65/Desktop/sac-101.6a'
make[1]: Leaving directory `/home/halkan65/Desktop/sac-101.6a'


Thanks for your interest...

11:23:45 v.22510d55