add faq entry: install fails
authorTimo Heister <timo.heister@gmail.com>
Mon, 27 Nov 2017 19:30:17 +0000 (14:30 -0500)
committerTimo Heister <timo.heister@gmail.com>
Mon, 27 Nov 2017 19:30:17 +0000 (14:30 -0500)
Frequently-Asked-Questions.md

index 88e90952b4d85e9777e67435551fcdc926ba391d..0a70011038c7358f16420ac306bb8f20c189e03b 100644 (file)
@@ -428,6 +428,15 @@ is simple, and described in a
 in the [cmake
 documentation](http://www.dealii.org/developer/development/cmake.html).
 
+### I can configure and compile the library but installation fails. What is going on?
+
+If you configure with the default ``CMAKE_INSTALL_PREFIX``, the library is configured to installed to ``/usr/local`` and this fails without superuser rights with an error message like
+```
+CMake Error at cmake/scripts/cmake_install.cmake:42 (FILE):
+  file cannot create directory: /usr/local/common/scripts.  Maybe need
+  administrative privileges.
+```
+Please see the [readme](http://www.dealii.org/developer/readme.html#configuration) on how to pick an install directory with write access (for example some path below your home directory).
 
 ### I get warnings during linking when compiling the library. What's wrong?
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.