Thread: SAC on 64 bit Ubuntu

Started: 2008-02-15 00:56:14
Last activity: 2008-02-15 00:56:14
Topics: SAC Help
Yang, Ting
2008-02-15 00:56:14
Dear all,

I was trying to install the latest SAC v101.1 on my 64 bit Ubuntu
system. I got the following error:
-----------------------
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C
compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
-------------------------
I have the the newest version of gcc.

Anyone has the same problem or knows the solution?

Thanks a lot!

TY


  • Brian Savage
    2008-02-14 16:50:29
    Dear Ting Yang

    To compile on a 64 bit system please check the the Readme.buildsac file
    It has instructions for compiling on systems of these types.

    The compiler flags need to contain the -m32 flag. The configure
    script should recognize the
    system as a 64 bit system and add these automatically.

    If you have more trouble, please report it to the sac-dev mailing list.

    Cheers,
    Brian

    On Feb 14, 2008, at 3:56 AM, Yang, Ting wrote:

    Dear all,

    I was trying to install the latest SAC v101.1 on my 64 bit Ubuntu
    system. I got the following error:
    -----------------------
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... configure: error: cannot
    run C
    compiled programs.
    If you meant to cross compile, use `--host'.
    See `config.log' for more details.
    -------------------------
    I have the the newest version of gcc.

    Anyone has the same problem or knows the solution?

    Thanks a lot!

    TY

    _______________________________________________
    sac-help mailing list
    sac-help<at>iris.washington.edu
    http://www.iris.washington.edu/mailman/listinfo/sac-help


13:29:49 v.22510d55