The duplication of the paths for Tcl, Tk, and Mp libraries
below is to allow for incorrect installations of STk. If
STk is installed correctly, these will all be in the same place.
I would find your STk libraries and include files, reconfigure,
and try to make again.
Jon
Config.mk.linux-eg:
-------------------
OP_SYS =Linux-2.0.26-ix86
STK_VERSION =3.0b2
LINK_PREFIX =/home/berryj/link
STK_PREFIX =/usr/local
TK_STK_LIB =/usr/local/lib/stk/3.0b2/Linux-2.0.26-ix86
TCL_STK_LIB =/usr/local/lib/stk/3.0b2/Linux-2.0.26-ix86
MP_LIB =/usr/local/lib/stk/3.0b2/Linux-2.0.26-ix86
MP_STK_INCLUDE =/usr/local/lib/stk/3.0b2/include
TK_STK_INCLUDE =/usr/local/lib/stk/3.0b2/include
TCL_STK_INCLUDE =/usr/local/lib/stk/3.0b2/include
FLEX_LIB =
Config.mk.solaris-eg
--------------------
OP_SYS =SunOS-5.5.1-sun4
STK_VERSION =3.0b2
LINK_PREFIX =/export/share/berryj/link
STK_PREFIX =/usr/local
TK_STK_LIB =/usr/local/lib/stk/3.0b2/SunOS-5.5.1-sun4
TCL_STK_LIB =/usr/local/lib/stk/3.0b2/SunOS-5.5.1-sun4
MP_LIB =/usr/local/lib/stk/3.0b2/SunOS-5.5.1-sun4
MP_STK_INCLUDE =/usr/local/lib/stk/3.0b2/include
TK_STK_INCLUDE =/usr/local/lib/stk/3.0b2/include
TCL_STK_INCLUDE =/usr/local/lib/stk/3.0b2/include
FLEX_LIB =
Dr. Jon Berry Office: Whitley 204
Assistant Professor, Computing Sciences Campus Box: 2130
Elon College, N.C. 27244 Office Phone: (910)584-2290
On Wed, 7 May 1997, Stephen O. Lidie wrote:
> >
> > Would you please post your Config.mk file? It looks like you're
> > using the wrong tcl and tk libraries, though I don't know why make
> > quit when it did.
> > Jon B.
>
> Thanks for your reply. I suspect I do not (yet) have a Tcl problem, but rather
> a make problem. I have Tk 4.2 installed, the latest GNU flex, and STk 3.0.
>
> > > cd basic; make LINK_COMPILE.cc="c++ -I. -I/usr/local/link-1.0/include -I/usr/local/include -I/usr/local/include -I/usr/lo
> > >
> > > cal/include -I/usr/local/STk-3.0/lib/stk/3.0b2/include -c -DSTK_GUI" -f Make.basic \
> > > ../libbasic.a
> > > LINK_COMPILE.cc=c++ -I. -I/usr/local/link-1.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local
> > >
> > > /STk-3.0/lib/stk/3.0b2/include -c -DSTK_GUI: 0402-026 The specified data is not a valid identifier.
> > > make: 1254-004 The error code from the last command is 1.
>
> After various cut-and-paste operations if noticed that the error message "went away"
> if I excluded "../libbasic.a" from basic's make. The make took mere milliseconds
> so I'm not convinced it did anything (;
>
> Here's Config.mk:
>
> OP_SYS =AIX
> STK_VERSION =3.0b2
> LINK_PREFIX =/usr/local/link-1.0
> STK_PREFIX =/usr/local/STk-3.0
> TK_STK_LIB =/usr/local/lib/libtk4.2.a
> TCL_STK_LIB =/usr/local/lib/libtcl7.6.a
> MP_LIB =/usr/local/lib/libgmp.a
>
>
> MP_STK_INCLUDE =/usr/local/include
> TK_STK_INCLUDE =/usr/local/include
> TCL_STK_INCLUDE =/usr/local/include
>
> FLEX_LIB =/usr/local/lib/libfl.a
>
> I made the assumption that PREFIX vars pointed to a toplevel directory,
> LIB vars actually pointed to a file, and INCLUDE vars pointed to a
> directory. Valid assumptions?
>
> Steve
> --
> Stephen O. Lidie lusol@Lehigh.EDU
> Lehigh University Computing Center, USA
>
>
>