Thread: SAC for Cygwin

Started: 2010-10-02 15:56:02
Last activity: 2010-10-02 15:56:02
Topics: SAC Help
J. Robert
2010-10-02 15:56:02
Hi,

I tried to install the cygwin version of SAC.
I installed first the cygwin readline and sunrpc packages.
However the compilation fails with the following errors:
---
In file included from ../../sac-101.4/src/bbs/getbbv.c:13:
../../sac-101.4/inc/dff.h:5:21: rpc/rpc.h: No such file or directory
In file included from ../../sac-101.4/src/bbs/getbbv.c:13:
../../sac-101.4/inc/dff.h:219: error: parse error before "xdrs"
make[1]: *** [bbs/getbbv.o] Error 1
make: *** [all-recursive] Error 1
---

Thanks you for your help,
Jim

  • Brian Savage
    2010-10-02 14:46:16

    There has recently been some issues with the latest version of SAC on
    Cygwin from the update and name change of the RPC library on this
    platform.

    If you encounter the problem below on Cygwin/Windows, please try

    % env CFLAGS="-I/usr/include/tirpc/" LIBS="-L/usr/lib/tirpc" ./configure
    % make

    This will be fixed soon.

    Brian
    savage<at>uri.edu

    On Oct 2, 2010, at 2:56 AM, J. Robert wrote:

    Hi,

    I tried to install the cygwin version of SAC.
    I installed first the cygwin readline and sunrpc packages.
    However the compilation fails with the following errors:
    ---
    In file included from ../../sac-101.4/src/bbs/getbbv.c:13:
    ../../sac-101.4/inc/dff.h:5:21: rpc/rpc.h: No such file or directory
    In file included from ../../sac-101.4/src/bbs/getbbv.c:13:
    ../../sac-101.4/inc/dff.h:219: error: parse error before "xdrs"
    make[1]: *** [bbs/getbbv.o] Error 1
    make: *** [all-recursive] Error 1
    ---

    Thanks you for your help,
    Jim
    _______________________________________________
    sac-help mailing list
    sac-help<at>iris.washington.edu
    http://www.iris.washington.edu/mailman/listinfo/sac-help



10:37:41 v.22510d55