Hi Managers,
many thanks for your help.
The original question was:
------------
Hi sun-managers,
I have a problem with the installation of the SUNWspro cc an c++.
We are using a Station 20 as a fileserver and 8 SparcClassics as
dataless clients. In addition we have 4 SparcStation 10 configured
as standalone systems.
Now we want to install the SparcWorks Professional C an C++ compiler.
I tried to install the compiler in the /opt directory of the server.
The dataless clients are able to use all the features.
Because of a lot other software installed in /opt of the server I mounted
the directory to /opt on the standalone systems. So I can use the binaries
of the compiler, but there are no include files or libraries.
Is it possible to install only the files needed by the compiler on the
standalone system, without installing all the stuff in /opt?
-------------
The solution:
I made a great mistake :-)
The final hint I received from Peter Barneveld.
> I did mount -o soft,ro metten:/opt/SUNWspro /opt/SUNWspro on the remote
> standalone system. That works since the additional lib's and include's are
> inside /opt/SUNWspro. All standard libs and includes are in /usr (at least
> if you have installed them...)
That's it. I have mounted the SUNWspro directory from the server, but the
stanalone systems are configured with cluster SUNWCuser!
After reinstallation with cluster SUNWCprog the needed libraries and includes
are accessible.
But the license manager doesn't response. So I have to add a file
called /etc/opt/licenses/sunpro.loc. This file contains the path
to the license directory, e.g. /opt/SUNWspro/license_dir.
Furthermore there are three links wich are normally installed by
the installation routine of the SUNWspro:
ln -s /opt/SUNWspro/SC3.0.1/bin/acc /usr/ccs/bin/ucbcc
ln -s /opt/SUNWspro/SC3.0.1/bin/lint /usr/ccs/bin/ucblint
ln -s /opt/SUNWspro/SC3.0.1/bin/whatdir /usr/ccs/bin/whatdir
That's all.
Thanks for all your help.
martin
=======================
Here are the original messages I received:
>From <danny@esaserv1.dseg.ti.com>:
> you can install the whole mess elsewhere, then put a symbolic
> link under/opt, as in /opt/SUNWspro -> wherever
> then use /opt/SUNWspro/bin or whatever in your path variable.
> I am doing this on Solaris 2.4 and it seems to work fine.
> (the answerbooks are not quite this easy--the easiest way to
> make them work remotely is to first install them locally then
> rm -r /opt/SUNW{whatever} then put the symbolic links back into
> /opt. the extra step is to get the stuff in /var/sadm/pkg...)
>From "Cynthia A. Zorn" <caz@lci.com>
> Hello Friend in Trier,
>
> Although I don't currently have access to the machine where I had once
> installed this compiler, what I suspect is that there are libraries that
> are in the the compiler package that are either copied to /usr/lib, or
> linked. You should be able to determine this by poking around in /usr/lib
> and /usr/include on the file server. I'd probably just create a script to
> link the libraries on the standalone machines.
>
> Hope this helps...
>
> Regards,
> Cindy
From: Peter Barneveld <Peter@fenk.WAU.NL>
> >Is it possible to install only the files needed by the compiler on the
> >standalone system, without installing all the stuff in /opt?
> >
>
> I did mount -o soft,ro metten:/opt/SUNWspro /opt/SUNWspro on the remote
> standalone system. That works since the additional lib's and include's are
> inside /opt/SUNWspro. All standard libs and includes are in /usr (at least
> if you have installed them...)
>
> Peter
--- Martin Greving http://fsai.trier.fh-rpl.de/~mgreving Fachbereich Angewandte Informatik, FH Rheinland-Pfalz, Abt. Trier Tel.: 49+0651 8103 374 email: greving@informatik.trier.fh-rpl.de
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:34 CDT