[xcrysden] Installing XCrysden on SUSE 11.2 (64)

Masoud Nahali masoudnahali at live.com
Wed Feb 24 10:19:04 CET 2010


Dear XCrysden Users

 

I tried to install XCrysden(XCrySDen-1.5.21) on my PC. The installed compilers are Gfortran, gcc, g++; and also I have the default TCL of SUSE 11.2. but I took the below lines included errors when I typed make all :

 

 

cd C; make "TOPDIR=/root/LinSoft/QSPRESSO4.1.2/XCrySDen-1.5.21-src-all" compile
make[1]: Entering directory `/root/LinSoft/QSPRESSO4.1.2/XCrySDen-1.5.21-src-all/C'
make  TOPDIR=/root/LinSoft/QSPRESSO4.1.2/XCrySDen-1.5.21-src-all
make[2]: Entering directory `/root/LinSoft/QSPRESSO4.1.2/XCrySDen-1.5.21-src-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
xcAppInit.c: In function ‘Xcrys_Init’:
xcAppInit.c:508: warning: initialization from incompatible pointer type
xcAppInit.c:509: warning: initialization from incompatible pointer type
xcAppInit.c:510: warning: initialization from incompatible pointer type
xcAppInit.c:511: warning: initialization from incompatible pointer type
xcAppInit.c:512: warning: initialization from incompatible pointer type
xcAppInit.c:513: warning: initialization from incompatible pointer type
xcAppInit.c:514: warning: initialization from incompatible pointer type
xcAppInit.c:515: warning: initialization from incompatible pointer type
xcAppInit.c:534: warning: assignment from incompatible pointer type
xcAppInit.c:746: warning: passing argument 2 of ‘Togl_CreateCommand’ from incompatible pointer type
togl.h:136: note: expected ‘int (*)(struct Togl *, int,  const char **)’ but argument is of type ‘int (*)(struct Togl *, int,  char **)’
xcAppInit.c:748: warning: passing argument 2 of ‘Togl_CreateCommand’ from incompatible pointer type
togl.h:136: note: expected ‘int (*)(struct Togl *, int,  const char **)’ but argument is of type ‘int (*)(struct Togl *, int,  char **)’
xcAppInit.c:750: warning: passing argument 2 of ‘Togl_CreateCommand’ from incompatible pointer type
togl.h:136: note: expected ‘int (*)(struct Togl *, int,  const char **)’ but argument is of type ‘int (*)(struct Togl *, int,  char **)’
xcAppInit.c:752: warning: passing argument 2 of ‘Togl_CreateCommand’ from incompatible pointer type
togl.h:136: note: expected ‘int (*)(struct Togl *, int,  const char **)’ but argument is of type ‘int (*)(struct Togl *, int,  char **)’
xcAppInit.c:754: warning: passing argument 2 of ‘Togl_CreateCommand’ from incompatible pointer type
togl.h:136: note: expected ‘int (*)(struct Togl *, int,  const char **)’ but argument is of type ‘int (*)(struct Togl *, int,  char **)’
xcAppInit.c:756: warning: passing argument 2 of ‘Togl_CreateCommand’ from incompatible pointer type
togl.h:136: note: expected ‘int (*)(struct Togl *, int,  const char **)’ but argument is of type ‘int (*)(struct Togl *, int,  char **)’
xcAppInit.c:758: warning: passing argument 2 of ‘Togl_CreateCommand’ from incompatible pointer type
togl.h:136: note: expected ‘int (*)(struct Togl *, int,  const char **)’ but argument is of type ‘int (*)(struct Togl *, int,  char **)’
gcc -DUSE_FONTS   -DUSE_FONTS    -I/usr/X11R6/include  -c xcballstick.c
gcc -DUSE_FONTS   -DUSE_FONTS    -I/usr/X11R6/include  -c xcviewport.c
gcc -DUSE_FONTS   -DUSE_FONTS    -I/usr/X11R6/include  -c xcLabels.c
gcc -DUSE_FONTS   -DUSE_FONTS    -I/usr/X11R6/include  -c vectors.c
gcc -DUSE_FONTS   -DUSE_FONTS    -I/usr/X11R6/include  -c xcDisplayFunc2.c
gcc -DUSE_FONTS   -DUSE_FONTS    -I/usr/X11R6/include  -c xcAtomAdd.c
gcc -DUSE_FONTS   -DUSE_FONTS    -I/usr/X11R6/include  -c loadValues.c
gcc -DUSE_FONTS   -DUSE_FONTS    -I/usr/X11R6/include  -c hpsort.c
gcc -DUSE_FONTS   -DUSE_FONTS    -I/usr/X11R6/include  -c auxilproc.c
gcc -DUSE_FONTS   -DUSE_FONTS    -I/usr/X11R6/include  -c xcdebug.c
gcc -DUSE_FONTS   -DUSE_FONTS    -I/usr/X11R6/include  -c 3D.c
gcc -DUSE_FONTS   -DUSE_FONTS    -I/usr/X11R6/include  -c xcDisplayFunc.c
gcc -DUSE_FONTS   -DUSE_FONTS    -I/usr/X11R6/include  -c readstrf.c
In file included from readstrf.c:33:
getline.h:4: error: conflicting types for ‘getline’
/usr/include/stdio.h:653: note: previous declaration of ‘getline’ was here
getline.h:5: error: conflicting types for ‘getdelim’
/usr/include/stdio.h:643: note: previous declaration of ‘getdelim’ was here
readstrf.c: In function ‘ReadCoor’:
readstrf.c:1103: warning: passing argument 2 of ‘getline’ from incompatible pointer type
getline.h:4: note: expected ‘size_t *’ but argument is of type ‘int *’
readstrf.c: In function ‘ReadAtoms’:
readstrf.c:1172: warning: passing argument 2 of ‘getline’ from incompatible pointer type
getline.h:4: note: expected ‘size_t *’ but argument is of type ‘int *’
make[2]: *** [readstrf.o] Error 1
make[2]: Leaving directory `/root/LinSoft/QSPRESSO4.1.2/XCrySDen-1.5.21-src-all/C'
make[1]: *** [compile] Error 2
make[1]: Leaving directory `/root/LinSoft/QSPRESSO4.1.2/XCrySDen-1.5.21-src-all/C'
make: *** [src-C] Error 2

 

 

 

then I decided to use the pre-compiled one(XCrySDen0.9.3) but I got another error:

 

line 114: /root/LinSoft/QSPRESSO4.1.2/XCrySDen-1.5.21-src-all/scripts/xcLib.sh: No such file or directory

 

I think that the program can not forget the memory of the XCrySDen-1.5.21 when I am installing the pre-compiled one.

 

XCrysden is necessary to view the output of Quantum Espresso and your help is a good gift to me.

 

Masoud Nahali

Sharif University of Technology

Physical Chemistry  

 
 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.democritos.it/pipermail/xcrysden/attachments/20100224/46944ed3/attachment-0001.htm 


More information about the XCrySDen mailing list