{"action":"created","issue":{"url":"https://api.github.com/repos/optimizers/homebrew-fenics/issues/12","repository_url":"https://api.github.com/repos/optimizers/homebrew-fenics","labels_url":"https://api.github.com/repos/optimizers/homebrew-fenics/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/optimizers/homebrew-fenics/issues/12/comments","events_url":"https://api.github.com/repos/optimizers/homebrew-fenics/issues/12/events","html_url":"https://github.com/optimizers/homebrew-fenics/issues/12","id":137619741,"number":12,"title":"brew install dolfin","user":{"login":"francispoulin","id":8239041,"avatar_url":"https://avatars.githubusercontent.com/u/8239041?v=3","gravatar_id":"","url":"https://api.github.com/users/francispoulin","html_url":"https://github.com/francispoulin","followers_url":"https://api.github.com/users/francispoulin/followers","following_url":"https://api.github.com/users/francispoulin/following{/other_user}","gists_url":"https://api.github.com/users/francispoulin/gists{/gist_id}","starred_url":"https://api.github.com/users/francispoulin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francispoulin/subscriptions","organizations_url":"https://api.github.com/users/francispoulin/orgs","repos_url":"https://api.github.com/users/francispoulin/repos","events_url":"https://api.github.com/users/francispoulin/events{/privacy}","received_events_url":"https://api.github.com/users/francispoulin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-01T16:23:21Z","updated_at":"2016-03-01T16:28:57Z","closed_at":null,"body":"Thanks a lot for merging this, I think that has helped a lot in me trying to install it.  \r\n\r\nI tried following the README and received the following message, see below.  When I type python and try import dolfin I get that there is no module named doflin so I guess the installation didn't work for me.\r\n\r\nI did unlink python before, thinking that would help.  Maybe not?\r\n\r\n$ brew install dolfin --without-trilinos\r\n==> Installing dolfin from optimizers/fenics\r\n==> Using Homebrew-provided fortran compiler.\r\nThis may be changed by setting the FC environment variable.\r\n==> Downloading https://bitbucket.org/fenics-project/dolfin/downloads/dolfin-1.6.0.tar.gz\r\nAlready downloaded: /Library/Caches/Homebrew/dolfin-1.6.0.tar.gz\r\n==> cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/dolfin/1.6.0 -DBUILD_SHARED_LIBS:BOOL=ON -DDOLFIN_ENABLE_PYTHON:BOOL=ON -DDOLFIN_INSTALL_PYTHON_MODULE_DIR=/usr/local/Cellar/dolf\r\n==> make\r\n==> make install\r\nWarning: optimizers/fenics/dolfin dependency gcc was built with a different C++ standard\r\nlibrary (libstdc++ from clang). This may cause problems at runtime.\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 1, in <module>\r\nAttributeError: 'module' object has no attribute 'getusersitepackages'\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 1, in <module>\r\nAttributeError: 'module' object has no attribute 'getusersitepackages'\r\n==> Caveats\r\n    Do not source dolfin.conf, as the DYLIB settings conflict with Homebrew.\r\n\r\nPython modules have been installed and Homebrew's site-packages is not\r\nin your Python sys.path, so you will not be able to import the modules\r\nthis formula installed. If you plan to develop with these modules,\r\nplease run:\r\n  mkdir -p \r\n  echo 'import site; site.addsitedir(\"/usr/local/lib/python2.7/site-packages\")' >> homebrew.pth\r\n==> Summary\r\n🍺  /usr/local/Cellar/dolfin/1.6.0: 755 files, 26.0M, built in 8 minutes 21 seconds\r\n"},"comment":{"url":"https://api.github.com/repos/optimizers/homebrew-fenics/issues/comments/190796204","html_url":"https://github.com/optimizers/homebrew-fenics/issues/12#issuecomment-190796204","issue_url":"https://api.github.com/repos/optimizers/homebrew-fenics/issues/12","id":190796204,"user":{"login":"dpo","id":38760,"avatar_url":"https://avatars.githubusercontent.com/u/38760?v=3","gravatar_id":"","url":"https://api.github.com/users/dpo","html_url":"https://github.com/dpo","followers_url":"https://api.github.com/users/dpo/followers","following_url":"https://api.github.com/users/dpo/following{/other_user}","gists_url":"https://api.github.com/users/dpo/gists{/gist_id}","starred_url":"https://api.github.com/users/dpo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpo/subscriptions","organizations_url":"https://api.github.com/users/dpo/orgs","repos_url":"https://api.github.com/users/dpo/repos","events_url":"https://api.github.com/users/dpo/events{/privacy}","received_events_url":"https://api.github.com/users/dpo/received_events","type":"User","site_admin":false},"created_at":"2016-03-01T16:28:57Z","updated_at":"2016-03-01T16:28:57Z","body":"It looks like the build went through! There's just something up with your `PYTHONPATH`. Does it contain `/usr/local/lib/python2.7/site-packages`? If not, try\r\n```\r\nexport PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH\r\n```"}}