[Magic-dev] tcl/tk problem on mac os x.4

Ryan Matlock matlockr at ucla.edu
Fri Nov 17 10:57:55 EST 2006


Hello,

I contacted Dr. Timothy Edwards in regards to what seems to be a
tcl/tk problem with xcircuit, and he advised that I send my problem
here, as the startup is the same as magic.  Anyway, I'm trying to run
the xcircuit using the fink build, and it installs without any
problems.  I've also made sure tcl/tk is current by reinstalling it,
and it says i have 8.4.1-12.  The problem arises when I attempt to
start xcircuit, and I get the following message:

Application initialization failed: no display name and no $DISPLAY
environment variable
Error in startup script: no display name and no $DISPLAY environment variable
    while executing
"load /sw/lib/tk8.4/../libtk8.4.dylib Tk"
    ("package ifneeded" script)
    invoked from within
"package require -exact Tk $tcl_version"
    invoked from within
"if {$tcl_version < 8.0} {
    return -code error "tkcon requires at least Tcl/Tk8"
} else {
    package require -exact Tk $tcl_version
}"
    (file "/sw/lib/xcircuit- 3.4/tkcon.tcl" line 44)

I've checked the tkcon.tcl file, but I really don't know how to go
about modifying it.  At one point I simply deleted the offending
lines, but that only led to problems on subsequent lines in the file.
Anyway, I'm not very familiar with any of this stuff, and I was mainly
just hoping I could have a decent GUI editor of electronic schematics.
 Your help would be greatly appreciated.

Sincerely,
Ryan Matlock



More information about the magic-dev mailing list