[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Installing ns-allinone
> test -e libTcl.a && rm -f libTcl.a || true
> sh: test: argument expected
> *** Error code 1 (ignored)
> ln -s libtclcl.a libTcl.a
> ln: cannot create libTcl.a: File exists
> *** Error code 2
> make: Fatal error: Command failed for target `libtclcl.a'
> TclCL make failed! Exiting ...
This line in TclCL/Makefile
-test -e libTcl.a && rm -f libTcl.a || true
fails to remove libTcl.a under the Bourne shell. This one works
-test -f libTcl.a && rm -f libTcl.a || true
but if you just edit the Makefile and rerun install, configure
will probably rebuild the Makefile with the same problem in it.
Instead, try editing ./install and insert
rm -f libTcl.a
just before
make || die "TclCL make failed! Exiting ..."
Not pretty, but it should let you keep going.
--Ramon