Thread: Error Installing SAC on Cygwin

Started: 2013-04-19 22:07:06
Last activity: 2013-04-25 19:25:46
Topics: SAC Help
Juan Luis Soler Llorens
2013-04-19 22:07:06
Dear SAC users,

I would like to have Sac v101.5 intalled at Cygwin 1.7.17-1 under Windows 7.
I follow de instrucctions in the Readme file "Readme.buildsac", but when i
execute ./configure command, cygwin give me error:

*$ ./configure*
*checking whether to enable maintainer-specific portions of Makefiles... no*
*checking build system type... i686-pc-cygwin*
*checking host system type... i686-pc-cygwin*
*checking target system type... i686-pc-cygwin*
*checking for a BSD-compatible install... /usr/bin/install -c*
*checking whether build environment is sane... yes*
*checking for a thread-safe mkdir -p... /usr/bin/mkdir -p*
*checking for gawk... gawk*
*checking whether make sets $(MAKE)... yes*
*checking for Cygwin version... 1.7.17(0.262/5/3)*
*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.exe*
*checking for suffix of executables... .exe*
*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 how to run the C preprocessor... gcc -E*
*checking for grep that handles long lines and -e... /usr/bin/grep*
*checking for egrep... /usr/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 for tgoto in -lncurses... yes*
*checking readline/readline.h usability... no*
*checking readline/readline.h presence... no*
*checking for readline/readline.h... no*
*configure: error: in `/home/Juan/sac-101.5c':*
*./configure: line 377: test: but: integer expression expected*
*configure: error: test*
*./configure: line 274: return: but: numeric argument required*
*./configure: line 284: exit: but: numeric argument required*

Can someone help me with that error, i don't know how to fix it.

I will be very grateful, thanks.

Juan Luis.

  • Brian Savage
    2013-04-25 19:25:46
    Dear Juan Luis,

    Looks like you need to install the GNU Readline libraries, including the developer versions.
    These are available in the Cygwin setup program.

    Brian

    On Apr 19, 2013, at 9:07 AM, Juan Luis Soler Llorens wrote:

    Dear SAC users,

    I would like to have Sac v101.5 intalled at Cygwin 1.7.17-1 under Windows 7.
    I follow de instrucctions in the Readme file "Readme.buildsac", but when i execute ./configure command, cygwin give me error:

    $ ./configure
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking build system type... i686-pc-cygwin
    checking host system type... i686-pc-cygwin
    checking target system type... i686-pc-cygwin
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for Cygwin version... 1.7.17(0.262/5/3)
    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.exe
    checking for suffix of executables... .exe
    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 how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/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 for tgoto in -lncurses... yes
    checking readline/readline.h usability... no
    checking readline/readline.h presence... no
    checking for readline/readline.h... no
    configure: error: in `/home/Juan/sac-101.5c':
    ./configure: line 377: test: but: integer expression expected
    configure: error: test
    ./configure: line 274: return: but: numeric argument required
    ./configure: line 284: exit: but: numeric argument required

    Can someone help me with that error, i don't know how to fix it.

    I will be very grateful, thanks.

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


14:56:09 v.01697673