-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Elmer failed to build on OS 10.12.1 #5
Comments
Hi, I have a similar problem see this post (comment 18.10.2016): In my opinion the script has a buck in creating the environment variables. I changed the following two lines in elmer.rb to: However, building now fails due to missing libraries. At the moment, I have no idea how to solve this. Ok some progress. I could solve some issues by reinstalling gcc (version gcc 6) which seems to solve the issue of finding libraries. (reinstalling gcc after Xcode has been updated) Now I get some warnings and errors such as "error: unknown type name". |
There seems to be a problem with compiling the metis which is bundled in with elmer. Do you have another version of metis lying around? Disabling metis library with |
I searched for metis packages.
I unlinked metis and parmetis. However, the compilation still fails. Is there way to check that metis from elmer is used during compilation? |
To me it appears as the trouble would arise from compilation of ElmerGrid: |
Any idea how to solve this problem? |
Hello, while using "brew install elmer --HEAD" I can compile it without error. I like to use it with elmergui ... I hope this helps to find out where it is getting wrong |
Could you please provide more information about your system? Do you know which compiler version was used during building? |
From @Norwinvd on October 30, 2016 20:12
Hello,
thanks for supporting the Elmer installation by home-brew.
I get stuck, I hope you can fix this.
Please find a copy of the error below.
Cheers,
Norwin
Bug reports:
==> cmake ../ -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/elmer/HEAD-d3bf396 -DWITH
Last 15 lines from /Users/Norwin/Library/Logs/Homebrew/elmer/01.cmake:
-Wno-dev
-- The Fortran compiler identification is GNU 6.2.0
CMake Error at /usr/local/Cellar/cmake/3.6.2/share/cmake/Modules/CMakeDetermineCCompiler.cmake:57 (message):
Could not find compiler set in environment variable CC:
/usr/local/opt/gcc/bin/gcc-7.
Call Stack (most recent call first):
CMakeLists.txt:17 (PROJECT)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
Please replace this line with a brief summary of your issue AND if reporting a build issue include the link from:
brew gist-logs elmer
: https://gist.github.com/4e325ec341eae76cc5728b07b7652934(where
<formula>
is the name of the formula that failed to build).Copied from original issue: Homebrew/homebrew-core#6424
The text was updated successfully, but these errors were encountered: