[Dune-devel] Dune Exceptions

Maikel Nadolski nadolski at math.fu-berlin.de
Wed Mar 16 10:33:57 CET 2016


On 03/16/2016 10:18 AM, Markus Blatt wrote:
> On Wed, Mar 16, 2016 at 09:47:18AM +0100, Maikel Nadolski wrote:
>> When you only build the core modules you compile AFAIK static archives
>> like libdunecommon.a. The easiest way is to install them locally with
>> root privileges and make them available in your `/usr/local` paths. Tell
>> your compiler (linker) to link with the archive with `-ldunecommon`
> 
> Actually, it should work without installing provided you use
> dunecontrol to build and all modules are lying next to each other.
> 
> You do not need to have root priviledges to install DUNE. Just path a
> writable directory as the install prefix and search prefix to CMake
> either on the comand line:
> 
> cmake -DCMAKE_INSTALL_PREFIX=/path/to/dir \
> -DCMAKE_PREFIX_PATH=/path/to/dir
> 
> or in the CMAKE_FLAGS variable in your option file.

Yes. Thats why I only wrote `easiest` solution.
In fact, I do not even have root privileges on my work station. ;-)

> Markus
> 
> 
> 
> _______________________________________________
> Dune-devel mailing list
> Dune-devel at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-devel
> 




More information about the Dune-devel mailing list