From: Maurice L. <mj...@ga...> - 2002-05-20 16:41:51
|
Geoffrey Furnish writes: > Hi all, > > I just had a configure failure on SunOS-5.7, when I used --enable-java. The > following line in configure, causes an error: > > test -L java/plplot/core/config.java || (cd java/plplot/core; ln -s ../../../config.java .) > > > The error is: > > $ test -L java/plplot/core/config.java || (cd java/plplot/core; ln -s ../../../config.java .) > test: argument expected > > Curiously, if I am in C shell, or if I invoke the above line as /usr/bin/test > ..., then it works. Only fails if entered exactly as shown above, which was > pasted in from the PLplot configure script. It's probably a shell built-in, and doesn't support the -L syntax, or uses something different (IIRC the AIX shell used -h instead of -L to test for symlinks, back when we were at the IFS). You might look for an alternate (POSIX.2 compatible?) shell to use instead. -- Maurice LeBrun mj...@ga... Research Organization for Information Science and Technology of Japan (RIST) |