[xcrysden] Compile error

Jiaye Li jameslipd at gmail.com
Mon Nov 9 15:51:53 CET 2009


Dear all

I am new to xcrysden and pwscf. I tried to compile xcrysden-1.5.21-src-all
on the fc11(i586) system. The FC is ifort10 and gcc is icc10

but when I type 'make all', it reported the error:

make[2]: *** [linux] Error 1
mv: cannot move `/home/jy/Download/XCrySDen-1.
5.21-src-all/external/usr/local/lib/pkgconfig' to
`/home/jy/Download/XCrySDen-1.5.21-src-all/external/lib/pkgconfig':
Directory not empty
mv: cannot move
`/home/jy/Download/XCrySDen-1.5.21-src-all/external/usr/local/include/GL' to
`/home/jy/Download/XCrySDen-1.5.21-src-all/external/include/GL': Directory
not empty


and my Make.sys is:
#########################################################################
#
# System-dependent definitions for Linux.
#
# EDIT ACCORDING TO YOUR OWN NEEDS !!!
#
########################################################################

#------------------------------------------------------------------------
# if you have a GNU make it is better to set the MAKE variable to point
# to gnu make
#------------------------------------------------------------------------
MAKE = make

#------------------------------------------------------------------------
# compilers & flags
#------------------------------------------------------------------------
CFLAGS = -ansi -funroll-loops -fPIC -DUSE_FONTS
CC     = icc
#LDLIB  = -ldl
MATH   = -lm

FFLAGS = -O2
FC     = ifort

#-------------------------------------------
#debug options
#CFLAGS = -ansi -g -fPIC
#-------------------------------------------


#------------------------------------------------------------------------
# X-libraries & include files
#
# for STATIC compilation one should add: -lpthread
#------------------------------------------------------------------------
X_LIB     = -L/usr/X11R6/lib -lXmu -lX11 -lXext
X_INCDIR  = -I/usr/X11R6/include


###
### use EITHER THIS:
###

#-Possibility-1----------------------------------------------------------
#
# If you want to use your own libraries and include files,
# then set *_LIB and *_INCDIR variables below accordingly:
#
#------------------------------------------------------------------------

#COMPILE_TCLTK = no
#COMPILE_MESA  = no

#
# Libraries
#
#TK_LIB      = -ltk8.5
#TCL_LIB     = -ltcl8.5
#GLU_LIB     = -lGLU
#GL_LIB      = -lGL

#
# Include directories
#
#TCL_INCDIR  =
#TK_INCDIR   =
#GL_INCDIR   =

#------------------------------------------------------------------------

###
### or THAT:
###


#-Possibility-2-----------------------------------------------------------
#
# XCRYSDEN package may contain the tcl, tk & Mesa sources !!!
# If you would like to compile and use these then uncomment below lines and
# comment lines "Possibility-1" (see above).
#
#------------------------------------------------------------------------

 COMPILE_TCLTK = yes
 COMPILE_MESA  = yes
#
# #
# # Do we want a shared library version of Tcl/Tk/Mesa or static?
# # If we want shared then set the following flags to: --enable-shared
# # else set the following flag to: --disable-shared
# #
 TCLTK_OPTIONS      = --enable-shared
 MESA_TARGET        = linux
#
# #
# # Libraries (dynamic loading)
# #           for shared linking the libraries postfix should be .so
# #           for static linking the libraries postfix should be .a
# #
 TCL_LIB     = -L$(TOPDIR)/external/lib -ltcl$(TCL_VER2)
 TK_LIB      = -L$(TOPDIR)/external/lib -ltk$(TCL_VER2)
 GLU_LIB     = -L$(TOPDIR)/external/lib -lGLU
 GL_LIB      = -L$(TOPDIR)/external/lib -lGL
#
# #
# # Include directories
# #
 TCL_INCDIR  = -I$(TOPDIR)/external/src/tcl$(TCL_VER3)/generic
 TK_INCDIR   = -I$(TOPDIR)/external/src/tk$(TCL_VER3)/generic
 GL_INCDIR   = -I$(TOPDIR)/external/include

#------------------------------------------------------------------------


Could anybody help me to find out what's wrong with it? Thanks


-- 
Sincerely yours

Jiaye Li
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.democritos.it/pipermail/xcrysden/attachments/20091109/0a0cccce/attachment.htm 


More information about the XCrySDen mailing list