[SAC-HELP] troubles compiling sac 101.3b on 64-bit linux (Fedora 11)

Derek Schutt derek.schutt at colostate.edu
Tue Sep 8 09:07:12 PDT 2009


Hi,

I've been trying to install SAC on my Fedora 11 box (kernel 
2.6.29.6-217.2.8.fc11.x86_64), but I've run into a compilation problem:

When I do a no-option configure, then type "make", I get:

     >make
    Making all in libedit
    make[1]: Entering directory `/usr/local/build/libedit'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/local/build/libedit'
    Making all in utils
    make[1]: Entering directory `/usr/local/build/utils'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/local/build/utils'
    Making all in src
    make[1]: Entering directory `/usr/local/build/src'
    gcc -DHAVE_CONFIG_H -I. -I../../sac-101.3b/src -I../inc      
    -I../../sac-101.3b/inc -I../libedit/include  -c -o bbs/setbbv.o
    ../../sac-101.3b/src/bbs/setbbv.c
    In file included from ../../sac-101.3b/src/bbs/setbbv.c:12:
    ../../sac-101.3b/inc/co.h:40: error: conflicting types for 'getline'
    /usr/include/stdio.h:653: note: previous declaration of 'getline'
    was here
    make[1]: *** [bbs/setbbv.o] Error 1
    make[1]: Leaving directory `/usr/local/build/src'
    make: *** [all-recursive] Error 1

Any suggestions?


Also, by the way, the "Readme.buildsac" that comes with the source code 
shows this as a configuration option:

    --enable-matlab=/path/to/matlab     Where to find Matlab and its
                       libraries.  As of version 101.2, Matlab is only
                       available if requested.  See CHANGES (2008-04-01)
                       for further details.


I gather from looking at the configure script, that this flag should be 
"--with-matlab=/path/to/matlab"

Right now, however, I'm trying just to get SAC to work without matlab.

Thanks.  I'm happy to e-mail the full output of "configure" if that 
would be helpful.

-Derek Schutt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.iris.washington.edu/pipermail/sac-help/attachments/20090908/803f0dd6/attachment.html>


More information about the sac-help mailing list