[xcrysden] Installing XCrySDen under YDL on IBM Core PS3

Tone Kokalj tone.kokalj at ijs.si
Wed Feb 6 09:34:58 CET 2008


On Tue, 2008-02-05 at 20:23 -0800, Paul M. Grant wrote:
> Tone, after downloading “latest,” I now get the following errors:
> 
> #------------------------------#
> 
> #                              #
> 
> #   Compiling XCRYSDEN C-code  #
> 
> #                              #
> 
> #------------------------------#
> 
> cd C; make "TOPDIR=/home/pmpgrant/XCrySDen-pre1.5bs-all" compile
> 
> make[1]: Entering directory `/home/pmpgrant/XCrySDen-pre1.5bs-all/C'
> 
> make  TOPDIR=/home/pmpgrant/XCrySDen-pre1.5bs-all
> 
> make[2]: Entering directory `/home/pmpgrant/XCrySDen-pre1.5bs-all/C'
> 
> gcc -DUSE_FONTS   -DUSE_FONTS    -I/usr/X11R6/include  -c detnsplit.c
> 
> gcc -DUSE_FONTS   -DUSE_FONTS    -I/usr/X11R6/include  -c xcAppInit.c
> 
> In file included from xcAppInit.c:23:
> 
> togl.h:48:19: error: tcl.h: No such file or directory
> 
> togl.h:49:18: error: tk.h: No such file or directory

Which means that tcl.h and tk.h were not found. First find where they
are and then adapt Make.sys accordingly.

For example, on my computer they are in /usr/include/tcl8.4/, hence
I would set in Make.sys:

TCL_INCDIR  = -I/usr/include/tcl8.4

Regards, Tone



More information about the XCrySDen mailing list