EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: building et_wish on HP-UX
From: Bill Cruise <[email protected]>
To: [email protected]
Date: Fri, 07 Nov 2003 11:34:23 -1000
As part of my upgrade to 3.13.8, I want to upgrade my TCL/TK.  All
our GUI's are in TCL/TK on HP platforms.  I am using the following 
pieces and revisions:

caTCL_20020802
TCL/TK 8.4.4
BLT 2.4z

I built straight TCL & TK (tclsh and wish), and also bltwish, and
all of those are fine.

The problem with et_wish is that it can't find it's init.tcl file
when starting.  I have put lots of debugging printf's in the TCL
source, and it looks like TCL is getting the right path to the file,
but is mangling the path before it does the check for "file exists".
I haven't yet figured out the WHY part.  TCL much go through about
150 nested, intertwined, and convoluted function calls, many using
function calls through structure tables, just to see if a file
exists.  Very, very hard to trace! I may eventually get there...  

The mangling, or at least two forms of it, is to change "init.tcl" 
to "/init.tcl", and to grab the last part of a path, such as 
"$TCSIV/release/displays", and try to find a file like
"/displays/init.tcl".  None of these work very well.  ;-)

I have also built et_wish on both Linux and Solaris, and these work
just fine.  The Solaris has the same debug output, and it does not
mangle the paths, nor does the HP-UX version of wish.  Unfortunately,
right now I need to run on HP-UX, and not the other two platforms!

Has anyone built that version of caTCL on HP-UX?  Did you encounter
any problems like this, and if so, what was the fix?  My guess is 
that the problem is in either the caTCL Makefiles, or in my 
CONFIG_SITE.Host.hp700 files, or something related to that.  

All clues welcomed!

Aloha,

Bill

William L. Cruise                             [email protected]
Electronics System Supervisor                   FAX:    808 885-7288
Canada-France-Hawaii Telescope                  Voice:  808 885-3121
65-1238 Mamalahoa Highway         http://www.cfht.hawaii.edu/~cruise
Kamuela, HI   96743

Navigate by Date:
Prev: Re: configure/RELEASE contents Billy R. Adams
Next: Re: configure/RELEASE contents Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: configure/RELEASE contents Benjamin Franksen
Next: EPICS training Bob Dalesio
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
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 ·