Opened 3 years ago

Last modified 3 years ago

#63579 assigned defect

xcircuit: no display name and no $DISPLAY environment variable

Reported by: PNR-1 (Preetham Reddy) Owned by: kurthindenburg (Kurt Hindenburg)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc:
Port: xcircuit

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I installed Xcircuit following the page https://ports.macports.org/port/xcircuit/. The installation ran successfully, But when I run xcircuit in terminal, I get the below error - Can you help me figure out what I am running wrong?

I tried installing tcl using MacPorts, but that says its already installed

Last login: Mon Oct  4 08:25:55 on ttys000
xyz@xyzs-MacBook-Pro ~ % xcircuit
application-specific 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 /opt/local/lib/libtk8.6.dylib Tk"
    ("package ifneeded Tk 8.6.11" script)
    invoked from within
"package require Tk $tcl_version"
    invoked from within
"if {$tcl_version < 8.0} {
    return -code error "tkcon requires at least Tcl/Tk8"
} else {
    package require Tk $tcl_version
}"
    (file "/opt/local/lib/xcircuit-3.9/tkcon.tcl" line 44)
xyz@xyzs-MacBook-Pro ~ % 

I run this on an M1 MacBook Pro.

Change History (1)

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: error removed
Owner: set to kurthindenburg
Port: xcircuit added; Xcircuit removed
Status: newassigned
Summary: Xcircuit does not openxcircuit: no display name and no $DISPLAY environment variable

Have you followed the instructions that are printed when you run the command port notes xinit? If not, please do.

Note: See TracTickets for help on using tickets.