optimizers / homebrew-fenics

Building FEniCS on OSX with Homebrew and Pip.
GNU General Public License v3.0
3 stars 4 forks source link

vtk-related install error #16

Closed kilojoules closed 7 years ago

kilojoules commented 8 years ago

Brew is failing to install because of a vtk error. I tried installing --HEAD as suggested in [13](Homebrew formula for Dolfin & co. on OSX https://github.com/optimizers/homebrew-fenics/issues/13) but the problem persists.

(fenics) ~/my-project $ brew install dolfin
==> Installing dolfin from optimizers/fenics
==> Using Homebrew-provided fortran compiler.
This may be changed by setting the FC environment variable.
==> Downloading https://bitbucket.org/fenics-project/dol
Already downloaded: /Users/jquick/Library/Caches/Homebrew/dolfin-1.6.0.tar.gz
==> cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/do
Last 15 lines from /Users/jquick/Library/Logs/Homebrew/dolfin/01.cmake:
CMake Error at /usr/local/Cellar/cmake/3.5.2/share/cmake/Modules/Platform/Darwin.cmake:76 (message):
  CMAKE_OSX_DEPLOYMENT_TARGET is '10.10' but CMAKE_OSX_SYSROOT:

   ""

  is not set to a MacOSX SDK with a recognized version.  Either set
  CMAKE_OSX_SYSROOT to a valid SDK or set CMAKE_OSX_DEPLOYMENT_TARGET to
  empty.
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.5.2/share/cmake/Modules/CMakeSystemSpecificInformation.cmake:36 (include)
  CMakeLists.txt:9 (project)

-- Configuring incomplete, errors occurred!
See also "/tmp/dolfin-20160617-61021-z6fv5/dolfin-1.6.0/build/CMakeFiles/CMakeOutput.log".

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
  https://github.com/optimizers/homebrew-fenics/issues
dpo commented 8 years ago

That seems resolved in #20.