From: Axel Kohlmeyer (akohlmey_at_gmail.com)
Date: Mon Mar 18 2013 - 11:00:26 CDT

On Mon, Mar 18, 2013 at 3:16 PM, 李文凡 <limurphy1985_at_gmail.com> wrote:

> Dear John,
> I tried to install vmd, but failed.
> The following are my steps and error messages,
> please help me for installation.
> I am sure that I am using a 64-bit machine as I have the result from
> uname -m as x86_64.
> And I found that the LINUXAMD64 directory is just empty...
>

yes, it is because you didn't compile VMD. please have a closer look at the
instructions for how to compile VMD. it is quite a bit different from other
packages and it doesn't using the GNU autotools.

axel.

>
> Thank you very much!
>
> Sincerely,
> Murphy
>
> 1. tar -zxf vmd-1.9.1.src.tar.gz
> 2. cd vmd-1.9.1/
> 3. mv ../plugins/ . (Somehow the plugins directory is not in the vmd
> directory, I just moved it in
> , and this solved the problem of "VMD plugin directory not found")
> 4. ./configure LINUXAMD64
> 5. cd src
> 6. 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"
> cp: cannot stat `../LINUXAMD64/vmd_LINUXAMD64': No such file or directory
> make: [install] Error 1 (ignored)
> 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"
> cp: cannot stat `../lib/stride/stride_LINUXAMD64': No such file or
> directory
> cp: cannot stat `../lib/surf/surf_LINUXAMD64': No such file or directory
> cp: cannot stat `../lib/tachyon/tachyon_LINUXAMD64': No such file or
> directory
> make: [install] Error 1 (ignored)
> 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!
>

-- 
Dr. Axel Kohlmeyer  akohlmey_at_gmail.com  http://goo.gl/1wk0
International Centre for Theoretical Physics, Trieste. Italy.