Installation of "tclcl-1.0b4"

Ihor Strutynskyj ivs2569@megahertz.njit.edu
Thu, 27 Nov 1997 12:03:10 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_0020_01BCFB2C.6DFD9780
Content-Type: text/plain;
	charset="iso-8859-5"
Content-Transfer-Encoding: quoted-printable

----Original Message-----
From: Deniz Gurkan <deniz@ee.bilkent.edu.tr>
To: ns-users <ns-users@mash.CS.Berkeley.EDU>
Date: 27 November 1997 ?. 10:47 AM
Subject: Installation of "tclcl-1.0b4"

Dear Deniz,
There is no any problem with your tclcl1b4 nor with your make.
This is a norman behaviour.

>
>Dear ns-users,
>
>I have another problem in installation of "tclcl-1.0b4". When I say =
make
>the following error occurs:
>
>>> test -e libTcl.a && rm -f libTcl.a || true
>>> sh: test: argument expected
>>> *** Error code 1 (ignored)


This error is due to different test implementation on your system than =
the
one
on tclcl author's system. This is OK. It just tests whether link =
libTcl.a
exists or
not. That link points to libtclcl.a. Since test was invoked inproperly =
this
command
set cannot remove it (libTcl.a link) if already exists. This causes the =
next
error,
which is normal too.

>>> ln -s libtclcl.a libTcl.a
>>> ln: libTcl.a: File exists
>>> *** Error code 1

ln can't create link libTcl.a since it already exist (from your previous
call(s) to make).

>>> make: Fatal error: Command failed for target `libtclcl.a'

But libtclcl.a was created successfully, and link libTcl.a points to it.
I think the authors of tclcl need to clean it a little bit here.

>
>But "make" then behaves as if nothing wrong has happened. I mean, when =
I
>type one more make after this, it doesn't do anything:
>
>>> toros:/antep3g/network/tclcl-1.0b4>make
>>> toros:/antep3g/network/tclcl-1.0b4>

Right. It has nothing to do. All source files were compiled, and =
libtclcl.a,
and libTcl.a
exist up to date.
>
>Shouldn't it write that "make is up to date"? Or should I ignore and go =
on
>with "ns-2.1b1"?

It prints "ns is up to date" not "make is up to date".
Since libtclcl.a is not executable but a library ( I may be wrong here) =
make
will not print that message. May be it has something to do with targents =
in
make or so.
But the one thing is thre is not anything wrong in here.

Good luck with ns2.1b1.

>
>Thank you for your future help. I am looking forward to a reply.
>Sincerely,
>
>Deniz GURKAN
>Research Assistant


Ihor.

------=_NextPart_000_0020_01BCFB2C.6DFD9780
Content-Type: text/html;
	charset="iso-8859-5"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3D"text/html; charset=3Diso-8859-5" =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.71.1712.3"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#e8e8e0>
<DIV>----Original Message-----<BR>From: Deniz Gurkan &lt;<A=20
href=3D"mailto:deniz@ee.bilkent.edu.tr">deniz@ee.bilkent.edu.tr</A>&gt;<B=
R>To:=20
ns-users &lt;<A=20
href=3D"mailto:ns-users@mash.CS.Berkeley.EDU">ns-users@mash.CS.Berkeley.E=
DU</A>&gt;<BR>Date:=20
27 November 1997 &eth;. 10:47 AM<BR>Subject: Installation of=20
&quot;tclcl-1.0b4&quot;<BR><BR>Dear Deniz,<BR>There is no any problem =
with your=20
tclcl1b4 nor with your make.<BR>This is a norman=20
behaviour.<BR><BR>&gt;<BR>&gt;Dear ns-users,<BR>&gt;<BR>&gt;I have =
another=20
problem in installation of &quot;tclcl-1.0b4&quot;. When I say =
make<BR>&gt;the=20
following error occurs:<BR>&gt;<BR>&gt;&gt;&gt; test -e libTcl.a =
&amp;&amp; rm=20
-f libTcl.a || true<BR>&gt;&gt;&gt; sh: test: argument =
expected<BR>&gt;&gt;&gt;=20
*** Error code 1 (ignored)<BR><BR><BR>This error is due to different =
test=20
implementation on your system than the<BR>one<BR>on tclcl author's =
system. This=20
is OK. It just tests whether link libTcl.a<BR>exists or<BR>not. That =
link points=20
to libtclcl.a. Since test was invoked inproperly this<BR>command<BR>set =
cannot=20
remove it (libTcl.a link) if already exists. This causes the=20
next<BR>error,<BR>which is normal too.<BR><BR>&gt;&gt;&gt; ln -s =
libtclcl.a=20
libTcl.a<BR>&gt;&gt;&gt; ln: libTcl.a: File exists<BR>&gt;&gt;&gt; *** =
Error=20
code 1<BR><BR>ln can't create link libTcl.a since it already exist (from =
your=20
previous<BR>call(s) to make).<BR><BR>&gt;&gt;&gt; make: Fatal error: =
Command=20
failed for target `libtclcl.a'<BR><BR>But libtclcl.a was created =
successfully,=20
and link libTcl.a points to it.<BR>I think the authors of tclcl need to =
clean it=20
a little bit here.<BR><BR>&gt;<BR>&gt;But &quot;make&quot; then behaves =
as if=20
nothing wrong has happened. I mean, when I<BR>&gt;type one more make =
after this,=20
it doesn't do anything:<BR>&gt;<BR>&gt;&gt;&gt;=20
toros:/antep3g/network/tclcl-1.0b4&gt;make<BR>&gt;&gt;&gt;=20
toros:/antep3g/network/tclcl-1.0b4&gt;<BR><BR>Right. It has nothing to =
do. All=20
source files were compiled, and libtclcl.a,<BR>and libTcl.a<BR>exist up =
to=20
date.<BR>&gt;<BR>&gt;Shouldn't it write that &quot;make is up to =
date&quot;? Or=20
should I ignore and go on<BR>&gt;with &quot;ns-2.1b1&quot;?<BR><BR>It =
prints=20
&quot;ns is up to date&quot; not &quot;make is up to =
date&quot;.<BR>Since=20
libtclcl.a is not executable but a library ( I may be wrong here) =
make<BR>will=20
not print that message. May be it has something to do with targents =
in<BR>make=20
or so.<BR>But the one thing is thre is not anything wrong in =
here.<BR><BR>Good=20
luck with ns2.1b1.<BR><BR>&gt;<BR>&gt;Thank you for your future help. I =
am=20
looking forward to a reply.<BR>&gt;Sincerely,<BR>&gt;<BR>&gt;Deniz=20
GURKAN<BR>&gt;Research =
Assistant<BR><BR><BR>Ihor.&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0020_01BCFB2C.6DFD9780--