Mac OS X installation issue

Issue #75 invalid
Lori Ray created an issue

I get the following errors when attempting to install mshr: GMP_INCLUDE_DIR-NOTFOUND and GMP_LIBRARIES-NOTFOUND. Fenics is installed/operated on my computer via Docker. Can you please help with how to resolve? Looking forward to using the meshing capabilities you have developed for fenics. Best Regards, Lori Ray

The C compiler identification is AppleClang 8.0.0.8000042 The CXX compiler identification is AppleClang 8.0.0.8000042 Check for working C compiler: /usr/bin/cc Check for working C compiler: /usr/bin/cc -- works Detecting C compiler ABI info Detecting C compiler ABI info - done Detecting C compile features Detecting C compile features - done Check for working CXX compiler: /usr/bin/c++ Check for working CXX compiler: /usr/bin/c++ -- works Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done Detecting CXX compile features Detecting CXX compile features - done CMake Warning at /Applications/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:761 (message): Imported targets not available for Boost version Call Stack (most recent call first): /Applications/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:865 (_Boost_COMPONENT_DEPENDENCIES) /Applications/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:1454 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:54 (find_package)

CMake Warning at /Applications/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:761 (message): Imported targets not available for Boost version Call Stack (most recent call first): /Applications/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:865 (_Boost_COMPONENT_DEPENDENCIES) /Applications/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:1454 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:54 (find_package)

CMake Warning at /Applications/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:761 (message): Imported targets not available for Boost version Call Stack (most recent call first): /Applications/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:865 (_Boost_COMPONENT_DEPENDENCIES) /Applications/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:1454 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:54 (find_package)

CMake Error at /Applications/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:1812 (message): Unable to find the requested Boost libraries.

Unable to find the Boost header files. Please set BOOST_ROOT to the root directory containing Boost or BOOST_INCLUDEDIR to the directory containing Boost's headers. Call Stack (most recent call first): CMakeLists.txt:54 (find_package)

Targetting Unix Makefiles Using /usr/bin/c++ compiler. DARWIN_VERSION=15 Mac Leopard detected CMake Error at /Applications/CMake.app/Contents/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:138 (message): Could NOT find GMP (missing: GMP_LIBRARIES GMP_INCLUDE_DIR) Call Stack (most recent call first): /Applications/CMake.app/Contents/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) 3rdparty/CGAL/cmake/modules/FindGMP.cmake:60 (find_package_handle_standard_args) CMakeLists.txt:62 (find_package)

CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: Boost_INCLUDE_DIR (ADVANCED) used as include directory in directory /Users/loriray/Downloads/fenics-project-mshr-26c9724eebde used as include directory in directory /Users/loriray/Downloads/fenics-project-mshr-26c9724eebde

Configuring incomplete, errors occurred! See also "/Users/loriray/my-project/CMakeFiles/CMakeOutput.log". See also "/Users/loriray/my-project/CMakeFiles/CMakeError.log".

Comments (2)

  1. Johannes Ring

    You say you are using FEniCS in Docker, but it looks like you are trying to build mshr on the host (compiler identification is AppleClang). Please use fenics-support@googlegroups.com if you have problems with the installation.

  2. Log in to comment