[xcrysden] xcrysden mesa/tc/tk on MacOS
Tone Kokalj
tone.kokalj at ijs.si
Tue Jan 15 17:42:54 CET 2013
On Fri, 2013-01-11 at 13:46 -0500, David Strubbe wrote:
> Application initialization failed: Can't find a usable init.tcl in the
> following directories:
>
> /opt/local/lib/tcl8.5 /Users/dstrubbe/Software/xcrysden-1.5.53_macportslibs/lib/tcl8.5 /Users/dstrubbe/Software/lib/tcl8.5 /Users/dstrubbe/Software/xcrysden-1.5.53_macportslibs/library /Users/dstrubbe/Software/library /Users/dstrubbe/Software/tcl8.5.12/library /Users/dstrubbe/tcl8.5.12/library
>
> /opt/local/lib/tcl8.5/init.tcl: version conflict for package "Tcl":
> have 8.5.12, need exactly 8.5.13
> version conflict for package "Tcl": have 8.5.12, need exactly 8.5.13
This is due to, say, incomplete or inconsistent installation of Tcl
8.5.13. As the message suggests, it cannot locate the matching init.tcl
file. Set the TCL_LIBRARY shell environmental variable to point to the
directory that contain the Tcl's system library of Tcl scripts. The one
of /opt/local/lib/tcl8.5/ obviously corresponds to version 8.5.12.
>
> With 8.6.0, the compilation fails with these errors:
>
> xcAppInit.c: In function 'XC_OpenStrCmd':
> xcAppInit.c:786:11: error: 'Tcl_Interp' has no member named 'result'
There are some backward incompatibilities with the new Tcl8.6. Browsing
Tcl documentation, one finds the workaround by defining the
USE_INTERP_RESULT macro (e.g. defining the -DUSE_INTERP_RESULT for
Make.sys's CFLAGS).
Best regards,
--
Anton Kokalj
J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia
(tel: +386-1-477-3523 // fax:+386-1-477-3822)
Please, if possible, avoid sending me Word or PowerPoint attachments.
See: http://www.gnu.org/philosophy/no-word-attachments.html
More information about the XCrySDen
mailing list