[SAC-HELP] Compiling SAC with Matlab in Linux

ayuch at emsd.ru ayuch at emsd.ru
Fri Dec 4 02:01:39 PST 2009


Hi!
Thanks for a quick answer!

Unfortunately, a problem not in it.
Definitely, paths are registered correctly. I have libeng.so in
${MATLAB}/bin/glnx86. So, I have another problem. Here is whole
config.log. Excuse my overquoting, please! I don’t know what actually
important in this file:

----------------------------------------------------------------------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Seismic Analysis Code configure 101.3b, which was
generated by GNU Autoconf 2.64.  Invocation command line was

  $ ../sac-101.3b/configure --with-x --with-matlab=/home/nastya/Matlab
--enable-database --enable-debug

## --------- ##
## Platform. ##
## --------- ##

hostname = localhost
uname -m = i686
uname -r = 2.6.27-server-0.rc8.2mnb
uname -s = Linux
uname -v = #1 SMP Thu Oct 2 06:26:06 EDT 2008

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /bin
PATH: /usr/bin
PATH: /usr/local/bin
PATH: /usr/games
PATH: /usr/lib/qt4/bin
PATH: /home/nastya/Programs/sac/bin
PATH: /home/nastya/Programs/rdseed
PATH: /home/nastya/Matlab/bin
PATH: /home/nastya/bin
PATH: /home/nastya/Programs/sac/bin
PATH: /home/nastya/Programs/rdseed
PATH: /home/nastya/Matlab/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2211: checking build system type
configure:2225: result: i686-pc-linux-gnu
configure:2245: checking host system type
configure:2258: result: i686-pc-linux-gnu
configure:2278: checking target system type
configure:2291: result: i686-pc-linux-gnu
configure:2340: checking for a BSD-compatible install
configure:2408: result: /usr/bin/install -c
configure:2419: checking whether build environment is sane
configure:2469: result: yes
configure:2610: checking for a thread-safe mkdir -p
configure:2649: result: /bin/mkdir -p
configure:2662: checking for gawk
configure:2678: found /bin/gawk
configure:2689: result: gawk
configure:2700: checking whether make sets $(MAKE)
configure:2722: result: yes
configure:2966: checking for style of include used by make
configure:2994: result: GNU
configure:3064: checking for gcc
configure:3080: found /usr/bin/gcc
configure:3091: result: gcc
configure:3320: checking for C compiler version
configure:3329: gcc --version >&5
gcc (GCC) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3340: $? = 0
configure:3329: gcc -v >&5
Using built-in specs.
Target: i586-manbo-linux-gnu
Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib
--with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info
--enable-checking=release
--enable-languages=c,c++,ada,fortran,objc,obj-c++,java
--build=i586-manbo-linux-gnu --host=i586-manbo-linux-gnu
--with-cpu=generic --with-system-zlib --enable-threads=posix
--enable-shared --enable-long-long --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-clocale=gnu --enable-java-awt=gtk
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-gtk-cairo
--disable-libjava-multilib --enable-ssp --disable-libssp --disable-werror
Thread model: posix
gcc version 4.3.2 (GCC)
configure:3340: $? = 0
configure:3329: gcc -V >&5
gcc: '-V' option must have argument
configure:3340: $? = 1
configure:3329: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:3340: $? = 1
configure:3362: checking for C compiler default output file name
configure:3384: gcc    conftest.c  >&5
configure:3388: $? = 0
configure:3425: result: a.out
configure:3441: checking whether the C compiler works
configure:3450: ./a.out
configure:3454: $? = 0
configure:3469: result: yes
configure:3476: checking whether we are cross compiling
configure:3478: result: no
configure:3481: checking for suffix of executables
configure:3488: gcc -o conftest    conftest.c  >&5
configure:3492: $? = 0
configure:3514: result:
configure:3520: checking for suffix of object files
configure:3542: gcc -c   conftest.c >&5
configure:3546: $? = 0
configure:3567: result: o
configure:3571: checking whether we are using the GNU C compiler
configure:3590: gcc -c   conftest.c >&5
configure:3590: $? = 0
configure:3599: result: yes
configure:3608: checking whether gcc accepts -g
configure:3628: gcc -c -g  conftest.c >&5
configure:3628: $? = 0
configure:3669: result: yes
configure:3686: checking for gcc option to accept ISO C89
configure:3750: gcc  -c   conftest.c >&5
configure:3750: $? = 0
configure:3763: result: none needed
configure:3785: checking dependency style of gcc
configure:3895: result: none
configure:3916: checking for tgoto in -lncurses
configure:3941: gcc -o conftest    conftest.c -lncurses   >&5
configure:3941: $? = 0
configure:3951: result: yes
configure:3977: checking how to run the C preprocessor
configure:4008: gcc -E  conftest.c
configure:4008: $? = 0
configure:4022: gcc -E  conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:4022: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Seismic Analysis Code"
| #define PACKAGE_TARNAME "sac"
| #define PACKAGE_VERSION "101.3b"
| #define PACKAGE_STRING "Seismic Analysis Code 101.3b"
| #define PACKAGE_BUGREPORT "sac-help at iris.washington.edu"
| #define PACKAGE_URL ""
| #define LINUX 1
| #define READLINE 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4047: result: gcc -E
configure:4067: gcc -E  conftest.c
configure:4067: $? = 0
configure:4081: gcc -E  conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:4081: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Seismic Analysis Code"
| #define PACKAGE_TARNAME "sac"
| #define PACKAGE_VERSION "101.3b"
| #define PACKAGE_STRING "Seismic Analysis Code 101.3b"
| #define PACKAGE_BUGREPORT "sac-help at iris.washington.edu"
| #define PACKAGE_URL ""
| #define LINUX 1
| #define READLINE 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4110: checking for grep that handles long lines and -e
configure:4168: result: /bin/grep
configure:4173: checking for egrep
configure:4235: result: /bin/grep -E
configure:4240: checking for ANSI C header files
configure:4260: gcc -c   conftest.c >&5
configure:4260: $? = 0
configure:4333: gcc -o conftest    conftest.c -lncurses  >&5
configure:4333: $? = 0
configure:4333: ./conftest
configure:4333: $? = 0
configure:4344: result: yes
configure:4357: checking for sys/types.h
configure:4357: gcc -c   conftest.c >&5
configure:4357: $? = 0
configure:4357: result: yes
configure:4357: checking for sys/stat.h
configure:4357: gcc -c   conftest.c >&5
configure:4357: $? = 0
configure:4357: result: yes
configure:4357: checking for stdlib.h
configure:4357: gcc -c   conftest.c >&5
configure:4357: $? = 0
configure:4357: result: yes
configure:4357: checking for string.h
configure:4357: gcc -c   conftest.c >&5
configure:4357: $? = 0
configure:4357: result: yes
configure:4357: checking for memory.h
configure:4357: gcc -c   conftest.c >&5
configure:4357: $? = 0
configure:4357: result: yes
configure:4357: checking for strings.h
configure:4357: gcc -c   conftest.c >&5
configure:4357: $? = 0
configure:4357: result: yes
configure:4357: checking for inttypes.h
configure:4357: gcc -c   conftest.c >&5
configure:4357: $? = 0
configure:4357: result: yes
configure:4357: checking for stdint.h
configure:4357: gcc -c   conftest.c >&5
configure:4357: $? = 0
configure:4357: result: yes
configure:4357: checking for unistd.h
configure:4357: gcc -c   conftest.c >&5
configure:4357: $? = 0
configure:4357: result: yes
configure:4644: checking /home/nastya/Matlab/extern/include/matrix.h
usability
configure:4644: gcc -c -I/home/nastya/Matlab/extern/include   conftest.c >&5
configure:4644: $? = 0
configure:4644: result: yes
configure:4644: checking /home/nastya/Matlab/extern/include/matrix.h presence
configure:4644: gcc -E  conftest.c
configure:4644: $? = 0
configure:4644: result: yes
configure:4644: checking for /home/nastya/Matlab/extern/include/matrix.h
configure:4644: result: yes
configure:4648: checking for library containing engOpen
configure:4679: gcc -o conftest -I/home/nastya/Matlab/extern/include  
-L/home/nastya/Matlab/bin/glnx86  conftest.c -lncurses  >&5
/home/nastya/tmp/cc2cYwSO.o: In function `main':
conftest.c:(.text+0x12): undefined reference to `engOpen'
collect2: ld returned 1 exit status
configure:4679: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Seismic Analysis Code"
| #define PACKAGE_TARNAME "sac"
| #define PACKAGE_VERSION "101.3b"
| #define PACKAGE_STRING "Seismic Analysis Code 101.3b"
| #define PACKAGE_BUGREPORT "sac-help at iris.washington.edu"
| #define PACKAGE_URL ""
| #define LINUX 1
| #define READLINE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define USE_X11_DOUBLE_BUFFER 1
| #define USE_X11_MULTIPLE_DEPTHS 1
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char engOpen ();
| int
| main ()
| {
| return engOpen ();
|   ;
|   return 0;
| }
configure:4679: gcc -o conftest -I/home/nastya/Matlab/extern/include  
-L/home/nastya/Matlab/bin/glnx86  conftest.c -leng  -lncurses  >&5
/usr/bin/ld: warning: libut.so, needed by
/home/nastya/Matlab/bin/glnx86/libeng.so, not found (try using -rpath or
-rpath-link)
/usr/bin/ld: warning: libmx.so, needed by
/home/nastya/Matlab/bin/glnx86/libeng.so, not found (try using -rpath or
-rpath-link)
/usr/bin/ld: warning: libmat.so, needed by
/home/nastya/Matlab/bin/glnx86/libeng.so, not found (try using -rpath or
-rpath-link)
/home/nastya/Matlab/bin/glnx86/libeng.so: undefined reference to `mxGetN'
/home/nastya/Matlab/bin/glnx86/libeng.so: undefined reference to `utF2cstr'
/home/nastya/Matlab/bin/glnx86/libeng.so: undefined reference to
`mxDestroyArray'
/home/nastya/Matlab/bin/glnx86/libeng.so: undefined reference to `utFree'
/home/nastya/Matlab/bin/glnx86/libeng.so: undefined reference to `mxSetPr'
/home/nastya/Matlab/bin/glnx86/libeng.so: undefined reference to `matClose'
/home/nastya/Matlab/bin/glnx86/libeng.so: undefined reference to
`matPutNextVariable'
/home/nastya/Matlab/bin/glnx86/libeng.so: undefined reference to `mxSetN_700'
/home/nastya/Matlab/bin/glnx86/libeng.so: undefined reference to
`matCreateMATFile'
/home/nastya/Matlab/bin/glnx86/libeng.so: undefined reference to
`mxArray_tag::_complete_opaque_dimensions() const'
/home/nastya/Matlab/bin/glnx86/libeng.so: undefined reference to `mxSetM_700'
/home/nastya/Matlab/bin/glnx86/libeng.so: undefined reference to
`matGetNextVariable'
/home/nastya/Matlab/bin/glnx86/libeng.so: undefined reference to `utCalloc'
/home/nastya/Matlab/bin/glnx86/libeng.so: undefined reference to
`mxCreateDoubleMatrix_700'
/home/nastya/Matlab/bin/glnx86/libeng.so: undefined reference to `mxGetName'
/home/nastya/Matlab/bin/glnx86/libeng.so: undefined reference to `mxSetPi'
collect2: ld returned 1 exit status
configure:4679: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Seismic Analysis Code"
| #define PACKAGE_TARNAME "sac"
| #define PACKAGE_VERSION "101.3b"
| #define PACKAGE_STRING "Seismic Analysis Code 101.3b"
| #define PACKAGE_BUGREPORT "sac-help at iris.washington.edu"
| #define PACKAGE_URL ""
| #define LINUX 1
| #define READLINE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define USE_X11_DOUBLE_BUFFER 1
| #define USE_X11_MULTIPLE_DEPTHS 1
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char engOpen ();
| int
| main ()
| {
| return engOpen ();
|   ;
|   return 0;
| }
configure:4696: result: no
configure:4769: checking for "/home/nastya/Matlab/bin/matlab"
configure:4783: result: yes
configure:4802: checking for Matlab libraries
configure:4819: result: Not Found
configure:4954: checking for gcc
configure:4981: result: gcc
configure:5210: checking for C compiler version
configure:5219: gcc --version >&5
gcc (GCC) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:5230: $? = 0
configure:5219: gcc -v >&5
Using built-in specs.
Target: i586-manbo-linux-gnu
Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib
--with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info
--enable-checking=release
--enable-languages=c,c++,ada,fortran,objc,obj-c++,java
--build=i586-manbo-linux-gnu --host=i586-manbo-linux-gnu
--with-cpu=generic --with-system-zlib --enable-threads=posix
--enable-shared --enable-long-long --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-clocale=gnu --enable-java-awt=gtk
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-gtk-cairo
--disable-libjava-multilib --enable-ssp --disable-libssp --disable-werror
Thread model: posix
gcc version 4.3.2 (GCC)
configure:5230: $? = 0
configure:5219: gcc -V >&5
gcc: '-V' option must have argument
configure:5230: $? = 1
configure:5219: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:5230: $? = 1
configure:5234: checking whether we are using the GNU C compiler
configure:5262: result: yes
configure:5271: checking whether gcc accepts -g
configure:5332: result: yes
configure:5349: checking for gcc option to accept ISO C89
configure:5426: result: none needed
configure:5448: checking dependency style of gcc
configure:5558: result: none
configure:5575: checking whether ln -s works
configure:5579: result: yes
configure:5588: checking for a sed that does not truncate output
configure:5652: result: /bin/sed
configure:5660: checking whether gcc and cc understand -c and -o together
configure:5691: gcc -c conftest.c -o conftest2.o >&5
configure:5695: $? = 0
configure:5701: gcc -c conftest.c -o conftest2.o >&5
configure:5705: $? = 0
configure:5716: cc -c conftest.c >&5
configure:5720: $? = 0
configure:5728: cc -c conftest.c -o conftest2.o >&5
configure:5732: $? = 0
configure:5738: cc -c conftest.c -o conftest2.o >&5
configure:5742: $? = 0
configure:5760: result: yes
configure:5787: checking for X
configure:5895: gcc -E  conftest.c
configure:5895: $? = 0
configure:5926: gcc -o conftest    conftest.c -lX11 -lncurses  >&5
configure:5926: $? = 0
configure:5976: result: libraries , headers
configure:6075: gcc -o conftest    conftest.c -lncurses   -lX11 >&5
configure:6075: $? = 0
configure:6173: checking for gethostbyname
configure:6173: gcc -o conftest    conftest.c -lncurses  >&5
configure:6173: $? = 0
configure:6173: result: yes
configure:6270: checking for connect
configure:6270: gcc -o conftest    conftest.c -lncurses  >&5
configure:6270: $? = 0
configure:6270: result: yes
configure:6319: checking for remove
configure:6319: gcc -o conftest    conftest.c -lncurses  >&5
configure:6319: $? = 0
configure:6319: result: yes
configure:6368: checking for shmat
configure:6368: gcc -o conftest    conftest.c -lncurses  >&5
configure:6368: $? = 0
configure:6368: result: yes
configure:6426: checking for IceConnectionNumber in -lICE
configure:6451: gcc -o conftest    conftest.c -lICE  -lncurses  >&5
configure:6451: $? = 0
configure:6460: result: yes
configure:6515: checking for ranlib
configure:6531: found /usr/bin/ranlib
configure:6542: result: ranlib
configure:6573: checking for inttypes.h
configure:6573: result: yes
configure:6573: checking limits.h usability
configure:6573: gcc -c   conftest.c >&5
configure:6573: $? = 0
configure:6573: result: yes
configure:6573: checking limits.h presence
configure:6573: gcc -E  conftest.c
configure:6573: $? = 0
configure:6573: result: yes
configure:6573: checking for limits.h
configure:6573: result: yes
configure:6573: checking for stdint.h
configure:6573: result: yes
configure:6586: checking whether termios.h defines TIOCGWINSZ
configure:6609: result: no
configure:6613: checking whether sys/ioctl.h defines TIOCGWINSZ
configure:6636: result: yes
configure:6648: checking for sin in -lm
configure:6673: gcc -o conftest    conftest.c -lm  -lncurses  >&5
conftest.c:36: warning: conflicting types for built-in function 'sin'
configure:6673: $? = 0
configure:6682: result: yes
configure:6695: checking for dlopen in -ldl
configure:6720: gcc -o conftest    conftest.c -ldl  -lm -lncurses  >&5
configure:6720: $? = 0
configure:6729: result: yes
configure:6742: checking for lround
configure:6742: gcc -o conftest    conftest.c -ldl -lm -lncurses  >&5
conftest.c:54: warning: conflicting types for built-in function 'lround'
configure:6742: $? = 0
configure:6742: result: yes
configure:6753: checking for fmin
configure:6753: gcc -o conftest    conftest.c -ldl -lm -lncurses  >&5
conftest.c:55: warning: conflicting types for built-in function 'fmin'
configure:6753: $? = 0
configure:6753: result: yes
configure:6764: checking for fmax
configure:6764: gcc -o conftest    conftest.c -ldl -lm -lncurses  >&5
conftest.c:56: warning: conflicting types for built-in function 'fmax'
configure:6764: $? = 0
configure:6764: result: yes
configure:6775: checking for tolower
configure:6775: gcc -o conftest    conftest.c -ldl -lm -lncurses  >&5
conftest.c:57: warning: conflicting types for built-in function 'tolower'
configure:6775: $? = 0
configure:6775: result: yes
configure:6786: checking for toupper
configure:6786: gcc -o conftest    conftest.c -ldl -lm -lncurses  >&5
conftest.c:58: warning: conflicting types for built-in function 'toupper'
configure:6786: $? = 0
configure:6786: result: yes
configure:6797: checking for strtof
configure:6797: gcc -o conftest    conftest.c -ldl -lm -lncurses  >&5
configure:6797: $? = 0
configure:6797: result: yes
configure:6807: checking for setenv
configure:6807: gcc -o conftest    conftest.c -ldl -lm -lncurses  >&5
configure:6807: $? = 0
configure:6807: result: yes
configure:6979: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by Seismic Analysis Code config.status 101.3b,
which was
generated by GNU Autoconf 2.64.  Invocation command line was

  CONFIG_FILES    =
  CONFIG_HEADERS  =
  CONFIG_LINKS    =
  CONFIG_COMMANDS =
  $ ./config.status

