Thread: Sac 101.5 with matlab

Started: 2012-12-29 20:19:19
Last activity: 2012-12-29 20:19:19
Topics: SAC Help
Fabio Dias
2012-12-29 20:19:19
Hi,

I'm trying to compilate Sac 101.5c in Ubuntu 12.10 with Matlab 2012A using
this command line: ./configure --enable-png
--prefix=/home/fdias/Programs/sac-101.5/
--with-matlab=/home/fdias/MATLAB/R2012a.

And I get this:

*checking /home/fdias/MATLAB/R2012a/extern/include/matrix.h usability... yes
*

*checking /home/fdias/MATLAB/R2012a/extern/include/matrix.h presence... no*

*configure: WARNING: /home/fdias/MATLAB/R2012a/extern/include/matrix.h:
accepted by the compiler, rejected by the preprocessor!*

*configure: WARNING: /home/fdias/MATLAB/R2012a/extern/include/matrix.h:
proceeding with the compiler's result*

*checking for /home/fdias/MATLAB/R2012a/extern/include/matrix.h... yes*

*checking for library containing engOpen... no*

*checking for "/home/fdias/MATLAB/R2012a/bin/matlab"... yes*

*checking for Matlab libraries... Not Found*

*The libeng.so file is in /home/fdias/MATLAB/R2012a/bin/glnxa64/ *


How should I proceed?

*
*

This is the complete output from configure file:

**

*checking whether to enable maintainer-specific portions of Makefiles... no*

*checking build system type... x86_64-unknown-linux-gnu*

*checking host system type... x86_64-unknown-linux-gnu*

*checking target system type... x86_64-unknown-linux-gnu*

*checking for a BSD-compatible install... /usr/bin/install -c*

*checking whether build environment is sane... yes*

*checking for a thread-safe mkdir -p... /bin/mkdir -p*

*checking for gawk... gawk*

*checking whether make sets $(MAKE)... yes*

*checking for style of include used by make... GNU*

*checking for gcc... gcc*

*checking whether the C compiler works... yes*

*checking for C compiler default output file name... a.out*

*checking for suffix of executables... *

*checking whether we are cross compiling... no*

*checking for suffix of object files... o*

*checking whether we are using the GNU C compiler... yes*

*checking whether gcc accepts -g... yes*

*checking for gcc option to accept ISO C89... none needed*

*checking dependency style of gcc... none*

*checking for tgoto in -lncurses... yes*

*checking how to run the C preprocessor... gcc -E*

*checking for grep that handles long lines and -e... /bin/grep*

*checking for egrep... /bin/grep -E*

*checking for ANSI C header files... yes*

*checking for sys/types.h... yes*

*checking for sys/stat.h... yes*

*checking for stdlib.h... yes*

*checking for string.h... yes*

*checking for memory.h... yes*

*checking for strings.h... yes*

*checking for inttypes.h... yes*

*checking for stdint.h... yes*

*checking for unistd.h... yes*

*checking /home/fdias/MATLAB/R2012a/extern/include/matrix.h usability... yes
*

*checking /home/fdias/MATLAB/R2012a/extern/include/matrix.h presence... no*

*configure: WARNING: /home/fdias/MATLAB/R2012a/extern/include/matrix.h:
accepted by the compiler, rejected by the preprocessor!*

*configure: WARNING: /home/fdias/MATLAB/R2012a/extern/include/matrix.h:
proceeding with the compiler's result*

*checking for /home/fdias/MATLAB/R2012a/extern/include/matrix.h... yes*

*checking for library containing engOpen... no*

*checking for "/home/fdias/MATLAB/R2012a/bin/matlab"... yes*

*checking for Matlab libraries... Not Found*

*checking for gcc... (cached) gcc*

*checking whether we are using the GNU C compiler... (cached) yes*

*checking whether gcc accepts -g... (cached) yes*

*checking for gcc option to accept ISO C89... (cached) none needed*

*checking dependency style of gcc... (cached) none*

*checking whether ln -s works... yes*

*checking for a sed that does not truncate output... /bin/sed*

*checking whether gcc and cc understand -c and -o together... yes*

*checking for X... libraries , headers *

*checking for gethostbyname... yes*

*checking for connect... yes*

*checking for remove... yes*

*checking for shmat... yes*

*checking for IceConnectionNumber in -lICE... yes*

*checking for pkg-config... /usr/bin/pkg-config*

*checking pkg-config is at least version 0.9.0... yes*

*checking for xpm... yes*

*checking for zlib... yes*

*checking for png... no*

*checking for png_write_image in -lpng... no*

*checking for xft... yes*

*checking for ranlib... ranlib*

*checking for inttypes.h... (cached) yes*

*checking limits.h usability... yes*

*checking limits.h presence... yes*

*checking for limits.h... yes*

*checking for stdint.h... (cached) yes*

*checking whether termios.h defines TIOCGWINSZ... no*

*checking whether sys/ioctl.h defines TIOCGWINSZ... yes*

*checking for sin in -lm... yes*

*checking for dlopen in -ldl... yes*

*checking for lround... yes*

*checking for fmin... yes*

*checking for fmax... yes*

*checking for tolower... yes*

*checking for toupper... yes*

*checking for strtof... yes*

*checking for setenv... yes*

*checking for vasprintf... yes*

*checking for strsep... yes*

*checking for mkstemps... yes*

*configure: creating ./config.status*

*config.status: creating src/Makefile*

*config.status: creating utils/Makefile*

*config.status: creating libedit/Makefile*

*config.status: creating t/Makefile*

*config.status: creating Makefile*

*config.status: creating inc/config.h*

*config.status: inc/config.h is unchanged*

*config.status: executing depfiles commands*

*configure:*

*
*

*Compilation Options for sac (Seismic Analysis Code 101.5c)*

*
*

*CFLAGS = *

*LDFLAGS = *

*LIBS = -ldl -lm -lncurses *

*Debug = *

*Optimization = *

*Database = off*

*Matlab = off*

*X11-buffer = on*

*X11-depth = on*

*XDR Format = off*

*Support = xpm zlib xft *

*X_LIBS = *

*X_CFLAGS = *

*Readline = off*

*Editline = on*

*Install Base = /home/fdias/Programs/sac-101.5*

*System = linux_x86_64 (x86_64-unknown-linux-gnu)*

*
*

*To compile sac type make*

*
*

--
Fabio Dias

14:41:58 v.b3198453