Thread: PROBLEMS WITH 3C

Started: 2010-03-17 03:15:57
Last activity: 2010-03-17 03:15:57
Topics: SAC Help
lauretta
2010-03-17 03:15:57

Hi,I've some problems with the 3C e MAT functions.By using the sac2005 version, the 3C function give me the strange values and ERROR 8002: command link matlab shared object.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:
lauretta@lauretta-laptop:/media/ACERDATA/software/sac-101.2$ ./configure --prefix=/media/ACERDATA/software --with-matlab=/media/ACERDATA/software/matlab2008checking build system type... i686-pc-linux-gnuchecking host system type... i686-pc-linux-gnuchecking target system type... i686-pc-linux-gnuchecking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for gawk... nochecking for mawk... mawkchecking whether make sets $(MAKE)... yeschecking for style of include used by make... GNUchecking for gcc... gccchecking for C compiler default output file name... a.outchecking whether the C compiler works... yeschecking whether we are cross compiling... nochecking for suffix of executables... checking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option to accept ISO C89... none neededchecking dependency style of gcc... nonechecking for tgoto in -lncurses... nochecking for tgoto in -lcurses... nochecking for tgoto in -ltermcap... nochecking how to run the C preprocessor... gcc -Echecking for grep that handles long lines and -e... /bin/grepchecking for egrep... /bin/grep -Echecking for ANSI C header files... yeschecking for sys/types.h... yeschecking for sys/stat.h... yeschecking for stdlib.h... yeschecking for string.h... yeschecking for memory.h... yeschecking for strings.h... yeschecking for inttypes.h... yeschecking for stdint.h... yeschecking for unistd.h... yeschecking /media/ACERDATA/software/matlab2008/extern/include/matrix.h usability... yeschecking /media/ACERDATA/software/matlab2008/extern/include/matrix.h presence... yeschecking for /media/ACERDATA/software/matlab2008/extern/include/matrix.h... yeschecking for library containing engOpen... nochecking for "/media/ACERDATA/software/matlab2008/bin/matlab"... yeschecking for Matlab libraries... checking for gcc... (cached) gccchecking whether we are using the GNU C compiler... (cached) yeschecking whether gcc accepts -g... (cached) yeschecking for gcc option to accept ISO C89... (cached) none neededchecking dependency style of gcc... (cached) nonechecking whether ln -s works... yeschecking for a sed that does not truncate output... /bin/sedchecking whether gcc and cc understand -c and -o together... yeschecking for X... nochecking for ranlib... ranlibchecking whether termios.h defines TIOCGWINSZ... nochecking whether sys/ioctl.h defines TIOCGWINSZ... yeschecking for sin in -lm... yeschecking for dlopen in -ldl... yeschecking for lround... yeschecking for fmin... yeschecking for fmax... yesconfigure: creating ./config.statusconfig.status: creating src/Makefileconfig.status: creating utils/Makefileconfig.status: creating libedit/Makefileconfig.status: creating Makefileconfig.status: creating inc/config.hconfig.status: executing depfiles commandsconfigure:
Compliation Options for sac (Seismic Analysis Code 101.2)
CFLAGS = -I/media/ACERDATA/software/matlab2008/extern/include LDFLAGS = LIBS = -ldl -lm Debug = Optimization = Database = offMatlab = onX11-buffer = onX11-depth = onX_LIBS = X_CFLAGS = Readline = offEditline = onInstall Base = /media/ACERDATA/softwareSystem = linux_x86 (i686-pc-linux-gnu)
To compile sac type make lauretta@lauretta-laptop:/media/ACERDATA/software/sac-101.2$ makeMaking all in libeditmake[1]: ingresso nella directory «/media/ACERDATA/software/sac-101.2/libedit»echo "Creating the Line Editing Library"Creating the Line Editing Librarygzip -dc libedit-2.6.9.tar.gz | tar xvf -libedit-2.6.9libedit-2.6.9/makelistlibedit-2.6.9/CHANGESlibedit-2.6.9/INSTALLlibedit-2.6.9/Makefile.inlibedit-2.6.9/PLATFORMSlibedit-2.6.9/READMElibedit-2.6.9/chared.clibedit-2.6.9/chared.hlibedit-2.6.9/common.clibedit-2.6.9/config.guesslibedit-2.6.9/config.h.inlibedit-2.6.9/config.sublibedit-2.6.9/configurelibedit-2.6.9/configure.inlibedit-2.6.9/editline.3libedit-2.6.9/editrc.5libedit-2.6.9/el.clibedit-2.6.9/el.hlibedit-2.6.9/emacs.clibedit-2.6.9/hist.clibedit-2.6.9/hist.hlibedit-2.6.9/histedit.hlibedit-2.6.9/history.clibedit-2.6.9/install-shlibedit-2.6.9/key.clibedit-2.6.9/key.hlibedit-2.6.9/parse.clibedit-2.6.9/map.clibedit-2.6.9/map.hlibedit-2.6.9/TESTlibedit-2.6.9/TEST/test.clibedit-2.6.9/parse.hlibedit-2.6.9/prompt.clibedit-2.6.9/prompt.hlibedit-2.6.9/read.clibedit-2.6.9/read.hlibedit-2.6.9/readline.clibedit-2.6.9/refresh.clibedit-2.6.9/refresh.hlibedit-2.6.9/search.clibedit-2.6.9/search.hlibedit-2.6.9/sig.clibedit-2.6.9/sig.hlibedit-2.6.9/sys.hlibedit-2.6.9/term.clibedit-2.6.9/term.hlibedit-2.6.9/tokenizer.clibedit-2.6.9/tokenizer.hlibedit-2.6.9/tty.clibedit-2.6.9/tty.hlibedit-2.6.9/vi.clibedit-2.6.9/nplibedit-2.6.9/np/fgetln.clibedit-2.6.9/np/strlcat.clibedit-2.6.9/np/strlcpy.clibedit-2.6.9/np/unvis.clibedit-2.6.9/np/vis.clibedit-2.6.9/np/vis.hlibedit-2.6.9/readlinelibedit-2.6.9/readline/readline.hcp -f config.h.in libedit-2.6.9(cd libedit-2.6.9 && env CFLAGS="-I/media/ACERDATA/software/matlab2008/extern/include -O -Wall -pipe -g3" LDFLAGS="" INSTALL="../../config/install-sh" ./configure --prefix=.. )creating cache ./config.cachechecking for gcc... gccchecking whether the C compiler (gcc -I/media/ACERDATA/software/matlab2008/extern/include -O -Wall -pipe -g3 ) works... yeschecking whether the C compiler (gcc -I/media/ACERDATA/software/matlab2008/extern/include -O -Wall -pipe -g3 ) is a cross-compiler... nochecking whether we are using GNU C... yeschecking whether gcc accepts -g... yeschecking how to run the C preprocessor... gcc -Echecking host system type... i686-pc-linux-gnuchecking for a BSD compatible install... ../../config/install-shchecking for ranlib... ranlibchecking for ar... /usr/bin/archecking for tgetent in -ltermcap... nochecking for tgetent in -ltinfo... nochecking for tgetent in -lcurses... nochecking for tgetent in -lncurses... noconfigure: error: termcap support not foundmake[1]: *** [lib/libedit.a] Errore 1make[1]: uscita dalla directory «/media/ACERDATA/software/sac-101.2/libedit»make: *** [all-recursive] Errore 1lauretta@lauretta-laptop:/media/ACERDATA/software/sac-101.2$ make installMaking install in libeditmake[1]: ingresso nella directory «/media/ACERDATA/software/sac-101.2/libedit»(cd libedit-2.6.9 && env CFLAGS="-I/media/ACERDATA/software/matlab2008/extern/include -O -Wall -pipe -g3" LDFLAGS="" INSTALL="../../config/install-sh" ./configure --prefix=.. )loading cache ./config.cachechecking for gcc... gccchecking whether the C compiler (gcc -I/media/ACERDATA/software/matlab2008/extern/include -O -Wall -pipe -g3 ) works... yeschecking whether the C compiler (gcc -I/media/ACERDATA/software/matlab2008/extern/include -O -Wall -pipe -g3 ) is a cross-compiler... nochecking whether we are using GNU C... yeschecking whether gcc accepts -g... yeschecking how to run the C preprocessor... gcc -Echecking host system type... i686-pc-linux-gnuchecking for a BSD compatible install... ../../config/install-shchecking for ranlib... ranlibchecking for ar... /usr/bin/archecking for tgetent in -ltermcap... nochecking for tgetent in -ltinfo... nochecking for tgetent in -lcurses... nochecking for tgetent in -lncurses... noconfigure: error: termcap support not foundmake[1]: *** [lib/libedit.a] Errore 1make[1]: uscita dalla directory «/media/ACERDATA/software/sac-101.2/libedit»make: *** [install-recursive] Errore 1lauretta@lauretta-laptop:/media/ACERDATA/software/sac-101.2$

What can I do?
Thanks...
Laura Parisi
Hotmail: Powerful Free email with security by Microsoft. Get it now.
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969
  • Brian Savage
    2010-03-16 22:54:26
    Dear Laura,

    You will need to install the libncurses or libcurses or libtermcap
    libraries, possibly the development libraries, on your system.

    See message below.

    Brian
    savage<at>uri.edu



    On Mar 16, 2010, at 3:15 PM , Laura Parisi wrote:

    checking for tgetent in -ltermcap... no
    checking for tgetent in -ltinfo... no
    checking for tgetent in -lcurses... no
    checking for tgetent in -lncurses... no



19:31:12 v.e73c6799