chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Solaris: tests/runtests.sh and Makefile assume that /bin


From: Claude Marinier
Subject: [Chicken-users] Solaris: tests/runtests.sh and Makefile assume that /bin/sh is bash
Date: Thu, 13 Sep 2012 09:37:11 -0400

Solaris 10, recently patched, Sun Enterprise M5000 (SPARC)
gcc (GCC) 3.4.6
chicken 4.7.0.6

# make PLATFORM=solaris PREFIX=/usr/local check
make -f ./Makefile.solaris CONFIG= check
make[1]: Entering directory `/usr/local/src/chicken-4.7.0.6'
cd tests; sh runtests.sh
runtests.sh: DYLD_LIBRARY_PATH=/usr/local/src/chicken-4.7.0.6/tests/..: is not an identifier
make[1]: *** [check] Error 1
make[1]: Leaving directory `/usr/local/src/chicken-4.7.0.6'
make: *** [check] Error 2

It looks like the script and the Makefile both assume that /bin/sh is bash.

The runtest.sh script is invoked like this.
  cd tests; sh runtests.sh
It starts like this.
  #!/bin/sh
  # runtests.sh - run CHICKEN testsuite

Perhaps the Makefile should set SH to bash and use it instead of a bare sh.

P.S. It builds and installs correctly. It compiles and runs some small programs.

--
Claude

reply via email to

[Prev in Thread] Current Thread [Next in Thread]