| 查看: 4188 | 回复: 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的详细安装步骤可以让我参考一下呢? |
» 猜你喜欢
欢迎发来filecode的Mz6后的代码验证其规律
已经有123人回复
今天基金会出结果吗?20260819
已经有13人回复
时间戳变了,能看出什么问题?
已经有16人回复
filecode,4个jtjc了
已经有13人回复
为什么余额宝的年化利率越来越低?主要原因有哪些?
已经有5人回复
今天放榜没戏了吧
已经有5人回复
今天放榜吗?
已经有15人回复
filecode=后面第一个是大写字母
已经有12人回复
2027广东省杰青
已经有10人回复
朋友圈看到的
已经有8人回复










回复此楼