chinmayi sk wrote:
> Josh Hurst <joshhurst at gmail.com> wrote:
> On Feb 7, 2008 12:49 AM, Roland Mainz wrote:
> > chinmayi sk wrote:
> > > i would like to know how to build ksh93 environment .
> >
> > What do you mean with "ksh93 environment" ?
> >
> > Assuming you mean "ksh93 in OpenSolaris":
> >
> > * Overview:
[snip]
>
> i wanted to add buitins to ksh 93
> i have used the following procccedure
> built environment using bldenv
> $ON_BUILS_KSH93_AS_BINKSH=1
Erm... note that you must export the variable to the shell's environment
(e.g. $ export ON_BUILS_KSH93_AS_BINKSH=1 #), otherwise it will be
treated as a local variable and won't affect any applications launched
(e.g. $ dmake install # etc.).
> $make setup
> $dmake install
> and then changed to the ksh93 shell
> i have a small problem with this it is breaking my
> isaexec.
Which error message do you get ? AFAIK a complete OS/Net build should
build the usr/src/cmd/isaexec/ directory before usr/src/cmd/ksh/ and
that should install ${ROOT}/usr/lib/isaexec before it's referenced by
the Makefiles in usr/src/cmd/ksh/ ...
> in the case i want to manually copy the file instead of
> install
> but i am confused as to where to copy.
/usr/bin/ksh93 is a hard-link to /usr/lib/isaexec - the "real" ksh93
binaries go into the following locations:
- i386/32bit: /usr/bin/i86/ksh93
- AMD64/64bit: /usr/bin/amd64/ksh93
- SPARC/32bit: /usr/bin/sparcv7/ksh93
- SPARC/64bit: /usr/bin/sparcv9/ksh93
If you install ksh93 as /usr/bin/ksh using the $ export
ON_BUILS_KSH93_AS_BINKSH=1 # command then the name "ksh" is used instead
of "ksh93" in the filenames above.
> pls let me know if i am proceeding in the right direction
Does the description above help you ?
> i have one other doubt. i have to port a few commands which have msgid
> commands can any one give me directions on how i could port these
> commands
What do you mean by "msgid commands" ? Do you mean localisation support
(=l10n) in commands ?
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 7950090
(;O/ \/ \O;)