Hello
I am trying to install on gentoo using dorsal. On my gentoo the default python is 3.2.3 so I set the variable
PYTHON_EXECUTABLE=python2.7
So dorsal starts off and is trying to install Trilinos but fails with this error
Processing enabled package: PyTrilinos (Libs)
-- Found PythonInterp: python2.7 (Required is at least version "2.2")
-- Python version 2.7.5
-- Found PythonLibs: /usr/lib64/libpython3.3.so (found suitable version "2.7.5", minimum required is "2.2")
-- Found PythonLibs: /usr/lib64/libpython3.3.so (found version "2.7.5")
CMake Error at packages/PyTrilinos/cmake/FindNumPy.cmake:103 (MESSAGE):
Required NumPy python module not found
Call Stack (most recent call first):
packages/PyTrilinos/CMakeLists.txt:157 (FIND_PACKAGE)
CMake Error at packages/PyTrilinos/cmake/FindSWIG.cmake:96 (MESSAGE):
SWIG was not found. Please specify Swig executable location
Call Stack (most recent call first):
packages/PyTrilinos/CMakeLists.txt:160 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
See also "/home/praveen/opt/FEniCS/src/trilinos-11.4.1-Source/dorsal_build_dir/CMakeFiles/CMakeOutput.log".
See also "/home/praveen/opt/FEniCS/src/trilinos-11.4.1-Source/dorsal_build_dir/CMakeFiles/CMakeError.log".
Failure with exit status: 1
Exit message: There was a problem configuring trilinos-11.4.1-Source.
It looks like there is confusion with python versions since it seems to have found libpython3.3.so instead of libpython2.7.so. Any idea how to make this work ?
Thanks