about elegantRingAnalysis install
Posted: 14 Jul 2008, 20:46
I use fedora 8 and follow the linux install guide. I install the elegant-19.0-1.i386.rpm and SDDSToolKit-2.4-1.f8.i386.rpm and defns.rpn. After installation, The script version elegant is used correctly. But elegantRingAnalysis cannot be run .at first it tell me oagwish is not found. so I use "ln -s wish oagwish" to fix it. then error as follow:
"Error in startup script: can't read "env(HOST_ARCH)": no such variable
while executing
"linsert $auto_path 0 /usr/local/oag/apps/lib/$env(HOST_ARCH)"
invoked from within
"set auto_path [linsert $auto_path 0 /usr/local/oag/apps/lib/$env(HOST_ARCH)]"
(file "/usr/bin/elegantRingAnalysis" line 82)"
so I in the .bashrc file define as follow:
"export HOST_ARCH=linux-x86
export EPICS_HOST_ARCH=linux-x86
export RPN_DEFNS=~/.defns.rpn"
now the error as follow:
"Error in startup script: invalid command name "APSDebugPath"
while executing
"APSDebugPath"
(file "/usr/bin/elegantRingAnalysis" line 84)"
How to resolve it? Thanks a lot!
"Error in startup script: can't read "env(HOST_ARCH)": no such variable
while executing
"linsert $auto_path 0 /usr/local/oag/apps/lib/$env(HOST_ARCH)"
invoked from within
"set auto_path [linsert $auto_path 0 /usr/local/oag/apps/lib/$env(HOST_ARCH)]"
(file "/usr/bin/elegantRingAnalysis" line 82)"
so I in the .bashrc file define as follow:
"export HOST_ARCH=linux-x86
export EPICS_HOST_ARCH=linux-x86
export RPN_DEFNS=~/.defns.rpn"
now the error as follow:
"Error in startup script: invalid command name "APSDebugPath"
while executing
"APSDebugPath"
(file "/usr/bin/elegantRingAnalysis" line 84)"
How to resolve it? Thanks a lot!