[xcrysden] 1.5.53 installation

Xiaohong Zheng xhzheng at foxmail.com
Thu Apr 26 08:27:30 CEST 2012


Dear Tone,

Thank you very much for your reply. I have tried both "COMPILE_ALL = no" 
and "COMPILE_TCLTK = no". I still failed. The following is what I got:

#------------------------------#
# #
# Compiling XCRYSDEN C-code #
# #
#------------------------------#

cd C; make "TOPDIR=/home/xhzheng/Downloads/xcrysden-1.5.53" compile
make[1]: Entering directory `/home/xhzheng/Downloads/xcrysden-1.5.53/C'
make TOPDIR=/home/xhzheng/Downloads/xcrysden-1.5.53
make[2]: Entering directory `/home/xhzheng/Downloads/xcrysden-1.5.53/C'
gcc -g -static -ansi -ffast-math -funroll-loops -DUSE_FONTS -pedantic 
-Wall -DUSE_FONTS 
-I/home/xhzheng/Downloads/xcrysden-1.5.53/external/src/tcl8.5.11/generic 
-I/home/xhzheng/Downloads/xcrysden-1.5.53/external/src/tk8.5.11/generic 
-I/home/xhzheng/Downloads/xcrysden-1.5.53/external/include -c detnsplit.c
In file included from detnsplit.c:22:
struct.h:47:19: error: GL/gl.h: No such file or directory
In file included from detnsplit.c:22:
struct.h:317: error: expected specifier-qualifier-list before ‘GLboolean’
struct.h:643: error: expected specifier-qualifier-list before ‘GLfloat’
struct.h:681: error: expected specifier-qualifier-list before ‘GLuint’
struct.h:712: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ 
before ‘DefAtCol’
struct.h:715: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ 
before ‘DefFrameCol’
struct.h:717: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ 
before ‘DefBg’
struct.h:718: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ 
before ‘bg’
struct.h:725: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ 
before ‘dimType’
struct.h:730: error: expected specifier-qualifier-list before ‘GLboolean’
struct.h:740: warning: struct has no members
struct.h:759: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ 
before ‘atomlabelOffset’
struct.h:760: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ 
before ‘xyzlabelOffset’
struct.h:901: error: expected specifier-qualifier-list before ‘GLenum’
struct.h:986: error: expected specifier-qualifier-list before ‘GLsizei’
struct.h:992: warning: struct has no members
struct.h:1077: error: expected specifier-qualifier-list before ‘GLdouble’
struct.h:1082: warning: struct has no members
struct.h:1093: error: expected specifier-qualifier-list before ‘GLfloat’
make[2]: *** [detnsplit.o] Error 1
make[2]: Leaving directory `/home/xhzheng/Downloads/xcrysden-1.5.53/C'
make[1]: *** [compile] Error 2
make[1]: Leaving directory `/home/xhzheng/Downloads/xcrysden-1.5.53/C'
make: *** [src-C] Error 2

So, could you tell me what to do next, please?

Xiaohong



On 2012年04月26日 13:47, Tone Kokalj wrote:
> On Thu, 2012-04-26 at 08:08 +0800, Xiaohong Zheng wrote:
>> Dear Martin,
>>
>> Thank you very much. I have tried the option "MATH = -lc -lm", but the
>> problem is the same. Any other ideas, please?
>  From your previous email, it is evident that you requested to compile
> tcl/tk (i.e. COMPILE_TCLTK = yes) and it is seems to be the source of
> problem. Try the system libraries instead, i.e., specify COMPILE_TCLTK =
> no in Make.sys or even COMPILE_ALL = no (which will prevent the
> compilation of tcl/tk, mesa&  fftw3).
>
> Regards, Tone



More information about the XCrySDen mailing list