Ricardo,
The issue is with the test command, not necessarily sh. All borne shells
I've ever used provide a built-in for test, though.

I looked this command up... Both dash and Ash provide the -nt command to
compare the date of two files. Can you do a 'man sh' to double check that
the Solaris sh also have this command for the test built-in?

By the way, this would be a GNU autoconf bug.

Stefan

On Thu, Oct 17, 2019, 02:23 Riccardo Mottola via Gnustep-dev <
gnustep-dev@gnu.org> wrote:

> Hi,
>
> after several months, I attempt an update on Solaris. It used to work!
>
> I get a very strange make issue:
>
> checking if we should install gdomap as setuid... no
> checking for the version of gnustep-base we are compiling... 1.27.0
> configure: creating ./config.status
> config.status: creating config.mak
> /bin/sh: test: unknown operator -nt
> gmake: *** [Makefile.postamble:105: base.make] Error 1
>
>
> and if I issue make again, I get:
>
> bash-4.3$ gmake
> This is gnustep-make 2.7.0. Type 'gmake print-gnustep-make-help' for help.
> Running in gnustep-make version 2 strict mode.
> /bin/sh: test: unknown operator -nt
> gmake: *** [Makefile.postamble:105: base.make] Error 1
>
> This is not very helpful... somewhere I suppose we are using a parameter
> that the sh is not liking, I suppose?
> "sh" is not bash on solaris.
>
> But where?
>
> Do you know a trick to "force" using bash perhaps?
>
> Riccardo
>
> _______________________________________________
> Gnustep-dev mailing list
> Gnustep-dev@gnu.org
> https://lists.gnu.org/mailman/listinfo/gnustep-dev
>
_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to