OK. The GROMACS developers intended the user to follow normal practice,
such as doing the build in user space in the file system, and then
installing as root, and installing to somewhere other than the source
tarball location. Unpacking a source tarball in /opt and building from
there (as root or not) is asking for various kinds of trouble. That
(apparently) CMake gets confused by the source and install directory being
the same comes under the heading of "not our problem" ;-)

I will try to remember to add "don't install to your tarball location" to
the install guide when next I update it.

Cheers,

Mark


On Sun, Apr 27, 2014 at 10:46 AM, Harry Mark Greenblatt <
[email protected]> wrote:

> BS"D
>
> Dear All,
>
>  It seems the problem of creating recursive .../share/gromacs/ directories
> during the "make install" step occurs only when the target install
> directory is the original un-tarred directory.
>
> Thus, if the tar file is unpacked in /opt, and so generates, for example,
> /opt/gromacs-4.6.5, and this directory is specified as
> CMAKE_INSTALL_PREFIX, the problem arises.
>
> If, however, one specifies a different directory for CMAKE_INSTALL_PREFIX,
> such as /opt/gromacs465, the "make install" step has no problem.
>
> I don't know if this what the developers intended, but this was not an
> issue in 4.5.x.
>
> Harry
>
>
>
>
> -------------------------------------------------------------------------
>
> Harry M. Greenblatt
>
> Associate Staff Scientist
>
> Dept of Structural Biology           [email protected]
> <mailto:[email protected]>
>
> Weizmann Institute of Science        Phone:  972-8-934-3625
>
> 234 Herzl St.                        Facsimile:   972-8-934-4159
>
> Rehovot, 76100
>
> Israel
>
>
>
>
>
> --
> Gromacs Users mailing list
>
> * Please search the archive at
> http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before
> posting!
>
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or
> send a mail to [email protected].
>
-- 
Gromacs Users mailing list

* Please search the archive at 
http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before posting!

* Can't post? Read http://www.gromacs.org/Support/Mailing_Lists

* For (un)subscribe requests visit
https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send a 
mail to [email protected].

Reply via email to