[xcrysden] cannot start XCRYSDEN

Tone Kokalj tone.kokalj at ijs.si
Mon Mar 5 09:10:20 CET 2012


On Sat, 2012-03-03 at 13:09 -0300, Elie Albert Moujaes wrote:
> Dear Tone,
> 
> in fact I have Cygwin so I downloaded the tarred source xc-1.5.18-cygwin-
> shared.tar.gz and I have untarred, entered the XCrSDen-1.5.18-bin-shared and 
> did ./xcConfigure  and the following were assigned:
> 
> XCRYSDEN_TOPDIR=/XCrSDen-1.5.18-bin-shared
> XCRYSDEN_SCRATCH=/home/User/xcrys_tmp
> 
> then I executed ./xcrysden and I got the error:
> 
> ./xcrysden: line 160: /XCrySDen-1.5.24-scr/scripts/xcLib.sh :no such file or 
> directory


Why do you insist using xcConfigure (in 1.5.* its use is deprecated)?
You can notice that there is a mismatch in the definition of
XCRYSDEN_TOPDIR, because the actual definition points
to /XCrySDen-1.5.24-scr and not to /XCrSDen-1.5.18-bin-shared. The
problem is that if XCRYSDEN_TOPDIR is already defined, one needs to
update its definition manually, xcConfigure wan't do it in this case!

> 
> I have typed unset XCRYSDEN_TOPDIR
> and then ./xcrysden again and I got:
> 
> XCRYSDEN_TOPDIR=/XCrySDen-1.5.18-bin-shared
> XCRYSDEN_SCRATCH=/home/User/xcrys_tmp
> 
> Application initialization failed: no display name and no $DISPLAY envir
> ariable

OK, it works now (in principle)! The problem you are facing is that you
tried to run xcrysden without running X-window. First, launch the
X-window system in your cygwin and then from, say, xterm launch the
xcrysden (but makes sure the XCRYSDEN_TOPDIR is either undefined or
correctly defined)!

Regards, Tone
-- 
Anton Kokalj
J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia 
(tel: +386-1-477-3523 // fax:+386-1-477-3822)

Please, if possible, avoid sending me Word or PowerPoint attachments.
See:  http://www.gnu.org/philosophy/no-word-attachments.html




More information about the XCrySDen mailing list