<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi,<div>I've some problems with the 3C e MAT functions.</div><div>By using the sac2005 version, the 3C function give me the strange values and ERROR 8002: command link matlab shared object.</div><div>By using the sac 101.2 version I tried to compile and make sac following the instructions of buildsac file but this is the result:</div><div><br></div><div><div>lauretta@lauretta-laptop:/media/ACERDATA/software/sac-101.2$ ./configure --prefix=/media/ACERDATA/software --with-matlab=/media/ACERDATA/software/matlab2008</div><div>checking build system type... i686-pc-linux-gnu</div><div>checking host system type... i686-pc-linux-gnu</div><div>checking target system type... i686-pc-linux-gnu</div><div>checking for a BSD-compatible install... /usr/bin/install -c</div><div>checking whether build environment is sane... yes</div><div>checking for gawk... no</div><div>checking for mawk... mawk</div><div>checking whether make sets $(MAKE)... yes</div><div>checking for style of include used by make... GNU</div><div>checking for gcc... gcc</div><div>checking for C compiler default output file name... a.out</div><div>checking whether the C compiler works... yes</div><div>checking whether we are cross compiling... no</div><div>checking for suffix of executables...&nbsp;</div><div>checking for suffix of object files... o</div><div>checking whether we are using the GNU C compiler... yes</div><div>checking whether gcc accepts -g... yes</div><div>checking for gcc option to accept ISO C89... none needed</div><div>checking dependency style of gcc... none</div><div>checking for tgoto in -lncurses... no</div><div>checking for tgoto in -lcurses... no</div><div>checking for tgoto in -ltermcap... no</div><div>checking how to run the C preprocessor... gcc -E</div><div>checking for grep that handles long lines and -e... /bin/grep</div><div>checking for egrep... /bin/grep -E</div><div>checking for ANSI C header files... yes</div><div>checking for sys/types.h... yes</div><div>checking for sys/stat.h... yes</div><div>checking for stdlib.h... yes</div><div>checking for string.h... yes</div><div>checking for memory.h... yes</div><div>checking for strings.h... yes</div><div>checking for inttypes.h... yes</div><div>checking for stdint.h... yes</div><div>checking for unistd.h... yes</div><div>checking /media/ACERDATA/software/matlab2008/extern/include/matrix.h usability... yes</div><div>checking /media/ACERDATA/software/matlab2008/extern/include/matrix.h presence... yes</div><div>checking for /media/ACERDATA/software/matlab2008/extern/include/matrix.h... yes</div><div>checking for library containing engOpen... no</div><div>checking for "/media/ACERDATA/software/matlab2008/bin/matlab"... yes</div><div>checking for Matlab libraries...&nbsp;</div><div>checking for gcc... (cached) gcc</div><div>checking whether we are using the GNU C compiler... (cached) yes</div><div>checking whether gcc accepts -g... (cached) yes</div><div>checking for gcc option to accept ISO C89... (cached) none needed</div><div>checking dependency style of gcc... (cached) none</div><div>checking whether ln -s works... yes</div><div>checking for a sed that does not truncate output... /bin/sed</div><div>checking whether gcc and cc understand -c and -o together... yes</div><div>checking for X... no</div><div>checking for ranlib... ranlib</div><div>checking whether termios.h defines TIOCGWINSZ... no</div><div>checking whether sys/ioctl.h defines TIOCGWINSZ... yes</div><div>checking for sin in -lm... yes</div><div>checking for dlopen in -ldl... yes</div><div>checking for lround... yes</div><div>checking for fmin... yes</div><div>checking for fmax... yes</div><div>configure: creating ./config.status</div><div>config.status: creating src/Makefile</div><div>config.status: creating utils/Makefile</div><div>config.status: creating libedit/Makefile</div><div>config.status: creating Makefile</div><div>config.status: creating inc/config.h</div><div>config.status: executing depfiles commands</div><div>configure:</div><div><br></div><div>Compliation Options for sac (Seismic Analysis Code 101.2)</div><div><br></div><div>CFLAGS &nbsp; &nbsp; &nbsp; &nbsp; = -I/media/ACERDATA/software/matlab2008/extern/include&nbsp;</div><div>LDFLAGS &nbsp; &nbsp; &nbsp; &nbsp;=&nbsp;</div><div>LIBS &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = -ldl -lm&nbsp;</div><div>Debug &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=&nbsp;</div><div>Optimization &nbsp; =&nbsp;</div><div>Database &nbsp; &nbsp; &nbsp; = off</div><div>Matlab &nbsp; &nbsp; &nbsp; &nbsp; = on</div><div>X11-buffer &nbsp; &nbsp; = on</div><div>X11-depth &nbsp; &nbsp; &nbsp;= on</div><div>X_LIBS &nbsp; &nbsp; &nbsp; &nbsp; =&nbsp;</div><div>X_CFLAGS &nbsp; &nbsp; &nbsp; =&nbsp;</div><div>Readline &nbsp; &nbsp; &nbsp; = off</div><div>Editline &nbsp; &nbsp; &nbsp; = on</div><div>Install Base &nbsp; = /media/ACERDATA/software</div><div>System &nbsp; &nbsp; &nbsp; &nbsp; = linux_x86 (i686-pc-linux-gnu)</div><div><br></div><div>To compile sac type make&nbsp;</div><div>lauretta@lauretta-laptop:/media/ACERDATA/software/sac-101.2$ make</div><div>Making all in libedit</div><div>make[1]: ingresso nella directory «/media/ACERDATA/software/sac-101.2/libedit»</div><div>echo "Creating the Line Editing Library"</div><div>Creating the Line Editing Library</div><div>gzip -dc libedit-2.6.9.tar.gz | tar xvf -</div><div>libedit-2.6.9</div><div>libedit-2.6.9/makelist</div><div>libedit-2.6.9/CHANGES</div><div>libedit-2.6.9/INSTALL</div><div>libedit-2.6.9/Makefile.in</div><div>libedit-2.6.9/PLATFORMS</div><div>libedit-2.6.9/README</div><div>libedit-2.6.9/chared.c</div><div>libedit-2.6.9/chared.h</div><div>libedit-2.6.9/common.c</div><div>libedit-2.6.9/config.guess</div><div>libedit-2.6.9/config.h.in</div><div>libedit-2.6.9/config.sub</div><div>libedit-2.6.9/configure</div><div>libedit-2.6.9/configure.in</div><div>libedit-2.6.9/editline.3</div><div>libedit-2.6.9/editrc.5</div><div>libedit-2.6.9/el.c</div><div>libedit-2.6.9/el.h</div><div>libedit-2.6.9/emacs.c</div><div>libedit-2.6.9/hist.c</div><div>libedit-2.6.9/hist.h</div><div>libedit-2.6.9/histedit.h</div><div>libedit-2.6.9/history.c</div><div>libedit-2.6.9/install-sh</div><div>libedit-2.6.9/key.c</div><div>libedit-2.6.9/key.h</div><div>libedit-2.6.9/parse.c</div><div>libedit-2.6.9/map.c</div><div>libedit-2.6.9/map.h</div><div>libedit-2.6.9/TEST</div><div>libedit-2.6.9/TEST/test.c</div><div>libedit-2.6.9/parse.h</div><div>libedit-2.6.9/prompt.c</div><div>libedit-2.6.9/prompt.h</div><div>libedit-2.6.9/read.c</div><div>libedit-2.6.9/read.h</div><div>libedit-2.6.9/readline.c</div><div>libedit-2.6.9/refresh.c</div><div>libedit-2.6.9/refresh.h</div><div>libedit-2.6.9/search.c</div><div>libedit-2.6.9/search.h</div><div>libedit-2.6.9/sig.c</div><div>libedit-2.6.9/sig.h</div><div>libedit-2.6.9/sys.h</div><div>libedit-2.6.9/term.c</div><div>libedit-2.6.9/term.h</div><div>libedit-2.6.9/tokenizer.c</div><div>libedit-2.6.9/tokenizer.h</div><div>libedit-2.6.9/tty.c</div><div>libedit-2.6.9/tty.h</div><div>libedit-2.6.9/vi.c</div><div>libedit-2.6.9/np</div><div>libedit-2.6.9/np/fgetln.c</div><div>libedit-2.6.9/np/strlcat.c</div><div>libedit-2.6.9/np/strlcpy.c</div><div>libedit-2.6.9/np/unvis.c</div><div>libedit-2.6.9/np/vis.c</div><div>libedit-2.6.9/np/vis.h</div><div>libedit-2.6.9/readline</div><div>libedit-2.6.9/readline/readline.h</div><div>cp -f config.h.in libedit-2.6.9</div><div>(cd libedit-2.6.9 &amp;&amp; env CFLAGS="-I/media/ACERDATA/software/matlab2008/extern/include &nbsp;-O -Wall -pipe -g3" LDFLAGS="" INSTALL="../../config/install-sh" ./configure --prefix=.. )</div><div>creating cache ./config.cache</div><div>checking for gcc... gcc</div><div>checking whether the C compiler (gcc -I/media/ACERDATA/software/matlab2008/extern/include &nbsp;-O -Wall -pipe -g3 ) works... yes</div><div>checking whether the C compiler (gcc -I/media/ACERDATA/software/matlab2008/extern/include &nbsp;-O -Wall -pipe -g3 ) is a cross-compiler... no</div><div>checking whether we are using GNU C... yes</div><div>checking whether gcc accepts -g... yes</div><div>checking how to run the C preprocessor... gcc -E</div><div>checking host system type... i686-pc-linux-gnu</div><div>checking for a BSD compatible install... ../../config/install-sh</div><div>checking for ranlib... ranlib</div><div>checking for ar... /usr/bin/ar</div><div>checking for tgetent in -ltermcap... no</div><div>checking for tgetent in -ltinfo... no</div><div>checking for tgetent in -lcurses... no</div><div>checking for tgetent in -lncurses... no</div><div>configure: error: termcap support not found</div><div>make[1]: *** [lib/libedit.a] Errore 1</div><div>make[1]: uscita dalla directory «/media/ACERDATA/software/sac-101.2/libedit»</div><div>make: *** [all-recursive] Errore 1</div><div>lauretta@lauretta-laptop:/media/ACERDATA/software/sac-101.2$ make install</div><div>Making install in libedit</div><div>make[1]: ingresso nella directory «/media/ACERDATA/software/sac-101.2/libedit»</div><div>(cd libedit-2.6.9 &amp;&amp; env CFLAGS="-I/media/ACERDATA/software/matlab2008/extern/include &nbsp;-O -Wall -pipe -g3" LDFLAGS="" INSTALL="../../config/install-sh" ./configure --prefix=.. )</div><div>loading cache ./config.cache</div><div>checking for gcc... gcc</div><div>checking whether the C compiler (gcc -I/media/ACERDATA/software/matlab2008/extern/include &nbsp;-O -Wall -pipe -g3 ) works... yes</div><div>checking whether the C compiler (gcc -I/media/ACERDATA/software/matlab2008/extern/include &nbsp;-O -Wall -pipe -g3 ) is a cross-compiler... no</div><div>checking whether we are using GNU C... yes</div><div>checking whether gcc accepts -g... yes</div><div>checking how to run the C preprocessor... gcc -E</div><div>checking host system type... i686-pc-linux-gnu</div><div>checking for a BSD compatible install... ../../config/install-sh</div><div>checking for ranlib... ranlib</div><div>checking for ar... /usr/bin/ar</div><div>checking for tgetent in -ltermcap... no</div><div>checking for tgetent in -ltinfo... no</div><div>checking for tgetent in -lcurses... no</div><div>checking for tgetent in -lncurses... no</div><div>configure: error: termcap support not found</div><div>make[1]: *** [lib/libedit.a] Errore 1</div><div>make[1]: uscita dalla directory «/media/ACERDATA/software/sac-101.2/libedit»</div><div>make: *** [install-recursive] Errore 1</div><div>lauretta@lauretta-laptop:/media/ACERDATA/software/sac-101.2$&nbsp;</div><div><br></div><div><br></div><div>What can I do?</div><div><br></div><div>Thanks...</div><div><br></div><div>Laura Parisi</div></div>                                               <br><hr>Hotmail: Powerful Free email with security by Microsoft. <a href="https://signup.live.com/signup.aspx?id=60969">Get it now.</a>                                               <br /><hr />Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. <a href='https://signup.live.com/signup.aspx?id=60969' target='_new'>Sign up now.</a></body>
</html>