on localhost

config.status:902: creating src/Makefile
config.status:902: creating utils/Makefile
config.status:902: creating libedit/Makefile
config.status:902: creating t/Makefile
config.status:902: creating Makefile
config.status:902: creating inc/config.h
config.status:1115: executing depfiles commands
configure:8311:

Compliation Options for sac (Seismic Analysis Code 101.3b)

CFLAGS         =
LDFLAGS        =
LIBS           = -ldl -lm -lncurses
Debug          = -g
Optimization   =
Database       = on
Matlab         = off
X11-buffer     = on
X11-depth      = on
X_LIBS         =
X_CFLAGS       =
Readline       = off
Editline       = on
Install Base   = /usr/local/sac
System         = linux_x86 (i686-pc-linux-gnu)

To compile sac type make

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_MATLAB_BIN_set=
ac_cv_env_MATLAB_BIN_value=
ac_cv_env_MATLAB_DIR_set=set
ac_cv_env_MATLAB_DIR_value=:/home/nastya/Matlab/bin/glnx86:/home/nastya/Matlab/bin/glnx86
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_file__home_nastya_Matlab_bin_matlab=yes
ac_cv_func_connect=yes
ac_cv_func_fmax=yes
ac_cv_func_fmin=yes
ac_cv_func_gethostbyname=yes
ac_cv_func_lround=yes
ac_cv_func_remove=yes
ac_cv_func_setenv=yes
ac_cv_func_shmat=yes
ac_cv_func_strtof=yes
ac_cv_func_tolower=yes
ac_cv_func_toupper=yes
ac_cv_have_x='have_x=yes	ac_x_includes='\'''\''	ac_x_libraries='\'''\'''
ac_cv_header__home_nastya_Matlab_extern_include_matrix_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_limits_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i686-pc-linux-gnu
ac_cv_lib_ICE_IceConnectionNumber=yes
ac_cv_lib_dl_dlopen=yes
ac_cv_lib_m_sin=yes
ac_cv_lib_ncurses___tgoto=yes
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_path_SED=/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_gcc_c_o=yes
ac_cv_prog_make_make_set=yes
ac_cv_search_engOpen=no
ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=yes
ac_cv_sys_tiocgwinsz_in_termios_h=no
ac_cv_target=i686-pc-linux-gnu
am_cv_CC_dependencies_compiler_type=none

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/nastya/_Distr/sac_lin/sac-101.3b/config/missing
--run aclocal-1.11'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/nastya/_Distr/sac_lin/sac-101.3b/config/missing
--run tar'
AUTOCONF='${SHELL} /home/nastya/_Distr/sac_lin/sac-101.3b/config/missing
--run autoconf'
AUTOHEADER='${SHELL} /home/nastya/_Distr/sac_lin/sac-101.3b/config/missing
--run autoheader'
AUTOMAKE='${SHELL} /home/nastya/_Distr/sac_lin/sac-101.3b/config/missing
--run automake-1.11'
AWK='gawk'
BINARY_DIST='linux_x86'
CC='gcc'
CCDEPMODE='depmode=none'
CFLAGS=''
CPP='gcc -E'
CPPFLAGS=''
CURSES_SEARCH_PATH='ncurses curses termcap'
CYGPATH_W='echo'
CYGWIN_SYSTEM_FALSE=''
CYGWIN_SYSTEM_TRUE='#'
DATABASE_FALSE='#'
DATABASE_TRUE=''
DEBUG='-g'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EDITLINE_FALSE='#'
EDITLINE_TRUE=''
EGREP='/bin/grep -E'
EXEEXT=''
GREP='/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS='-ldl -lm -lncurses '
LN_S='ln -s'
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/nastya/_Distr/sac_lin/sac-101.3b/config/missing
--run makeinfo'
MATLAB_BIN=''
MATLAB_DIR='/home/nastya/Matlab'
MKDIR_P='/bin/mkdir -p'
OBJEXT='o'
OPTIM=''
PACKAGE='sac'
PACKAGE_BUGREPORT='sac-help at iris.washington.edu'
PACKAGE_NAME='Seismic Analysis Code'
PACKAGE_STRING='Seismic Analysis Code 101.3b'
PACKAGE_TARNAME='sac'
PACKAGE_URL=''
PACKAGE_VERSION='101.3b'
PATH_SEPARATOR=':'
RANLIB='ranlib'
READLINE_FALSE=''
READLINE_TRUE='#'
SED='/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='101.3b'
XMKMF=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=' -lSM -lICE'
ac_ct_CC='gcc'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE='#'
am__include='include'
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL}
/home/nastya/_Distr/sac_lin/sac-101.3b/config/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local/sac'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i686-pc-linux-gnu'
target_alias=''
target_cpu='i686'
target_os='linux-gnu'
target_vendor='pc'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "Seismic Analysis Code"
#define PACKAGE_TARNAME "sac"
#define PACKAGE_VERSION "101.3b"
#define PACKAGE_STRING "Seismic Analysis Code 101.3b"
#define PACKAGE_BUGREPORT "sac-help at iris.washington.edu"
#define PACKAGE_URL ""
#define LINUX 1
#define READLINE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define USE_X11_DOUBLE_BUFFER 1
#define USE_X11_MULTIPLE_DEPTHS 1
#define MATLAB_BIN "/home/nastya/Matlab/bin/matlab"
#define DATABASE_ENABLED 1
#define HAVE_INTTYPES_H 1
#define HAVE_LIMITS_H 1
#define HAVE_STDINT_H 1
#define GWINSZ_IN_SYS_IOCTL 1
#define HAVE_LIBM 1
#define HAVE_LIBDL 1
#define HAVE_FUNC_LROUND 1
#define HAVE_FUNC_FMIN 1
#define HAVE_FUNC_FMAX 1
#define HAVE_FUNC_TOLOWER 1
#define HAVE_FUNC_TOUPPER 1
#define HAVE_FUNC_STRTOF 1
#define HAVE_FUNC_SETENV 1
#define BUILD_DATE "12/04/2009"

configure: exit 0
----------------------------------------------------------------------------
Nastya Chebrova.


> Dear Chebrova,
>
> The engOpen function that the configure script is looking for is
> contained within the
> libeng.so or libeng.a in ${MATLAB}/bin/glnxa64 (on my machine)
>
> Make sure you have this library or the SAC interface to MATLAB will
> compile.
>
> You can use the environment variable MATLAB_DIR and MATLAB_BASE to
> describe the location of
> all of the matlab files that are required.
>
> Brian Savage
> savage @ uri.edu
>





More information about the sac-help mailing list