Re: TkEmc install help
- Subject: Re: TkEmc install help
- From: RJH-at-inel.gov
- Date: Wed, 14 Feb 2001 08:27:45 -0700
- Content-type: text/plain; charset=us-ascii
Thanks for responding Ray,
Monitoring the par port is one of the reasons I want to get tk working
right. I have run it IO-Show.tcl from my emc directory, and a few others.
The only thing I get is an "Aborted" at the prompt. I am running debian, I
tried installing the latest rpm using alien but it didn't work, so I
compiled from the source.
>You can run IO_Show.tcl without the EMC running but you need to run it
from
>the emc directory. Using the latest rpm install, I did this by typing
>
>cd /usr/local/nist/emc
>tcl/scripts/IO_Show.tcl
>
>It put up the parport window and changed leds <grin> when I switched in my
>printer.
To get emc to compile without errors I had to do the following.
cd /usr/lib make simlinks of libtcl.so, libtclx.so, libtk.so, libtk.so to
the versions on my drive.
example : libtclx.so --> libtclx8.0.4.so.1
cd /usr/local/nist/rcslib/etc/linux_2_2_13 and edited
# Flags for compiling and linking Tcl apps
TCL_INC =
# TCL_LINK = -ltcl -ltclx -ltcl -ldl
TCL_LINK = -ltcl -ltclx8.0.4 -ldl
TK_LINK = -ltk
Change to read :
# Flags for compiling and linking Tcl apps
TCL_INC =
TCL_LINK = -ltcl -ltclx -ltcl -ldl
# TCL_LINK = -ltcl -ltclx8.0.4 -ldl
TK_LINK = -ltk
Then run /usr/local/nist/install
I have multiple versions of tcl and tk on my machine. I linked to the 8.0
versions of all the libs. Should I be setting the paths differently for the
compile? Any other hints on setting up for the compile?
Thanks
Ron
Date Index |
Thread Index |
Back to archive index |
Back to Mailing List Page
Problems or questions? Contact