Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can I shut the OpenSolaris shell up ??

5 views
Skip to first unread message

Dave

unread,
Nov 30, 2009, 5:08:54 AM11/30/09
to
I've built auotconf on OpenSolaris 06/2009, with no problems, but it fails 252
tests in the testsuite, which is about 50% of them. I reported this to the
auotconf mailing list. This is the response from Ralf Wildenhues, one of the
autoconf developers, when I asked what was wrong.

-----Start of email from autoconf developer ----------,

> But when I try to build autoconf, there are a large number of
> > failures. Any ideas what is wrong?

Yes: your shell is very chatty:

> > configure: warning: line 946: " quote may be missing
> > configure: warning: line 955: `...` obsolete, use $(...)
> > configure: warning: line 960: `...` obsolete, use $(...)
> > configure: warning: line 962: " quote may be missing
> > configure: warning: line 993: `...` obsolete, use $(...)
> > configure: warning: line 1014: `...` obsolete, use $(...)
> > configure: warning: line 1036: `...` obsolete, use $(...)
> > configure: warning: line 1041: $ not preceeded by \

and the Autoconf testsuite tries to be strict about warning output.

It's pretty ironic that a Solaris shell should warn about `...`, with
Autoconf using that construct mostly because shells like Solaris <=10
10) /bin/sh does not cope with $(...). Oh well. Can the shell be told
to not output these warnings somehow? I took a quick look at
<http://dlc.sun.com/osol/man/downloads/current/> but couldn't find a
switch or environment variable to do so.

Thanks for the report,
Ralf

---------------- End of report from autoconf developer -----------

Does anyone know how I might answer his question and stop the shell showing all
the warnings?

Dave
--
I respectfully request that this message is not archived by companies as
unscrupulous as 'Experts Exchange' . In case you are unaware,
'Experts Exchange' take questions posted on the web and try to find
idiots stupid enough to pay for the answers, which were posted freely
by others. They are leeches.

Oscar del Rio

unread,
Nov 30, 2009, 12:09:55 PM11/30/09
to
Dave wrote:
> I've built auotconf on OpenSolaris 06/2009, with no problems, but it

Why don't you use the SUNWaconf package for OpenSolaris?

pkg search autoconf
pkg install SUNWaconf

> > But when I try to build autoconf, there are a large number of
> > > failures. Any ideas what is wrong?
>
> Yes: your shell is very chatty:
>
> > > configure: warning: line 946: " quote may be missing
> > > configure: warning: line 955: `...` obsolete, use $(...)
> > > configure: warning: line 960: `...` obsolete, use $(...)
> > > configure: warning: line 962: " quote may be missing
> > > configure: warning: line 993: `...` obsolete, use $(...)
> > > configure: warning: line 1014: `...` obsolete, use $(...)
> > > configure: warning: line 1036: `...` obsolete, use $(...)
> > > configure: warning: line 1041: $ not preceeded by \
>
> and the Autoconf testsuite tries to be strict about warning output.

It is a "ksh93 -n" feature (/bin/sh is ksh93 in OpenSolaris). I don't
think you can turn it off. Can the tests use a different shell if it
doesn't like the ksh93 warnings?

0 new messages