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

John Stumbles (J.D.Stumbles@reading.ac.uk)
Tue, 26 May 1998 18:47:54 +0100 (BST)

On Tue, 26 May 1998, Allen J. Newton wrote:

> John Stumbles wrote:
> > Date: Fri, 22 May 1998 19:58:08 +0100 (BST)
> > Subject: Re: [tkined] How to install Tcl/Tk8.0 Sun package + Scotty?
>
> > OK I can confirm the "problems building scotty" ;-)
> >
> > I just built Tcl & Tk from the sources (without --enable-shared) (this is
> > an Ultra / Solaris 2.5) but trying to make scotty, I got lots of warnings:
> >
> > ucbcc: Warning: Option -KPIC passed to ld
> >
> > and then ld complains:
> >
> > /usr/ccs/bin/ld -G -z text tkiEditor.o tkiObjects.o tkiMethods.o tkiMisc.o tkiFl
>
> 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.

I tried this (Doug Hughes kinda suggested it too) by using --enable-gcc as
well as --enable-shared, but I still get link errors:

scinfo@sunm2> make | & more
gcc tclAppInit.o -L/export/sunm2_exec_1/sun4/opt/tcl8.0/unix -ltcl8.0 -ldl -lm
-lc \
-R /usr/local/lib -o tclsh
Undefined first referenced
symbol in file
socket /export/sunm2_exec_1/sun4/opt/tcl8.0/unix/li
btcl8.0.so
getpeername /export/sunm2_exec_1/sun4/opt/tcl8.0/unix/li
---8<---

> Be sure to get GNU Make, too.

got that ...

scinfo@sunm2> which make
/usr/gnu/bin/make

--
John Stumbles                                      j.d.stumbles@reading.ac.uk
Computer Services, University of Reading       http://www.rdg.ac.uk/~suqstmbl 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
       If a job's worth doing, it'll still be worth doing tomorrow.

--
!! 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.