[6054] in java-interest
Re: Problems with java source on Solaris 2.3/2.4
daemon@ATHENA.MIT.EDU (sharonk@CITI.DOC.CA)
Mon Mar 18 18:15:37 1996
Date: Mon, 18 Mar 1996 10:30:55 -0500
Reply-To: Java Interest <JAVA-INTEREST@JAVASOFT.COM>
From: sharonk@CITI.DOC.CA
To: Multiple recipients of list JAVA-INTEREST
<JAVA-INTEREST@JAVASOFT.COM>
> A problem exists in Solaris 2.3/2.4 which prevents the java source
> from making cleanly. During the process the following error message
> will appear
>
> ksh was not found in /bin/../bin/sparc/ksh
>
> This message is produced by the java_wrapper script in response
> to it's $0 argument having been set to /bin/ksh.
>
> The problem can be fixed by changing the permissions of gnumake to
> REMOVE the setgid bit.
>
> I raised this issue with SunSoft in the UK who tell me it has
> already been fixed in Solaris 2.5. They also added that it is
> unlikely to be fixed in Solaris 2.3 and 2.4.
>
I have had the same problems. Rather than upgrading to Solaris
2.5 I have modified the javac wrapper(i.e. hardcoded it to
recognize javac) as shown below:
< PRG=`whence $0` >/dev/null 2>&1
changed to
> PRG=`whence javac` >/dev/null 2>&1
< progname=`basename $0`
changed to
> progname=`basename javac`
This works for me.
Sharon Kroo
Java Developper
docusys@montreal.com
http://www.docusys.qc.ca/