From: Kris Feher (kris.feher_at_REMOVE_yahoo.com)
Date: Mon Jan 25 2016 - 11:41:09 CST

Dear Sir/Madam,
I tried to install vmd on an Ubuntu 14.04 Linux from the tar files
VMD 1.9.2 for Linux (64-bit x86_64) using OpenGL, CUDAor VMD 1.9.2 for Linux (64-bit x86_64) using TextModeusing the description on http://www.ks.uiuc.edu/Research/vmd/current/ig.pdf, but I could not start vmd. I did the following steps:
- I extracted the tar file into my home directory, I did not modify the .configure file (thus installation into /usr/local/bin), I executed the configure script as follows:./configure LINUXAMD64 MESA FLTK PYTHON- I changed to the source directory and executed 'make install', the output please see below. The script ran through.
- I tried to execute command 'vmd', but vmd does not start (also see below). I also do not find any executable or startup script at the specified (/usr/local/bin/vmd) location.
I have searched the vmd mailing list already, but did see any solution to this problem. I would very much appreciate any help.
Thank you in advance,Best regards,Kris

sirius2:~/bin/vmd-1.9.2/src> ls
config.h  Makedata.depend  Makefile
sirius2:~/bin/vmd-1.9.2/src> 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
mkdir: cannot create directory ‘/usr/local/lib/vmd’: Permission denied
mkdir: cannot create directory ‘/usr/local/lib/vmd’: Permission denied
make: *** [install] Error 1
sirius2:~/bin/vmd-1.9.2/src> lsERROR) Error reading Tcl input: I/O error
make install
sirius2:~/bin/vmd-1.9.2/src>
sirius2:~/bin/vmd-1.9.2/src>
sirius2:~/bin/vmd-1.9.2/src> sudo make install
[sudo] password for kriszti:
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 -)
if [ -f ../LINUXAMD64/OptiXShaders.ptx ]; then \
        cp ../LINUXAMD64/OptiXShaders.ptx "/usr/local/lib/vmd/shaders"; \
    fi;
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!
sirius2:~/bin/vmd-1.9.2/src> vmd
vmd: Command not found.
sirius2:~/bin/vmd-1.9.2/src> /usr/local/bin/vmd
/usr/local/bin/vmd: Permission denied.