Thread: Wait for help!!Compile errors!!

Started: 2009-08-25 06:04:58
Last activity: 2009-08-25 06:04:58
Topics: SAC Help
zhaoming
2009-08-25 06:04:58

Dear Sir/Madam:
When I compile sac101.2 in fc9.x86_64 system,I got some
errors in the config.log:
…… …… ……
configure:3751: gcc -o conftest -m32 -m32 conftest.c
-lncurses >&5
/usr/bin/ld: skipping incompatible /usr/lib64/libncurses.so when
searching for -lncurses
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
configure:3757: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "Seismic Analysis Code"
| #define PACKAGE_TARNAME "sac"
| #define PACKAGE_VERSION "101.2"
| #define PACKAGE_STRING "Seismic Analysis Code 101.2"
| #define PACKAGE_BUGREPORT "sac-help<at>iris.washington.edu"
| #define LINUX 1
| /* end confdefs.h. */
…… …… ……
…… …… ……
conftest.c:10:28: error: ac_nonexistent.h: No such file or
directory
configure:3910: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "Seismic Analysis Code"
| #define PACKAGE_TARNAME "sac"
| #define PACKAGE_VERSION "101.2"
| #define PACKAGE_STRING "Seismic Analysis Code 101.2"
| #define PACKAGE_BUGREPORT "sac-help<at>iris.washington.edu"
| #define LINUX 1
| #define READLINE 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
…… …… ……
…… …… ……
configure:7162: gcc -o conftest -m32 -m32 conftest.c
-L/usr/lib64 -lX11 >&5
/usr/bin/ld: skipping incompatible /usr/lib64/libX11.so when
searching for -lX11
/usr/bin/ld: skipping incompatible /usr/lib64/libX11.so when
searching for -lX11
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
configure:7168: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "Seismic Analysis Code"
| #define PACKAGE_TARNAME "sac"
| #define PACKAGE_VERSION "101.2"
| #define PACKAGE_STRING "Seismic Analysis Code 101.2"
| #define PACKAGE_BUGREPORT "sac-help<at>iris.washington.edu"
| #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 DATABASE_DISABLED 1
| /* end confdefs.h. */
…… …… ……
…… …… ……




Wait for your help!Thanks!!
--

  • Brian Savage
    2009-08-24 18:23:51

    Please install a 32 bit version of the ncurses or curses library , for
    version 101.2.
    This can be found on most major linux distributions.
    The newest version of SAC 101.3 (coming soon) will be 64 bit compatible.

    /usr/bin/ld: skipping incompatible /usr/lib64/libncurses.so
    when
    searching for -lncurses
    /usr/bin/ld: cannot find -lncurses


    Brian Savage
    savage<at>uri.edu

    On Aug 24, 2009, at 11:04 AM , zhaoming wrote:

    
    Dear Sir/Madam:
    When I compile sac101.2 in fc9.x86_64 system,I got some
    errors in the config.log:
    …… …… ……
    configure:3751: gcc -o conftest -m32 -m32 conftest.c
    -lncurses >&5
    /usr/bin/ld: skipping incompatible /usr/lib64/libncurses.so
    when
    searching for -lncurses
    /usr/bin/ld: cannot find -lncurses
    collect2: ld returned 1 exit status
    configure:3757: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    | #define PACKAGE_NAME "Seismic Analysis Code"
    | #define PACKAGE_TARNAME "sac"
    | #define PACKAGE_VERSION "101.2"
    | #define PACKAGE_STRING "Seismic Analysis Code 101.2"
    | #define PACKAGE_BUGREPORT "sac-help<at>iris.washington.edu"
    | #define LINUX 1
    | /* end confdefs.h. */
    …… …… ……
    …… …… ……
    conftest.c:10:28: error: ac_nonexistent.h: No such file or
    directory
    configure:3910: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    | #define PACKAGE_NAME "Seismic Analysis Code"
    | #define PACKAGE_TARNAME "sac"
    | #define PACKAGE_VERSION "101.2"
    | #define PACKAGE_STRING "Seismic Analysis Code 101.2"
    | #define PACKAGE_BUGREPORT "sac-help<at>iris.washington.edu"
    | #define LINUX 1
    | #define READLINE 1
    | /* end confdefs.h. */
    | #include <ac_nonexistent.h>
    …… …… ……
    …… …… ……
    configure:7162: gcc -o conftest -m32 -m32 conftest.c
    -L/usr/lib64 -lX11 >&5
    /usr/bin/ld: skipping incompatible /usr/lib64/libX11.so when
    searching for -lX11
    /usr/bin/ld: skipping incompatible /usr/lib64/libX11.so when
    searching for -lX11
    /usr/bin/ld: cannot find -lX11
    collect2: ld returned 1 exit status
    configure:7168: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    | #define PACKAGE_NAME "Seismic Analysis Code"
    | #define PACKAGE_TARNAME "sac"
    | #define PACKAGE_VERSION "101.2"
    | #define PACKAGE_STRING "Seismic Analysis Code 101.2"
    | #define PACKAGE_BUGREPORT "sac-help<at>iris.washington.edu"
    | #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 DATABASE_DISABLED 1
    | /* end confdefs.h. */
    …… …… ……
    …… …… ……




    Wait for your help!Thanks!!
    --
    <config.log>_______________________________________________
    sac-help mailing list
    sac-help<at>iris.washington.edu
    http://www.iris.washington.edu/mailman/listinfo/sac-help



Page built 07:04:36 | v.b'ea7a92