I have stepped over http://defect.opensolaris.org/bz/show_bug.cgi?id=2031
and have tried to find out why there is no pfksh in the Opensolaris repositoriy
as of the snv_96.

Another question on the way there is what the /usr/bin/ksh is that comes with
current OpenSolaris.

I have not found an answer searching opensolaris.org forums, bugster CRs and 
bugzilla defects.

If ON_BUILD_KSH93_AS_BINKSH was 1 in the Makefile.ksh93switch used to
do the build, then /usr/bin/ksh should be linked to ksh93 and pfksh should
exist, which is not the case. There is no ksh in the closed bins, but there is
a ksh in the repository, so at first sight this looks like /usr/bin/ksh, which
obviously is statically linked, was added from a source outside onnv-gate
and the closed bins to create the distribution.

What am I missing here?

If /usr/bin/ksh is a ksh93 anyway for indiana builds, could a pfksh be delivered
by simply setting ON_BUILD_KSH93_AS_BINKSH=1 in usr/src/Makefile.ksh93switch ?

Thank you for reading this,

Nils

-- Some Details

haggis:~/Devel/onnv-gate$ ls -als closed/root_i386-nd/usr/bin/ksh
closed/root_i386-nd/usr/bin/ksh: No such file or directory

haggis:~$ uname -a ; ls -als /usr/bin/*/*ksh* /usr/bin/ksh
SunOS haggis 5.11 snv_96 i86pc i386 i86pc
  19 -r-xr-xr-x   2 root     bin         9672 Apr 27 04:47 /usr/bin/amd64/ksh93
  19 -r-xr-xr-x   2 root     bin         9672 Apr 27 04:47 /usr/bin/amd64/rksh93
  19 -r-xr-xr-x   2 root     bin         8124 Apr 27 04:46 /usr/bin/i86/ksh93
  19 -r-xr-xr-x   2 root     bin         8124 Apr 27 04:46 /usr/bin/i86/rksh93
  31 -rwxr-xr-x   1 root     bin        11728 Sep  6 16:12 /usr/bin/ksh

haggis:~# pkg search ksh
INDEX      ACTION    VALUE                     PACKAGE
basename   file      usr/bin/ksh               pkg:/SUNWcs at 0.5.11-0.96

haggis:~# pkg search -r pfksh
haggis:~# 

haggis:~# ldd /usr/bin/ksh
        libc.so.1 =>     /usr/lib/libc.so.1
        libm.so.2 =>     /usr/lib/libm.so.2
haggis:~# ldd /usr/bin/i86/ksh93
        libshell.so.1 =>         /usr/lib/libshell.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libcmd.so.1 =>   /usr/lib/libcmd.so.1
        libdll.so.1 =>   /usr/lib/libdll.so.1
        libast.so.1 =>   /usr/lib/libast.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libsecdb.so.1 =>         /usr/lib/libsecdb.so.1
        libm.so.2 =>     /usr/lib/libm.so.2
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        libmd.so.1 =>    /usr/lib/libmd.so.1
        libscf.so.1 =>   /usr/lib/libscf.so.1
        libuutil.so.1 =>         /usr/lib/libuutil.so.1
        libgen.so.1 =>   /usr/lib/libgen.so.1
haggis:~# /usr/bin/ksh
h:w$ echo ${.sh.version}
Version M 1993-12-28 s+
h:w$
--
This message posted from opensolaris.org

Reply via email to