[Pw_forum] Installation error on Xcrysden-1.5.21-src-all

Jiaye Li jameslipd at gmail.com
Wed Nov 11 04:30:51 CET 2009


Dear all

I tried to install the Xcrysden-1.5.21-src-all source code on my fc11 PC. I
have already installed ifort10 and icc10. libXmu-devel-1.0.4-2.fc11.i586.rpm
is also installed correctly. When I type 'make all' in the root directory of
Xcrysden source, tcl and tk went on smoothly, but C code compiling reported
the error. Please see the follows:


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

cd C; make "TOPDIR=/home/jy/Download/XCrySDen-1.5.21-src-all" compile
make[1]: Entering directory `/home/jy/Download/XCrySDen-1.5.21-src-all/C'
make  TOPDIR=/home/jy/Download/XCrySDen-1.5.21-src-all
make[2]: Entering directory `/home/jy/Download/XCrySDen-1.5.21-src-all/C'
gcc  -static -ansi -funroll-loops -DUSE_FONTS  detnsplit.o xcAppInit.o
xcballstick.o xcviewport.o xcLabels.o vectors.o xcDisplayFunc2.o xcAtomAdd.o
loadValues.o hpsort.o auxilproc.o xcdebug.o 3D.o xcDisplayFunc.o readstrf.o
mxmymz.o remakestr.o xcSelect.o readisodata.o lighting.o xcGLparam.o
colorplane.o isorender.o polygonise.o polygonise_auxil.o xcIsoSurf.o
voronoi.o xcBz.o xcSuperCell.o xcPrimitives.o setOpenGLState.o memory.o
isoMalloc.o isoInterpolate.o readPlvertex.o splineInt.o paraSize.o isoline.o
xcIsoSpaceSel.o cells.o xcWigner.o xcTogl.o datagrid.o sInfo.o
xcIsoDataGrid.o xcColorScheme.o xcReadXSF.o xcF3toI4.o xcFractCoor.o
signal.o MarchCubes.o isosurf.o xcMolSurf.o cryNewContext.o fs.o
cryDispFunc.o cryDispFuncMultiFS.o crySetProj.o crySurfArgs.o crySurf.o
cryTransform.o cryClip.o cryTogl.o forces.o xcForces.o gl2psPrintTogl.o
ppmPrintTogl.o lcasi.o lcasif.o xcFont.o fog.o writeXSF.o hbonds.o
xcHBonds.o linear.o realTimeMovie.o getline.o togl.o gl2ps.o sgiRasterFont.o
sgiAux.o \
    -o xcrys
/home/jy/Download/XCrySDen-1.5.21-src-all/external/lib/libtk8.5.a
/home/jy/Download/XCrySDen-1.5.21-src-all/external/lib/libtcl8.5.a
/home/jy/Download/XCrySDen-1.5.21-src-all/external/lib/libGLU.a
/home/jy/Download/XCrySDen-1.5.21-src-all/external/lib/libGL.a
-L/usr/lib/X11/xdm/ -lXmu -lX11 -lXext -lpthread -lm -ldl
/usr/bin/ld: cannot find -lXmu
collect2: ld returned 1 exit status
make[2]: *** [xcrys] Error 1
make[2]: Leaving directory `/home/jy/Download/XCrySDen-1.5.21-src-all/C'
make[1]: *** [compile] Error 2
make[1]: Leaving directory `/home/jy/Download/XCrySDen-1.5.21-src-all/C'
make: *** [src-C] Error 2


Considering that the the X11 lib may not be found so I made some changes to
the Make.sys, where I replaced the line "X_LIB     = -L/usr/lib/X11/xdm
-lXmu -lX11 -lXext -lpthread" with "X_LIB     =
/usr/lib/X11/xdm/libXdmGreet.so -lXmu -lX11 -lXext -lpthread". Because I
installed X11 already.

Then type "make all", again. But error occurs again:

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

cd C; make "TOPDIR=/home/jy/Download/XCrySDen-1.5.21-src-all" compile
make[1]: Entering directory `/home/jy/Download/XCrySDen-1.5.21-src-all/C'
make  TOPDIR=/home/jy/Download/XCrySDen-1.5.21-src-all
make[2]: Entering directory `/home/jy/Download/XCrySDen-1.5.21-src-all/C'
gcc  -static -ansi -funroll-loops -DUSE_FONTS  detnsplit.o xcAppInit.o
xcballstick.o xcviewport.o xcLabels.o vectors.o xcDisplayFunc2.o xcAtomAdd.o
loadValues.o hpsort.o auxilproc.o xcdebug.o 3D.o xcDisplayFunc.o readstrf.o
mxmymz.o remakestr.o xcSelect.o readisodata.o lighting.o xcGLparam.o
colorplane.o isorender.o polygonise.o polygonise_auxil.o xcIsoSurf.o
voronoi.o xcBz.o xcSuperCell.o xcPrimitives.o setOpenGLState.o memory.o
isoMalloc.o isoInterpolate.o readPlvertex.o splineInt.o paraSize.o isoline.o
xcIsoSpaceSel.o cells.o xcWigner.o xcTogl.o datagrid.o sInfo.o
xcIsoDataGrid.o xcColorScheme.o xcReadXSF.o xcF3toI4.o xcFractCoor.o
signal.o MarchCubes.o isosurf.o xcMolSurf.o cryNewContext.o fs.o
cryDispFunc.o cryDispFuncMultiFS.o crySetProj.o crySurfArgs.o crySurf.o
cryTransform.o cryClip.o cryTogl.o forces.o xcForces.o gl2psPrintTogl.o
ppmPrintTogl.o lcasi.o lcasif.o xcFont.o fog.o writeXSF.o hbonds.o
xcHBonds.o linear.o realTimeMovie.o getline.o togl.o gl2ps.o sgiRasterFont.o
sgiAux.o \
    -o xcrys
/home/jy/Download/XCrySDen-1.5.21-src-all/external/lib/libtk8.5.a
/home/jy/Download/XCrySDen-1.5.21-src-all/external/lib/libtcl8.5.a
/home/jy/Download/XCrySDen-1.5.21-src-all/external/lib/libGLU.a
/home/jy/Download/XCrySDen-1.5.21-src-all/external/lib/libGL.a
/usr/lib/X11/xdm/libXdmGreet.so -lXmu -lX11 -lXext -lpthread -lm -ldl
/usr/bin/ld: attempted static link of dynamic object
`/usr/lib/X11/xdm/libXdmGreet.so'
collect2: ld returned 1 exit status
make[2]: *** [xcrys] Error 1
make[2]: Leaving directory `/home/jy/Download/XCrySDen-1.5.21-src-all/C'
make[1]: *** [compile] Error 2
make[1]: Leaving directory `/home/jy/Download/XCrySDen-1.5.21-src-all/C'
make: *** [src-C] Error 2


At this time, it seems hard for me to find out the specific error for the
compiling. What's wrong with  the X11 lib or some other libs? Thank you in
advance.

BTW, the Make.sys file is attached.

-- 
Sincerely yours

Jiaye Li
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20091111/bafd4a55/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 3416 bytes
Desc: not available
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20091111/bafd4a55/attachment.obj>


More information about the users mailing list