[MacPorts] #69672: git 2.44.0: gitk doesn't run, "no display name and no $DISPLAY environment variable"
MacPorts
noreply at macports.org
Thu Apr 4 22:00:31 UTC 2024
#69672: git 2.44.0: gitk doesn't run, "no display name and no $DISPLAY environment
variable"
----------------------+--------------------
Reporter: gwerbin | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Resolution: | Keywords:
Port: git |
----------------------+--------------------
Old description:
> I get the following error when I run /opt/local/bin/gitk on MacOS 12.7
> (M1 ARM):
>
> {{{
> % /opt/local/bin/gitk
>
> 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"
> ("package ifneeded Tk 8.6.14" script)
> invoked from within
> "package require Tk"
> (file "/opt/local/bin/gitk" line 10)
> }}}
>
> Not sure if this is related to https://trac.macports.org/ticket/62988.
New description:
I get the following error when I run /opt/local/bin/gitk on MacOS 12.7 (M1
ARM):
{{{
% /opt/local/bin/gitk
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"
("package ifneeded Tk 8.6.14" script)
invoked from within
"package require Tk"
(file "/opt/local/bin/gitk" line 10)
}}}
Not sure if this is related to #62988.
--
Comment (by ryandesign):
> Not sure if this is related to #62988.
Doesn't look like the same error message.
What X server do you have installed? What does `echo $DISPLAY` say?
I'm assuming that you ''have'' an X server installed. If you don't,
install ours by running `sudo port install xorg-server` and following the
instructions it prints.
--
Ticket URL: <https://trac.macports.org/ticket/69672#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list