[Psi-devel] Re: Imminent release, call for testers
Magnus Henoch
mange at freemail.hu
Mon Jun 20 12:56:46 PDT 2005
Iain MacDonnell <Dseven at Dseven.ORG> writes:
> I think you may have that slightly backwards. Solaris supports IEEE
> standards 1003.1 and 1003.2 (commonly known as POSIX.1 and POSIX.2).
> The problem is that the configure script is not using POSIX-compliant
> shell syntax. I complained about this before, and it got fixed, but
> someone added more bash-style syntax in a later update. I've since
> given up, and changed my build process to use "bash ./configure"
> instead of just "./configure".
>
> BTW. FWIW: http://docs.sun.com/app/docs/doc/817-0699/6mgfuai9q?a=view
Solaris has two shells named sh, /bin/sh (hardlinked to /usr/bin/sh)
and /usr/xpg4/bin/sh. The latter is POSIX compliant[0] and can run
Psi's configure script; the former is not and can not. AIUI, /bin/sh
can't be replaced as that would break pre-POSIX shell scripts, and the
prescribed way to run a POSIX shell script on Solaris is to specify
/usr/xpg4/bin/sh.
See also: http://www.intuitive.com/blog/the_hassle_of_standards.html
Magnus
[0] At least, I _think_ it's POSIX; "man sh" calls it a "standards
compliant shell" as opposed to /usr/bin/sh.
More information about the Psi-devel-affinix.com
mailing list