Re: [tkined] How to install Tcl/Tk8.0 Sun package + Scotty?

Peter Polkinghorne (Peter.Polkinghorne@brunel.ac.uk)
Wed, 27 May 1998 09:41:05 +0100

>
> It is my belief that you should be using the GNU CC compiler when building
> this on your Sun system.
>
> I have not gotten very much software to build correctly using the
> /usr/ccs... versions.
>
> Be sure to get GNU Make, too.
>
> --
> Allen J. Newton (anewton@sandia.gov) | Voice: 505/844-7037

In fairness to Sun it is quite possible to build tcl & tk 8.0 with the Sun compiler and Sun make - after all a lot of the recent tcl work was done at Sun. I have also had no problems building Scotty with Sun compiler.

As Doug Hughes had said make sure you have the SunPro compiler in your path before /usr/ucb/cc which is designed to run in BSD/SunOs compatibility mode.

Here is my brief recipe for building Tcl/Tk and associated extensions:

a) have the package directories under a common directory - here are mine under /usr/sr/local/TCL/tcl-8.0/sol2:

Tix4.1.0/ blt8.0-unoff/ scotty-2.1.7/ tclX8.0.2/
Tix4.1.0.005/ expect-5.25/ tcl8.0/ tk8.0/

b) configure and make thus (having ensured SunPro cc first in path):

./configure --enable-shared --prefix /vol/PACK/tcl-8.0

Then make, make test & make install. The prefix option is there if you wish to install in a non-standard place.

The only problem I had was a Sun C 4.0 compiler optimiser bug, that required me to turn off optimisation.

-- 
-----------------------------------------------------------------------------
| Peter Polkinghorne, Computer Centre, Brunel University, Uxbridge, UB8 3PH,|
| Peter.Polkinghorne@brunel.ac.uk   +44 1895 274000 x2561       UK          |
-----------------------------------------------------------------------------

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.