{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/3167","labels_url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/3167/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/3167/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/3167/events","html_url":"https://github.com/Homebrew/homebrew-science/issues/3167","id":124528939,"number":3167,"title":"Octave \"pkg install -forge signal control\" traverses nonexistent directory for -lgfortran","user":{"login":"thombles","id":5511175,"avatar_url":"https://avatars.githubusercontent.com/u/5511175?v=3","gravatar_id":"","url":"https://api.github.com/users/thombles","html_url":"https://github.com/thombles","followers_url":"https://api.github.com/users/thombles/followers","following_url":"https://api.github.com/users/thombles/following{/other_user}","gists_url":"https://api.github.com/users/thombles/gists{/gist_id}","starred_url":"https://api.github.com/users/thombles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thombles/subscriptions","organizations_url":"https://api.github.com/users/thombles/orgs","repos_url":"https://api.github.com/users/thombles/repos","events_url":"https://api.github.com/users/thombles/events{/privacy}","received_events_url":"https://api.github.com/users/thombles/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-01T03:19:56Z","updated_at":"2016-01-03T01:23:06Z","closed_at":null,"body":"Apologies in advance if this is the wrong spot—I'm not sure if it's an octave or gcc issue. I have octave on OS X installed with `brew install octave` then `brew reinstall gnuplot --with-x` (and associated setup).\r\n\r\nI tried to install the signal package like this:\r\n\r\n    octave:17> pkg install -forge signal control\r\n\r\nI got the following error:\r\n\r\n    ld: warning: directory not found for option '-L/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/gcc/x86_64-apple-darwin15.0.0/5.2.0'\r\n    ld: warning: directory not found for option '-L/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/gcc/x86_64-apple-darwin15.0.0/5.2.0/../../..'\r\n    ld: library not found for -lgfortran\r\n\r\nThat path didn't exist on my system. I went to `/usr/local/Cellar/gcc/5.2.0/lib/gcc/5` and ran\r\n\r\n    mkdir -p gcc/x86_64-apple-darwin15.0.0/5.2.0\r\n\r\nAfter that the `pkg install` command built and installed successfully."},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/comments/168448729","html_url":"https://github.com/Homebrew/homebrew-science/issues/3167#issuecomment-168448729","issue_url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/3167","id":168448729,"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-01-03T01:23:06Z","updated_at":"2016-01-03T01:23:06Z","body":"There's no need to install an external gfortran. It will only conflict with Homebrew packages.\r\n\r\nIt's hard to tell if the path is an omission in the `gcc` install, or an error in the Octave Forge package install. I'm not so familiar with Octave Forge. How does it figure out where to look for `libgfortran`?\r\n\r\n@schoeps will probably know."}}