[xcrysden] error in installation

Tone Kokalj tone.kokalj at ijs.si
Mon Oct 13 19:37:42 CEST 2008


On Mon, 2008-10-13 at 09:37 +0530, sathya sheela wrote:
> Dear Sir,
>                As recommended I have untarred
> http://www.xcrysden.org/download/xc-latest-linuxPC-semishared.tar.gz
>                then I ran 
> 
>               ./xcConfigure 
>            . ~/.bashrc
>             xcrysden
> 
>     but I'm getting the following display
> 
>    ./home/sathya/XCrySDen-pre1.5bbin-static/xcrysden: line 163:  3360
> Floating point exception${XCRYSDEN_TOPDIR}/bin/xcrys
> ${XCRYSDEN_TOPDIR}/Tcl/xcInit.tcl $USE -- $XCRYSDEN_TOPDIR
> $XCRYSDEN_SCRATCH $ARGS > /dev/null

No idea why this happens. You may try to compile the source package:

http://www.xcrysden.org/download/xc-latest-source.tar.gz

Here are some guidelines how to do it. 

1. You will need a development verisons of Tcl, Tk, and OpenGL (i.e.
Mesa) libraries. For example, for debian based linux-distros, this can
be done with:

apt-get update; apt-get install tcl-dev tk-dev libgl1-mesa-dev libglu1-mesa-dev

(other distros use similar installers, e.g., "yum" in RedHat based distros)

2. Now you need a working C and fortran compiler, e.g. gcc and
gfortran. 

3. copy system/Make.linux to Make.sys and edit it accordingly (specify 
COMPILE_TCLTK = no and COMPILE_MESA  = no)

4. execute: make xcrysden

Regards, Tone
-- 
Tone Kokalj <tone.kokalj at ijs.si>
J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia (tel:
+386-1-477-3523 // fax:+386-1-477-3822)



More information about the XCrySDen mailing list