← Back to team overview

dolfin team mailing list archive

Re: Mac and cmake.local does not find packages

 

On Ubuntu I have to set PETSC_DIR and SLEPC_DIR together with the PETSC_ARCH. 
I do not know for ARMADILLO, as it is installed under /usr.

Johan

On Friday October 1 2010 07:49:00 Andre Massing wrote:
>   Hi!
> 
> Finally I update my installations to the newest DOLFIN development
> version, including the new
> cmake build system. When I run a complete installation with DORSAL
> everything goes fine,
> but if I want to run  cmake.local,  then cmake does not find libraries
> like ARMADILLO, PETSC etc.
> These are installed in a non standard path /Users/andre/local,  so is
> there an easy option
> to make cmake aware of it? Or do I have to export all corresponding
> environment variables mention
> in dorsal_build file?
> 
> Here is the error message:
> -- Checking for package 'Armadillo'
> CMake Error at
> /opt/local/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:70
> (MESSAGE): Armadillo could not be found.  Be sure to set ARMADILLO_DIR. 
> (missing: ARMADILLO_TEST_RUNS)
> Call Stack (most recent call first):
>    cmake/modules/FindArmadillo.cmake:139
> (find_package_handle_standard_args) CMakeLists.txt:160 (find_package)
> 
> Cheers,
> Andre
> 
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help   : https://help.launchpad.net/ListHelp



Follow ups

References