On 2/11/2012 12:02 AM, Arnon Moscona wrote:
I just updated cygwin (installing hg), which updated all the packages.
gitk now fails to start.
I basically get :
$Application initialization failed: no display name and no $DISPLAY
environment variable
cygwin warning:
MS-DOS style path detected: C:\Users\Admin\cygwin\bin\gitk
Preferred POSIX equivalent is: /usr/bin/gitk
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
Error in startup script: no display name and no $DISPLAY environment variable
while executing
"load /usr/lib/tk8.5/../../bin/libtk8.5.dll Tk"
("package ifneeded Tk 8.5.11" script)
invoked from within
"package require Tk"
(file "C:\Users\Admin\cygwin\bin\gitk" line 11)
[1]+ Exit 1 gitk --all
Note that I've seen the discussion at
http://cygwin.com/ml/cygwin/2011-08/msg00478.html, but I don't agree
with the conclusion. I never needed an X server before, and gitk
displayed fine up until now. So why should I need to run an X server
now?
Hi Arnon,
because Tk now need the X server.
Have you missed ?
http://cygwin.com/ml/cygwin-announce/2012-02/msg00011.html
See also
http://cygwin.com/ml/cygwin-apps/2011-10/msg00083.html
for further info
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple