Singular-3-1-3-3 doesn't build on Solaris

15 views
Skip to first unread message

Volker Braun

unread,
Oct 2, 2011, 11:19:09 AM10/2/11
to libsingu...@googlegroups.com
Hi Hans,

Sun's implementation of "test" doesn't understand "==", equality of strings needs to be tested by "=". Otherwise the Singular/configure script fails with

[...]
checking whether compiler accepts -pipe... (cached) yes
checking whether _AIX is defined... (cached) no
checking whether make sets ${MAKE}... (cached) yes
configure: warning: building without lex -- make might fail
checking for bison... (cached) where-is-your-bison
checking whether ln -s works... (cached) yes
checking for perl5... (cached) perl
./configure: test: unknown operator ==
configure: error: ./configure failed for Singular
Unable to configure Singular.

I'll attach a patch for Singular/configure.in. Unfortunately my autoconf seems to be too incompatible, so I can't make the configure script. But I manually changed == to = in configure and it worked, so I'm fairly confident that the patch to the autoconf sources is correct.

Best wishes,
Volker
Singular.configure.in.patch

Hans Schoenemann

unread,
Oct 4, 2011, 5:48:34 AM10/4/11
to libsingu...@googlegroups.com
On Sun, Oct 02, 2011 at 08:19:09AM -0700, Volker Braun wrote:
> Hi Hans,
>
> Sun's implementation of "test" doesn't understand "==", equality of strings
> needs to be tested by "=". Otherwise the Singular/configure script fails
> with
>
> [...]
> checking for perl5... (cached) perl
> ./configure: test: unknown operator ==
> configure: error: ./configure failed for Singular
> Unable to configure Singular.
>
Hi Volker,
thanks for the patch, it will be in the next version.

Hans

Reply all
Reply to author
Forward
0 new messages