[tlbuild] Solaris fails to process asy's Makefile

Mojca Miklavec mojca.miklavec.lists at gmail.com
Sat Apr 16 09:49:10 CEST 2016


Hi,

Solaris is experiencing problems with the following:

/opt/csw/bin/g++-5.2 -Wall -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64
-DUSEGC  -D_REENTRANT -pthreads -DFFTWPP_SINGLE_THREAD  -g -O2 -g -O3
-ansi -fno-var-tracking   -I. -Igc-7.4.2/include -o main.o -c main.cc
if test ! -e revision.cc -o "2.37" != "\1"; then     \
  echo "const char *REVISION="\"2.37\"\; > revision.cc; \
fi
/bin/sh: test: unknown operator revision.cc
Makefile:117: recipe for target 'version' failed
gmake: *** [version] Error 1

The syntax of "test" works in bash, but not inside a Makefile and I'm
not sure what to check to fix this (my workaround was to comment out
the three lines).

Mojca


More information about the tlbuild mailing list