Apparently the trillinos package is trying to do a sysem install.
Is it possible to tell to install locally (to ${PROJECT}/libs for example)?
make: Entering directory `/home/juanpi/Resources/FEniCS/src/trilinos-11.0.3-Source/dorsal_build_dir'
Install the project...
-- Install configuration: "RELEASE"
-- Installing: /usr/local/include/Trilinos_version.h
CMake Error at cmake_install.cmake:36 (FILE):
file INSTALL cannot copy file
"/home/juanpi/Resources/FEniCS/src/trilinos-11.0.3-Source/dorsal_build_dir/././Trilinos_version.h"
to "/usr/local/include/Trilinos_version.h".
make: *** [install] Error 1
make: Leaving directory `/home/juanpi/Resources/FEniCS/src/trilinos-11.0.3-Source/dorsal_build_dir'
Failure with exit status: 2
Exit message: There was a problem building trilinos-11.0.3-Source.