Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  Index 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: Re: Building TCL/Tk interface to CA
From: kasemir@luke.atdiv.lanl.gov ( Kay-Uwe Kasemir )
To: tech-talk@aps.anl.gov
Date: Tue, 7 May 96 08:38:01 MDT
Dear Reader:

Andy Foster wrote:

>I would like to use the TCL/Tk interface to Channel Access.
>In my 'extensions' tree, I have the following directories:
>
>tcl 
>tcl_et 
>tcl_it
>tcl_select
>
>As I understand it, I need to run something called aps_wish
>(which is under tcl).
>I have been trying to build this but ran into problems because not
>all of the TCL/Tk libraries appear to be available.
>In particular, I do not have:
>DPLIB = $(TK_TCL)/tcl-dp       or
>BLTLIB = $(TK_TCL)/tcl-blt/src or 
>the library associated with -ldpnetwork.
>
>If anyone can explain the differences between each of the tcl 'extensions' 
>above and can tell me which libraries I need to build them, I would be very
>grateful.
>

I managed to build "et_wish" from the extensions/tcl_et sources.
In addition, I needed tcl7.3, tk3.6, tcl-dp3.2 and blt1.3.
If you use the default config. for the tcl sources, it will be installed
in /usr/local/include and /usr/local/lib/tcl, /usr/local/lib/tk ...,
so you have to change the $(TK_TCL)-related defines in Makefile.Unix
a little bit. The dpnetwork-lib. is part of tcl_et.

There is also a new tcl-ca-extension called tclCa (C.Saunders),
and you may try to build it with the never tcl versions
(e.g. tcl7.4, tk4.0, tcl-dp3.4, btl1.9),
but when I tried it I found an error in dp_filehandler
(in all versions tcl-dp>3.2) when used on non-sockets (e.g. named pipes)
which made the new tcl versions useless for my specific task. 
I managed to fix this so that it works in principle but I still get error
messages. I reported this to the tcl-dp-error-mailinglist without
answer so far.

Unfortunately the different parts of tcl (tcl,tk,dp,blt,...) are kept in
different places on the net and only distinct versions will build together.
I think it would be a good idea if a site that hold the EPICS-tcl-extensions
also offered the tcl-bundle needed to build everything.
If this is already the case and I was just unable to understand it,
I apologize.

-Kay

---------------------------------------------------------------------
kasemir@atdiv.lanl.gov
Kay-Uwe Kasemir                 AOT-8, MS H820
                                Los Alamos National Laboratory
Tel. (505) 665 8891             Los Alamos, NM 87545


Navigate by Date:
Prev: Re: Building TCL/Tk interface to CA Marty Kraimer
Next: Re: Building TCL/Tk interface to CA Dr. Pete Jemian
Index: 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: Re: Building TCL/Tk interface to CA Marty Kraimer
Next: Re: Building TCL/Tk interface to CA Dr. Pete Jemian
Index: 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·