Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Tk 4.0 and Linux

5 views
Skip to first unread message

Claude Paradis

unread,
Mar 28, 1996, 3:00:00 AM3/28/96
to
Hi,
I presently have Tcl 7.3 and Tk 3.6 in my Linux box. Last week, I finally
found a tutorial (after many many hours of searching) with exercises to do
in order to learn Tcl and Tk. The book from J. Ousterhout is fine but got
little exercises in it.
There was a catch with the tutorial: it needed Tcl 7.4 & Tk 4.0 to work!
So I went to Sun lab and get myself the new versions. Tcl 7.4 compiled
with no problem at all. I barely had time to got a coffee. Then I started
on Tk 4.0... Make stopped saying:
make: *** No rule to make target '../tcl7.4/libtcl.a'. Stop.

Before compiling I did: applied the 3 patchs ./configure make and
then it stopped

I run Linux 1.2.13 (no Elf, yet) on a 486 DX4 100Mhz

Any help would be appreciate,

Claude Paradis
<cla...@six.net>

Andreas Leitgeb

unread,
Mar 29, 1996, 3:00:00 AM3/29/96
to
Claude Paradis (cla...@six.net) wrote:
: with no problem at all. I barely had time to got a coffee. Then I started

: on Tk 4.0... Make stopped saying:
: make: *** No rule to make target '../tcl7.4/libtcl.a'. Stop.
compiling tk requires that tcl has been compiled "just before",
AND it requires, that tcl has been compiled in a directory, whose
relative path from the tk-directory you can see from the error-message.

either you gave a different name to the tcl7.4 directory, or
you removed the install-directory after making "install"

in the first case, rename the directory, in the other case
re-create it, and just copy the file libtcl.a from /usr.../lib/libtcl.a
into that directory

hope that helps

Bob Willmot

unread,
Mar 29, 1996, 3:00:00 AM3/29/96
to
it souds like you tried to build tk before you built tcl.

build and test Tcl 7.4 before you try to compile Tk 4.0


Bob

Claude Paradis (cla...@six.net) wrote:
: Hi,


: I presently have Tcl 7.3 and Tk 3.6 in my Linux box. Last week, I finally
: found a tutorial (after many many hours of searching) with exercises to do
: in order to learn Tcl and Tk. The book from J. Ousterhout is fine but got
: little exercises in it.
: There was a catch with the tutorial: it needed Tcl 7.4 & Tk 4.0 to work!
: So I went to Sun lab and get myself the new versions. Tcl 7.4 compiled

: with no problem at all. I barely had time to got a coffee. Then I started
: on Tk 4.0... Make stopped saying:
: make: *** No rule to make target '../tcl7.4/libtcl.a'. Stop.

: Before compiling I did: applied the 3 patchs ./configure make and

Siome Klein Goldenstein

unread,
Apr 2, 1996, 3:00:00 AM4/2/96
to
Claude Paradis (cla...@six.net) wrote:
: Hi,
: I presently have Tcl 7.3 and Tk 3.6 in my Linux box. Last week, I finally
: found a tutorial (after many many hours of searching) with exercises to do
: in order to learn Tcl and Tk. The book from J. Ousterhout is fine but got
: little exercises in it.
: There was a catch with the tutorial: it needed Tcl 7.4 & Tk 4.0 to work!
: So I went to Sun lab and get myself the new versions. Tcl 7.4 compiled
: with no problem at all. I barely had time to got a coffee. Then I started
: on Tk 4.0... Make stopped saying:
: make: *** No rule to make target '../tcl7.4/libtcl.a'. Stop.

: Before compiling I did: applied the 3 patchs ./configure make and
: then it stopped

: I run Linux 1.2.13 (no Elf, yet) on a 486 DX4 100Mhz

: Any help would be appreciate,

: Claude Paradis
: <cla...@six.net>


I would recommend that you download the already compiled tk4.0aout.tar.gz
(and the tcl too).

You can find them at sunsite, in the app/devel/tcl directory (I'm not sure
if this path is correct). Then is just untar it on the root directory (/).

It's faster than compiling everything by hand, and comes with dynamic libs.

I've done it myself and its working fine

Good luck
Siome

--
-------------------
Siome Klein Goldenstein
Si...@visgraf.impa.br

0 new messages