Roland: +1, awesome! Thanks for this, testing the versions for both ISA's now ... Contacting you offlist, if I happen to encounter any problems/bugs.
Martin Roland Mainz wrote: > Hi! > > ---- > > [If you run Solaris 11 >= B72 please ignore this] > > A new set of tarballs containing an OS/Net version of ksh93 [1] (based > on ksh93s+_beta_20070418 [2]) is now available from > http://www.opensolaris.org/os/project/ksh93-integration/downloads/2007-10-31/ > > These tarballs are intended to be installed over an existing OpenSolaris > i386 or SPARC installation (>= Nevada B61 and < Nevada B72 ; this > tarball is no longer neccesary if you run Nevada B72 or higher!!) and > provide ksh93s+_beta_20070418 [2] for testing and evaluation purposed > ONLY. > > Please report any problems/errors/bugs/comments to the ksh93-integration > project bugzilla [5] or the ksh93-integration mailinglist [4]. > > > ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## > WARNING: These tarballs are NOT needed if you run Solaris 11/B72 or > higher (ksh93 was integrated in B72 [6]) - these tarballs are only > intended as a quick way to add ksh93 to existing pre-B72 machines (such > as the Sun OS/Net buildfarm machines). > ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## > > > ** Install instructions: > > 1. Download the tarball: > + i386/AMD64: > > http://www.opensolaris.org/os/project/ksh93-integration/downloads/ksh93_integration_20071031_snapshot_i386.tar.bz2 > > + SPARC: > http://www.opensolaris.org/os/project/ksh93-integration/downloads/ksh93_integration_20071031_snapshot_sparc.tar.bz2 > > 2. Verify the MD5 checksum: > + i386/AMD64: MD5 > (ksh93_integration_20071031_snapshot_i386.tar.bz2)= > 3dce7c8cf3cfef92224d9da54589bfe6 > + SPARC: MD5 > (ksh93_integration_20071031_snapshot_sparc.tar.bz2)= > 9265f2aa0957427a394f44084d85268e > 3. Login as user "root": > 4. Change directory to / and unpack the tarball with /usr/bin/tar > using the "xvof" option ("o" is very important to set the file > ownership to "root") > > Example for i386/AMD64: > > $ cd /tmp > $ wget > http://www.opensolaris.org/os/project/ksh93-integration/downloads/ksh93_integration_20071031_snapshot_i386.tar.bz2 > $ /usr/sfw/bin/openssl md5 > ksh93_integration_20071031_snapshot_i386.tar.bz2 > MD5(ksh93_integration_20071031_snapshot_i386.tar.bz2)= > 3dce7c8cf3cfef92224d9da54589bfe6 > # cd / > # sync ; sync > # bzcat </tmp/ksh93_integration_20071031_snapshot_i386.tar.bz2 | tar > -xvof - > # sync ; sync > > Example for SPARC: > > $ cd /tmp > $ wget > http://www.opensolaris.org/os/project/ksh93-integration/downloads/ksh93_integration_20071031_snapshot_sparc.tar.bz2 > $ /usr/sfw/bin/openssl md5 > ksh93_integration_20071031_snapshot_sparc.tar.bz2 > MD5(ksh93_integration_20071031_snapshot_sparc.tar.bz2)= > 9265f2aa0957427a394f44084d85268e > # cd / > # sync ; sync > # bzcat </tmp/ksh93_integration_20071031_snapshot_sparc.tar.bz2 | tar > -xvof - > # sync ; sync > > > ** Documentation: > End-user documentation for ksh93s+ can be found at > http://www.opensolaris.org/os/project/ksh93-integration/docs/ksh93s/ > > > ** Notes: > > * This tarball matches ksh93s+ (=ast-ksh.2007-04-18) with many > many changes since the last version. Please test the binaries > extensively. > * The binaries now are build from a B61-based tree and require > SXCR B61 or higher > * Sources/diffs: > + The diffs between Solaris Nevada B61 and the current > ksh93-integration tree can be obtained via > svn diff -r 676:885 > svn://svn.genunix.org/on/branches/ksh93/gisburn/prototype005/usr > or as unified diff from > http://www.opensolaris.org/os/project/ksh93-integration/downloads/svn_genunix_org_on_branches_ksh93_gisburn_prototype005_rev_676_885.diff.txt > (12MB, MD5 checksum is bf01ae796575aa72137c9cd54315a74d). > * 64bit binaries and libraries are now included (and used by > default if the hardware is 64bit capable) > * AST l10n utilities are stored in /usr/ast/bin/. > * Starting with ksh93s+ multibyte characters can be used for > variable/function/etc.-names. Please test this functionality > extensively. > * <esc><ctrl-l> was added to emacs/gmacs mode to clear the screen > (per community requests and to be in sync with bash) > * If you wish to use ksh93 as login shell you have to create the > file /etc/shells (see shells(4) manual page) to include it in > the list of "allowed" system login shells: > Example /etc/shells file (created using $ cat usr/src/lib/libc/ > port/gen/getusershell.c | egrep '.*".*/(bin|sbin)/.*".*' | sed > 's/[",]//g' | sort -u #): > > /bin/bash > /bin/csh > /bin/jsh > /bin/ksh > /bin/ksh93 > /bin/pfcsh > /bin/pfksh > /bin/pfsh > /bin/sh > /bin/tcsh > /bin/zsh > /sbin/jsh > /sbin/pfsh > /sbin/sh > /usr/bin/bash > /usr/bin/csh > /usr/bin/jsh > /usr/bin/ksh > /usr/bin/ksh93 > /usr/bin/pfcsh > /usr/bin/pfksh > /usr/bin/pfsh > /usr/bin/sh > /usr/bin/tcsh > /usr/bin/zsh > /usr/sfw/bin/zsh > /usr/xpg4/bin/sh > > * libcmd.so is replaced with a version which includes both the > ksh93 builtin commands and the private Solaris API of previous > libcmd versions. > * The tarball was simply created from an OS/Net B61 proto/ subdir > via collecting the files listed by $ find $ROOT '!' -type d | > sed 's/.*\/root_sparc\///' | egrep "/(lib|llib-l)(cmd|ast|shell > |dll|pp)|/(ksh|rksh|pfksh)|include/ast|usr/ast/" | egrep -v > cmdutils | sort #. > * The tarballs do not provide a manual page for ksh93. Please use > the manual page for ksh93s+ in the meantime [3]. > * "multiline" input mode was temporary disabled in the default > configuration due small issues. > * The ksh93 binaries can be build from source like this: > (Instructions are for Solaris i386/AMD64; SPARC requires minor > adjustments) > 1. Pull sources and extract closed bin stuff (files can be > obtained from opensolaris.org): > $ mkdir test_x86 ; cd test_x86 > $ svn checkout -r 885 > svn://svn.genunix.org/on/branches/ksh93/gisburn/prototype005/usr > $ bzcat <../download/on-closed-bins-nd-b61.i386.tar.bz2 | > tar -xf - > $ cd .. > 2. Create opensolaris.sh. > This is the usual opensolaris.sh with the paths adjusted to > match your location of the sources. > Example for the changes applies to opensolaris.sh (for my > workspace): > > -- snip -- > --- ./test1_x86/usr/src/tools/env/opensolaris.sh Thu Sep 14 > 13:17:59 2006 > +++ ./opensolaris.sh Sun Jul 30 00:50:08 2006 > @@ -43,10 +43,10 @@ > > # This is a variable for the rest of the script - GATE > # doesn't matter to nightly itself > -GATE=testws; export GATE > +GATE=test1_x86; export GATE > > # CODEMGR_WS - where is your workspace at > # (or what should nightly name it) > -CODEMGR_WS="/export/$GATE"; export CODEMGR_WS > +CODEMGR_WS="/home/test001/ksh93/on_build1/$GATE"; > export CODEMGR_WS > > # Location of encumbered binaries. > ON_CLOSED_BINS="$CODEMGR_WS/closed"; export ON_CLOSED_BINS > -- snip -- > > 3. Run "bldenv": > $ env - SHELL=$SHELL TERM=$TERM HOME=$HOME LOGNAME=$LOGNAME > DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY LANG=C LC_ALL=C > PAGER=less MANPATH=$MANPATH /opt/onbld/bin/bldenv > opensolaris.sh # > 4. Build it (the quick way): > $ cd test_x86/usr/src > $ export ON_BUILD_AST_L10N_CATALOGS=1 CW_NO_SHADOW=1 > $ time nice make setup 2>&1 | tee -a buildlog_setup.log > $ time nice dmake install >buildlog.log 2>&1 > > > Finally: Please check > http://www.opensolaris.org/os/project/ksh93-integration/downloads/2007-10-31/ > for any updates or additional comments... > > > ** Links/References: > [1]=ksh93-integration/migration project home page: > http://www.opensolaris.org/os/project/ksh93-integration/ > > [2]=ksh93s+_beta release annoucement: > http://mail.opensolaris.org/pipermail/ksh93-integration-discuss/2007-April/002483.html > > [3]=ksh93s+ manual page: > http://www.opensolaris.org/os/project/ksh93-integration/docs/ksh93s/man/man1/sh/ > > [4]=ksh93-integration mailinglist: > http://mail.opensolaris.org/mailman/listinfo/ksh93-integration-discuss/ > ; please subscribe before posting (and please avoid flamewars) !! > > [5]=ksh93-integration project bugzilla: > http://bugs.grommit.com/enter_bug.cgi?product=ksh93-integration > > [6]=Heads-up message for "ksh93 integrated into Solaris 11/B72": > http://www.opensolaris.org/os/community/on/flag-days/pages/2007081701/ > > ---- > > Bye, > Roland > > _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org