VMD安装问题!!!!求大牛帮忙,谢谢!!!!!!...
VMD安装在Ubuntu12.10 X64的系统上,安装过程如下(之前已经安装了csh)1先解压了文件
2$ ./configure LINUXAMD64
3$ cdsrc
4$ sudo make install
接着显示如下内容:
if [ ! -d "/usr/local/lib/vmd" ]; then \
mkdir -p "/usr/local/lib/vmd" ; \
fi ; \
if [ ! -d "/usr/local/bin" ]; then \
mkdir -p "/usr/local/bin" ; \
fi ; \
if [ ! -d "/usr/local/lib/vmd"/doc ]; then \
mkdir -p "/usr/local/lib/vmd"/doc; \
fi
cp ../Announcement"/usr/local/lib/vmd"
cp ../README "/usr/local/lib/vmd"
cp ../LICENSE "/usr/local/lib/vmd"
cp ../doc/ug.pdf "/usr/local/lib/vmd"/doc
if [ -f /usr/local/lib/vmd/vmd_LINUXAMD64 ]; then \
mv -f "/usr/local/lib/vmd/vmd_LINUXAMD64" "/usr/local/lib/vmd/OLD_vmd_LINUXAMD64" ; rm -f "/usr/local/lib/vmd/OLD_vmd_LINUXAMD64" ; fi
cp ../LINUXAMD64/vmd_LINUXAMD64 "/usr/local/lib/vmd"
if [ -d "../lib/redistrib/lib_LINUXAMD64" ]; then \
cd ../lib/redistrib/lib_LINUXAMD64; tar -cf - ./* | \
(cd "/usr/local/lib/vmd" ; tar -xf -) \
fi ;
cp ../lib/stride/stride_LINUXAMD64 ../lib/surf/surf_LINUXAMD64 ../lib/tachyon/tachyon_LINUXAMD64 "/usr/local/lib/vmd"
cd ..; tar -cf - scripts | \
(cd "/usr/local/lib/vmd" ; tar -xf -)
cd ../lib; tar -cf - scripts | \
(cd "/usr/local/lib/vmd" ; tar -xf -)
cd ..; tar -cf - python | \
(cd "/usr/local/lib/vmd"/scripts ; tar -xf -)
cd ..; tar -cf - plugins | \
(cd "/usr/local/lib/vmd" ; tar -xf -)
cd ..; tar -cf - shaders | \
(cd "/usr/local/lib/vmd" ; tar -xf -)
cp ../data/.vmdrc ../data/.vmdsensors ../data/vmd_completion.dat "/usr/local/lib/vmd"
cd ../bin ; \
if [ -f run_vmd_tmp ]; then rm -f run_vmd_tmp; fi ; \
if [ ! -x "/bin/csh" ]; then \
echo "Info: /bin/csh shell not found, installing Bourne shell startup script instead" ; \
echo '#!/bin/sh' >> run_vmd_tmp ; \
echo 'defaultvmddir="/usr/local/lib/vmd"' >> run_vmd_tmp ; \
echo 'vmdbasename=vmd' >> run_vmd_tmp ; \
cat vmd.sh >> run_vmd_tmp ; \
else \
echo '#!/bin/csh' >> run_vmd_tmp ; \
echo 'set defaultvmddir="/usr/local/lib/vmd"' >> run_vmd_tmp ; \
echo 'set vmdbasename=vmd' >> run_vmd_tmp ; \
cat vmd.csh >> run_vmd_tmp ; \
fi ; \
chmod +x run_vmd_tmp ; \
cp run_vmd_tmp "/usr/local/bin"/vmd ; \
rm -f run_vmd_tmp
echo Make sure "/usr/local/bin"/vmd is in your path.
Make sure /usr/local/bin/vmd is in your path.
echo "VMD installation complete.Enjoy!"
VMD installation complete.Enjoy!
然后在终端输入
$ vmd
显示rlwrap:No match,然后按照网上的说法,使用命令
$ sudo vi /usr/local/bin/vmd 对其进行了修改。
将# set vmdprefixcmd="rlwrap -C vmd -c -b(){}[],&^%#;|\\ -f ${MASTERVMDDIR}/vmd_completion.dat "
改为:set vmdprefixcmd="rlwrap -C vmd -c -f
将# set vmdprefixcmd="rlwrap -C vmd -c -b(){}[],&^%#;|\\ "
改为set vmdprefixcmd="rlwrap -C vmd -c "
再次输入vmd时显示 unmatched “.
求高手帮忙!!!!!!!!!!!!!!!!!
求高手指点啊
!!!!!!!!!!!!!!谢谢!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!:loveliness::loveliness::loveliness::loveliness::loveliness::loveliness: 不懂啊
Charleshen 发表于 2014-3-16 16:32 static/image/common/back.gif
不懂啊
什么意思,我也不太懂这些命令啥意思,就是按网上的做法按的,还是说我说的不够仔细啊 第二步不对,你可以这样:先 ./configure ,会出现一些类似:LINUXAMD64....SILENT ICC之类的提示信息,然后再 ./configure LINUXAMD64....SILENT ICC ,重复后面操作即可。 maoyongzy 发表于 2014-3-17 18:48 static/image/common/back.gif
第二步不对,你可以这样:先 ./configure ,会出现一些类似:LINUXAMD64....SILENT ICC之类的提示信息,然 ...
这样尝试过了,也是不行啊,错误好像是一样的,请问还有没有可能是其他地方的问题 换个版本试试吧。我装的时候,因为机器是64位的,就下了一个64位版本的,结果总出问题;后来换了个32位的版本,就通过了。。。。内中原因,搞不懂;但能用就行吧。 shjwu 发表于 2014-3-22 18:13 static/image/common/back.gif
换个版本试试吧。我装的时候,因为机器是64位的,就下了一个64位版本的,结果总出问题;后来换了个32位的版 ...
谢谢,也试过了,还是不行,有没有可能是系统的事情啊 :(那就不懂了。抱歉
页:
[1]