[freetds] RE: Make fails solaris 8
dxmwml at rit.edu
Thu Apr 8 09:36:00 EDT 2004
Thanks for the reply.
Yes you are correct /bin/sh has a built in test program that does not
Make install fails with:
if test -n "" ; then \
if test ! -r userguide.sgml; then ln -s
../../.././userguide.sgml userguide.sgml; fi; \
openjade -d ../../../userguide.dsl -t sgml userguide.sgml; \
if test -L userguide.sgml; then rm userguide.sgml; fi; \
if test ! -r doc/freetds-0.62.1/userguide/index.htm ; then \
echo '<html><P>at <a
> .index.htm && \
mv .index.htm doc/freetds-0.62.1/userguide/index.htm; \
test -f doc/freetds-0.62.1/userguide/index.htm
cd doc/freetds-0.62.1/userguide && if test ! -L index.html ; then ln -s
index.htm index.html; fi
/bin/sh: test: argument expected
make: *** [doc/freetds-0.62.1/userguide/index.htm] Error 1
make: Leaving directory `/src/freetds-0.62.1/doc'
make: *** [install-recursive] Error 1
Is this still the documentation? Should this build be usable now?
Date: Thu, 8 Apr 2004 01:21:38 -0400
From: "James K. Lowden" <jklowden at schemamania.org>
Subject: Re: [freetds] Make fails on Solaris 8
To: FreeTDS Development Group <freetds at lists.ibiblio.org>
Message-ID: <20040408012138.5c148552.jklowden at schemamania.org>
Content-Type: text/plain; charset=US-ASCII
On Wed, 7 Apr 2004 09:31:04 -0400, "Damian Marinaccio" <dxmwml at rit.edu>
> I am trying to install freetds 0.62.1 on Solaris 8.
> I ran:
> ./configure --enable-msdblib
> This completed fine, However when running make it eventually errors
> out. I have put the output from the screen at the end of this message.
> I really cant figure out what is going wrong.
> if test -L reference; then rm reference; fi
> /bin/sh: test: argument expected
> make: *** [doc/freetds-0.62.1/reference/index.html] Error 1
It means that your /bin/sh has a builtin called "test" (or, there is a
/usr/bin/test) that does not support '-L' as an option. Can you confirm
$ touch t
$ ln t tt
$ test -L tt
$ test -Y tt
test: tt: unexpected operator
$ rm t tt
$ help test |grep '\-L'
-L FILE True if file is a symbolic link.
We are relying on a nonstandard option to determine if the file is a
link or not. I don't know what the standard way is. I suppose we could
do "if it's a file and it's not a directory".
Happily, this is not a really big problem. You can still call "make
install" and proceed. The documentation might not get installed
correctly, but FreeTDS will still work, and you can copy the
documentation trees yourself if you like.
Thank you for the problem report.
More information about the FreeTDS