> X-Original-To: ksh93-integration-discuss at opensolaris.org
> Delivered-To: ksh93-integration-discuss at opensolaris.org
> Date: Fri, 03 Mar 2006 03:41:54 +0100
> From: Roland Mainz <roland.mainz at nrubsig.org>
> X-Accept-Language: en
> MIME-Version: 1.0
> To: Korn Shell 93 integration/migration project discussion
<ksh93-integration-discuss at opensolaris.org>
> Subject: Re: [ksh93-integration-discuss] Solaris packaging of ksh93
components(libast, libcmd, libdll, libshell)
> Content-Transfer-Encoding: 7bit
> X-ID: TnjfWoZvreEGyqA3Fuw9uzFpqm1Jx0F3kr87TInKHQoy4edilWes8L at t-dialin.net
> X-TOI-MSGID: fa989f8b-4460-4bd8-b037-43631bdd7306
> X-BeenThere: ksh93-integration-discuss at opensolaris.org
> X-Mailman-Version: 2.1.4
> List-Id: Korn Shell 93 integration/migration project discussion
<ksh93-integration-discuss.opensolaris.org>
> List-Unsubscribe:
<http://mail.opensolaris.org/mailman/listinfo/ksh93-integration-discuss>,
<mailto:ksh93-integration-discuss-request at
opensolaris.org?subject=unsubscribe>
> List-Archive:
<http://mail.opensolaris.org/pipermail/ksh93-integration-discuss>
> List-Post: <mailto:ksh93-integration-discuss at opensolaris.org>
> List-Help:
<mailto:ksh93-integration-discuss-request at opensolaris.org?subject=help>
> List-Subscribe:
<http://mail.opensolaris.org/mailman/listinfo/ksh93-integration-discuss>,
<mailto:ksh93-integration-discuss-request at opensolaris.org?subject=subscribe>
>
> April Chin wrote:
> > > > user -lcmd style plugins are currently documented to link against
-lshell
> > > > the (ast nmake) build system maps -lshell to its constituents
> > > > so on solaris
> > > > -lshell => -lshell
> > > > and on non-solaris
> > > > -lshell => -lshell -lcmd -ldll -last
> > > >
> > > > I haven't tested this but it should be possible to package other ast
> > > > commands for solaris to be linked against the all-in-one -lshell
> > >
> > > April - what do you think about this ? Should we...
> > > a) ... treat libast/libcmd/libdll as seperate libraries distributed over
> > > the Solaris source tree
> > > b) ... should we just put them all together into libshell.so as Glenn
> > > proposed
> > > ... or how else should we handle the problem ?
> >
> > My preference, at least initially, is
> > to compile the libraries statically into ksh93 and to postpone the
> > sharing of the libraries for a later phase of the project.
>
> I would agree, but I am already beyond that point - I am already done
> with the creation of an independent built system for libast and I am
> currently working on the remaning libraries (erm... OK... it builds... I
> didn't test yet whether it really works at runtime (and testing the
> whole ON build simply fails since I have currently installed Sun Studio
> 11 for which the ON build simply doesn't work (only Sun Studio 10 is
> supported by ON right now)) ...).
There are other requirements besides getting the library to
build. Before we can open up the library on Solaris for
possible consumption by others, we will need to decide which of the interfaces
in these libraries are public and which are private, and what is the
stability level of the interfaces. Any public interface changes
to the libraries will need to be approved by PSARC. There are other
rules on shared objects which we must follow, even if we put the
shared libraries out on /usr/lib and make all the interfaces private.
If we keep the libraries within usr/src/cmd/ksh for now we don't
have to worry about it yet.
April
>
> Another problem is that putting all sources into on/usr/src/cmd/ksh/
> will not simply work since we still have to write our own build system -
> I've asked on IRC and people there were not very happy about the idea of
> having an totally alien build system running there (2nd complain was
> that Makefile targets such as "lint" etc. are not supported).
>
> > I think this will simplify things for now and will allow us to get
> > ksh93 integrated and into Open Solaris sooner.
>
> I agree - but since we have to write our own Makefiles (see above) the
> amount of work required is AFAIK the same.
>
> > I appreciate the
> > functionality that these interfaces offer, but right now, I'd like to
> > focus on getting a ksh93 that will boot and build Solaris and which
> > works for the existing Open Solaris scripts. Please let me know if
> > there are strong objections to this.
>
> The only objection I have is that I am 1/3 done with the work (and I am
> slow due interuptions such as FOSDEM/2006 and the fact that I am doing
> the main development with a tiny laptop with keys which are far to small
> for my giant claws... ;-( ) ...
>
> ----
>
> Bye,
> Roland
>
> --
> __ . . __
> (o.\ \/ /.o) roland.mainz at nrubsig.org
> \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
> /O /==\ O\ TEL +49 641 7950090
> (;O/ \/ \O;)
> _______________________________________________
> ksh93-integration-discuss mailing list
> ksh93-integration-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/ksh93-integration-discuss