[Dune] Windows build successful; install unsuccessful

Markus Blatt markus at dr-blatt.de
Mon Oct 26 10:20:11 CET 2015


Just found this thread during a web search.

On Mon, Mar 16, 2015 at 11:09:17AM +0100, Christoph Grüninger wrote:
>
> Am 16.03.2015 um 10:37 schrieb Joseph Ampadu Ofosu:
> > Thanks for the assistance the other day. I have been able to
> > successfully build DUNE on Windows 8.1 using Cygwin.
> >
> > However, I have not been able to install. After running the command:
> >
> >  ./dune-common-2.3.1/bin/dunecontrol make install
> >
> > I get the error statement (this is a part):
> >
> > make doxygen-html-install instcmd="/bin/sh
> > /cygdrive/f/Computation/DUNE/dune-common-2.3.1/install-sh -c -m 644"
> > instdir="//usr/local/share/doc/dune-common/doxygen"
> > mkdir: cannot create directory ‘//usr’: Read-only file system
> > mkdir: cannot create directory ‘//usr’: Read-only file system
> > Makefile:728: recipe for target 'install-doxygen' failed

This is due to DUNE using the default unix install locations. These
are not writable for normal users. The user can overwrite them by passing
-DCMAKE_INSTALL_PREFIX="/whatever/path/you/want" to CMake. Using a
directory that you can write to will solve this issue.

Cheers,

Markus

-- 
Join us at the DUNE User Meeting Sept. 28-29, 2015, Heidelberg, Germany
http://users.dune-project.org/projects/dune-user-meeting-2015/wiki

Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany
Tel.: +49 (0) 160 97590858
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20151026/6a211e28/attachment.sig>


More information about the Dune mailing list