No subject
Tue Jan 3 18:43:30 CET 2012
directory inside my cygwin directory, i.e. in /cygwin/home/Utente,
then, in ~/xcrysden-1.5.53-bin-cygwin/scripts, i run ./xcConfigure.sh.
Finally i source .bashrc.
Then, giving the command xcrysden, i get the following message:
/home/Utente/xcrysden-1.5.53-bin-cygwin/xcrysden:
line 230: /home/Utente/xcrysden-1.5.53-bin-cygwin/bin/xcrys: Bad address
Line 230 of file xcrysden is immediately after this line:
${XCRYSDEN_XCRYS_DIR}/xcrys \
In a previous line of the same file, XCRYSDEN_XCRYS_DIR was defined as:
if test ! -z $XCRYSDEN_LIB_BINDIR; then
XCRYSDEN_XCRYS_DIR=$XCRYSDEN_LIB_BINDIR
else
XCRYSDEN_XCRYS_DIR=$XCRYSDEN_TOPDIR/bin
fi
Now, in my case, $XCRYSDEN_TOPDIR/bin is
/home/Utente/xcrysden-1.5.53-bin-cygwin/bin/ (in fact this is also
the dir. mentioned in the error message).
In this directory i have an xcrys.exe file, and no xcrys file, so i
tried changing
${XCRYSDEN_XCRYS_DIR}/xcrys
to
${XCRYSDEN_XCRYS_DIR}/xcrys.exe,
at line 231 of xcrysden file, but this way the xcrysden command gives
the following error(s):
/home/Utente/xcrysden-1.5.53-bin-cygwin/xcrysden: line 2: $'\r':
command not found
/home/Utente/xcrysden-1.5.53-bin-cygwin/xcrysden: line 14: $'\r':
command not found
/home/Utente/xcrysden-1.5.53-bin-cygwin/xcrysden: line 16: $'\r':
command not found
/home/Utente/xcrysden-1.5.53-bin-cygwin/xcrysden: line 17: warning:
setlocale: L)_ALL: cannot change locale (C
': not a valid identifier.53-bin-cygwin/xcrysden: line 18: export: `LC_ALL
/home/Utente/xcrysden-1.5.53-bin-cygwin/xcrysden: line 19: $'\r':
command not found
/home/Utente/xcrysden-1.5.53-bin-cygwin/xcrysden: line 21: $'\r':
command not found
/home/Utente/xcrysden-1.5.53-bin-cygwin/xcrysden: line 22: $'\r':
command not found
/home/Utente/xcrysden-1.5.53-bin-cygwin/xcrysden: line 25: syntax
error near unexpected token `$'{\r''
'home/Utente/xcrysden-1.5.53-bin-cygwin/xcrysden: line 25: ` readlink() {
I'm new to cygwin (it's the first time i install and use it), so i'm
not sure if it's a problem with xcrysden installation or with cygwin
(however cygwin terminals seem to work without problems)
Does anyone have any hint on how to solve this?
many thanks in advance
best
Elena
Elena Molteni
Department of Physics
University of Milan
via Celoria, 16
I-20133, Milan, Italy
and European Theoretical Spectroscopy Facility (ETSF)
http://www.etsf.eu
More information about the XCrySDen
mailing list