| 查看: 4182 | 回复: 0 | ||
syd89522木虫 (小有名气)
|
[求助]
如何在linux系统下安装VMD?
|
|
我下的是1.9.2的vmd版本,Linux系统为:Red Hat Enterprise Linux Server release 6.3,官网下载vmd解压后,vi README,内容如下: For quick installation of the binary distribution for Unix do the following: 1) Uncompress and untar the distribution into a working directory. In this working directory, there are several subdirectories such as bin, src, doc, data, as well as this README and a configure script. Change to this working directory after the unpacking is complete. 2) Edit the file 'configure'; change the values for the $install_library_dir and $install_bin_dir to a directory in which vmd data files and executables should be installed, be sure that you installing into a clean target directory and not overwriting an existing version of VMD (which would otherwise give problems): $install_bin_dir is the location of the startup script 'vmd'. It should be located in the path of users interested in running VMD. $install_library_dir is the location of all other VMD files. This included the binary and helper scripts. It should not be in the path. 3) A Makefile must be generated based on these configuration variables by running "./configure". 4) After configuration is complete, cd to the src directory, and type "make install". This will install VMD in the two directories listed above. Note that running "make install" twice will print error messages because you are attempting to overwrite some read-only files. Similarly, if you have incorrectly specified the target installation directories or attempt to overwrite an existing VMD installation, you will get error messages. 5) When installed, type 'vmd' to start (make sure the $install_bin_dir directory is in your path). 而在按照提示,vi configure文件后,我将路径改为如下两个:1. $install_bin_dir="/home/shaox/VMD" 替换原内容:$install_bin_dir="/usr/local/bin";2. $install_library_dir="/home/shaox/VMDFILE"替换原内容:$install_library_dir="/usr/local/lib/$install_name" 其他configure文件内容如下: #!/usr/bin/env perl # (C) Copyright 1995-2011 The Board of Trustees of the University of Illinois # All Rights Reserved # # Usage: configure [ optionlist ] (See full option description down below) # Perl 5.x must be in your path, and /usr/bin/env must exist in order # for this to work correctly. ############################################################################## # User modifiable installation parameters, can be overridden by env variables ############################################################################## # Name of shell script used to start program; this is the name used by users $install_name = "vmd"; # Directory where VMD startup script is installed, should be in users' paths. $install_bin_dir="/home/shaox/VMD"; # Directory where VMD files and executables are installed $install_library_dir="/home/shaox/VMDFILE"; # optionally override hard-coded defaults above with environment variables if ($ENV{VMDINSTALLNAME}) { $install_name = $ENV{VMDINSTALLNAME} } if ($ENV{VMDINSTALLBINDIR}) { $install_bin_dir = $ENV{VMDINSTALLBINDIR} } if ($ENV{VMDINSTALLLIBRARYDIR}) { $install_library_dir = $ENV{VMDINSTALLLIBRARYDIR} } 然后,输入bash ./configure 命令就会出现如下错误: ./configure: line 13: =: command not found ./configure: line 16: =/home/shaox/VMD: No such file or directory ./configure: line 19: =/home/shaox/VMDFILE: No such file or directory ./configure: line 23: syntax error near unexpected token `{' ./configure: line 23: `if ($ENV{VMDINSTALLNAME}) {' 请问这是怎么回事呢? 有没有VMD的详细安装步骤可以让我参考一下呢? |
» 猜你喜欢
微信指数没变化,科研之友没阅读
已经有17人回复
申请2027年材料/化学类博士
已经有5人回复
系统今天又提示维护了,估计离放榜不远了
已经有14人回复
2026年国自然面上资助率
已经有6人回复
你们的时间戳变了吗
已经有4人回复
小木虫看见有人已经知道结果了
已经有17人回复
今年的WR进展到哪一步了?
已经有9人回复
产物和副产物价值比较
已经有5人回复
时间戳他又来了
已经有17人回复
这个自发加氧反应的机理是什么?
已经有7人回复












回复此楼