From: K S. <kis...@ya...> - 2018-03-04 22:30:59
|
HI, I have been building and running X11 Tk on my Mac with Mac OS 10.6 with Apple's X11. but since updating my OS to 10.12, and updating my X11 to XQuartz, and updating Xcode, I have not been able to build Tk that will run. The compilation produces a wish executable, but when I try to run this, (froma xterm), I get: bash-3.2$ ./wish application-specific initialization failed: couldn't connect to display "/private/tmp/com.apple.launchd.gvNP4b1seM/org.macosforge.xquartz:0" I have tried building Tcl/Tk 8.5.19 and 8.6.7, and both gives the same error. The old X11 wish that I built on Mac OS 10.6 still runs, does anyone know what is causing the above error? I have been building the X11 Tk in the unix directory in the source tree, configure with --with-x --enable-aqua=no --disable-framework options. I have posted about this problem on Apple's X11 mailing list, and it was suggested that I build the X11 Th in the macosx directory, with the X11_Tk=1 option. I tried this with Tk 8.6.7, and this builds Tk as a framework. After fixing a problem with the install_name of Tk dyld file, I got the same error: bash-3.2$ ./wish8.6-X11 application-specific initialization failed: couldn't connect to display "/private/tmp/com.apple.launchd.gvNP4b1seM/org.macosforge.xquartz:0" Thanks in advance for any help or information on what this problem and how I can work around it. --Kish Shen |