Ian Collins <[EMAIL PROTECTED]> writes:

> > On Linux, we install by default into /opt/sun/sunstudio11
> > and /opt/sun/sunstudio12, etc.
> >
> I currently use /opt/studio<xx> for my installs and add a shortcut
> symlink /opt/studio to the current release.  That way makefiles pick up
> the latest version (on /opt/studio) by default and individual projects
> can still pick up specific versions.

I had /opt/SUNWspro-10.0, /opt/SUNWspro-11.0 etc. and /opt/SUNWspro
pointing to the default version via automounter magic.  The problem with
that approach is that you need to do the same with /opt/netbeans, which
makes the whole setup ugly.

> > I'd like to see us move to that same scheme on Solaris too.
> > /opt/SUNWspro is not a user-friendly directory name. There
> > are some people who insist the default install directory
> > must be the same for each release because they don't want
> > to update their path every 12 months or so.  I don't think
> > it's worth catering to those people.
> >
> Agreed, if they want the same path the default can always be overridden
> in the installer GUI, or as command line option.

I think this is wrong: keeping path names stable is important to keep many
existing references to /opt/SUNWspro working.  This is not Linux where we
can juggle around paths at will and break compatibiltiy at a whim ;-)

> How about /opt/sunstudio<xx> or /opt/sun/studio<xx>?  Either path should
> be unique and quite short.

I see two problems here: 

* Both variants don't match package/directory name guidelines (this should
  be /opt/SUNW<something>).

* /opt/SUNWspro is hardcoded in many configure scripts etc.  Moving the
  installation completely would break lots of stuff, and might even break
  binaries linked against shared libraries in /opt/SUNWspro/lib and
  containing that RPATH.

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University
_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org

Reply via email to