{"action":"created","issue":{"url":"https://api.github.com/repos/ElmerCSC/homebrew-elmerfem/issues/5","repository_url":"https://api.github.com/repos/ElmerCSC/homebrew-elmerfem","labels_url":"https://api.github.com/repos/ElmerCSC/homebrew-elmerfem/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/ElmerCSC/homebrew-elmerfem/issues/5/comments","events_url":"https://api.github.com/repos/ElmerCSC/homebrew-elmerfem/issues/5/events","html_url":"https://github.com/ElmerCSC/homebrew-elmerfem/issues/5","id":186163651,"number":5,"title":"Elmer failed to build on OS 10.12.1","user":{"login":"dunn","id":985416,"avatar_url":"https://avatars.githubusercontent.com/u/985416?v=3","gravatar_id":"","url":"https://api.github.com/users/dunn","html_url":"https://github.com/dunn","followers_url":"https://api.github.com/users/dunn/followers","following_url":"https://api.github.com/users/dunn/following{/other_user}","gists_url":"https://api.github.com/users/dunn/gists{/gist_id}","starred_url":"https://api.github.com/users/dunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dunn/subscriptions","organizations_url":"https://api.github.com/users/dunn/orgs","repos_url":"https://api.github.com/users/dunn/repos","events_url":"https://api.github.com/users/dunn/events{/privacy}","received_events_url":"https://api.github.com/users/dunn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-30T20:54:41Z","updated_at":"2016-10-30T22:35:18Z","closed_at":null,"body":"_From @Norwinvd on October 30, 2016 20:12_\n\nHello,\r\n\r\nthanks for supporting the Elmer installation by home-brew.\r\nI get stuck, I hope you can fix this.\r\n\r\nPlease find a copy of the error below.\r\n\r\nCheers,\r\nNorwin\r\n\r\n### Bug reports:\r\n==> cmake ../ -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/elmer/HEAD-d3bf396 -DWITH\r\nLast 15 lines from /Users/Norwin/Library/Logs/Homebrew/elmer/01.cmake:\r\n-Wno-dev\r\n\r\n-- The Fortran compiler identification is GNU 6.2.0\r\nCMake Error at /usr/local/Cellar/cmake/3.6.2/share/cmake/Modules/CMakeDetermineCCompiler.cmake:57 (message):\r\n  Could not find compiler set in environment variable CC:\r\n\r\n  /usr/local/opt/gcc/bin/gcc-7.\r\nCall Stack (most recent call first):\r\n  CMakeLists.txt:17 (PROJECT)\r\n\r\n\r\nCMake Error: CMAKE_C_COMPILER not set, after EnableLanguage\r\nCMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage\r\nPlease replace this line with a brief summary of your issue **AND** if reporting a build issue include the link from:\r\n\r\n`brew gist-logs elmer`: https://gist.github.com/4e325ec341eae76cc5728b07b7652934\r\n(where `<formula>` is the name of the formula that failed to build).\n\n_Copied from original issue: Homebrew/homebrew-core#6424_"},"comment":{"url":"https://api.github.com/repos/ElmerCSC/homebrew-elmerfem/issues/comments/257184802","html_url":"https://github.com/ElmerCSC/homebrew-elmerfem/issues/5#issuecomment-257184802","issue_url":"https://api.github.com/repos/ElmerCSC/homebrew-elmerfem/issues/5","id":257184802,"user":{"login":"github4uw","id":10408629,"avatar_url":"https://avatars.githubusercontent.com/u/10408629?v=3","gravatar_id":"","url":"https://api.github.com/users/github4uw","html_url":"https://github.com/github4uw","followers_url":"https://api.github.com/users/github4uw/followers","following_url":"https://api.github.com/users/github4uw/following{/other_user}","gists_url":"https://api.github.com/users/github4uw/gists{/gist_id}","starred_url":"https://api.github.com/users/github4uw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github4uw/subscriptions","organizations_url":"https://api.github.com/users/github4uw/orgs","repos_url":"https://api.github.com/users/github4uw/repos","events_url":"https://api.github.com/users/github4uw/events{/privacy}","received_events_url":"https://api.github.com/users/github4uw/received_events","type":"User","site_admin":false},"created_at":"2016-10-30T22:35:18Z","updated_at":"2016-10-30T22:35:18Z","body":"Hi,\r\n\r\nI have a similar problem see this post (comment 18.10.2016):\r\n[https://github.com/ElmerCSC/homebrew-elmerfem/issues/1](url)\r\n\r\nIn my opinion the script has a buck in creating the environment variables.\r\n\r\nI changed the following two lines in elmer.rb to:\r\nENV[\"CC\"] = \"/usr/local/Cellar/gcc/6.2.0/bin/gcc-6\"\r\nENV[\"CXX\"] = \"/usr/local/Cellar/gcc/6.2.0/bin/g++-6\"\r\nDoing this starts the configuration and compilation process.\r\n\r\nHowever, building now fails due to missing libraries. (See link to error log)\r\n[https://www.dropbox.com/s/idz80pj0ejftcmg/elmer_log_161030.txt?dl=0](url)\r\n\r\nAt the moment, I have no idea how to solve this.\r\n\r\n"}}
{"actor":{"display_login":"github4uw"}}