[xcrysden] xcrysden mesa/tc/tk on MacOS

David Strubbe dstrubbe at civet.berkeley.edu
Fri Jan 11 19:46:02 CET 2013


Dear XCrySDen users,

I would like to report my experience getting XCrySDen 1.5.53 to work on
MacOS 10.8, regarding the mesa and tcl/tk libraries.

I found that the macports versions of mesa do not work (dies with an
X-Window error, as has been mentioned on this list before), but mesa built
with Fink does work successfully (and of course the fink port of xcrysden
is reported to be working). This may be a matter simply of version numbers
as opposed to the build, because macports has 8.0.4 (and earlier 7.11.2,
which I couldn't get to work either) whereas fink has mesa 7.0.2 (released
Nov 2007!). I built mesa 7.0.2 by hand and that worked too. Incidentally, I
checked that linking against libGLU and libGL from /usr/bin/X11R6 also
gives the same error as the macports mesa versions.

Using macports builds of Tcl and Tk, I also found that the 8.5.12 versions
work but the 8.5.13 and 8.6.0 ones do not for me.
tcl 8.5.13 failed at runtime with this error, which looks like a problem in
the macport installation:

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

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'
xcAppInit.c:798:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:798:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:805:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:805:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:811:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:811:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:821:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:821:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:838:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:838:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c: In function 'XC_DisplayMode2DCmd':
xcAppInit.c:942:11: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:948:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:948:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:960:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:960:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1016:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1016:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c: In function 'XC_RotateCb':
xcAppInit.c:1050:11: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1089:8: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1130:8: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1220:8: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c: In function 'XC_TranslateCb':
xcAppInit.c:1384:11: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1413:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1413:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c: In function 'XC_CloseStrCmd':
xcAppInit.c:1450:11: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1456:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1456:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1463:11: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c: In function 'XC_DisplayMode3DCmd':
xcAppInit.c:1557:11: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1563:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1563:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1578:11: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1594:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1594:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c: In function 'XC_DrawStyle3DCmd':
xcAppInit.c:1712:11: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1718:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1718:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1760:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1760:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c: In function 'XC_ShadeModel3DCmd':
xcAppInit.c:1787:11: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1793:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1793:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1813:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1813:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c: In function 'XC_PointSizeCmd':
xcAppInit.c:1837:11: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1843:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1843:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1849:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1849:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c: In function 'XC_ResetVarCmd':
xcAppInit.c:1882:11: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1888:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1888:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1894:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1894:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c: In function 'XC_NewValueCmd':
xcAppInit.c:1923:11: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1929:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1929:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1935:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1935:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1941:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1941:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1952:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1952:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1957:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1957:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1972:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1972:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1988:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1988:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1993:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:1993:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c: In function 'XC_GetDefaultCmd':
xcAppInit.c:2026:11: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2031:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2031:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2036:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2036:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c: In function 'XC_GetValueCmd':
xcAppInit.c:2109:11: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2114:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2114:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2119:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2119:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2167:2: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2167:2: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2176:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2176:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2188:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2188:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2203:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2203:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2219:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2219:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c: In function 'XC_UpdateStrCmd':
xcAppInit.c:2299:11: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2309:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2309:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2315:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2315:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2335:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2335:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c: In function 'XC_SwapBufferCmd':
xcAppInit.c:2386:11: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2392:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2392:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c: In function 'XC_DisplayCmd':
xcAppInit.c:2421:11: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2427:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2427:5: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c: In function 'XC_Dump2EpsCb':
xcAppInit.c:2450:11: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2456:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2456:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c: In function 'XC_RotationMatrixCmd':
xcAppInit.c:2503:2: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2503:2: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2509:6: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2509:6: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2524:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2524:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c: In function 'XC_TranslParamCmd':
xcAppInit.c:2553:2: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2553:2: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2559:6: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2559:6: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2571:7: error: 'Tcl_Interp' has no member named 'result'
xcAppInit.c:2571:7: error: 'Tcl_Interp' has no member named 'result'
make[2]: *** [xcAppInit.o] Error 1
make[1]: *** [compile] Error 2
make: *** [src-C] Error 2


David Strubbe
MIT
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.democritos.it/pipermail/xcrysden/attachments/20130111/8c6e6e28/attachment.htm 


More information about the XCrySDen mailing list