Can't get Octave to install (gfortran dependency) #9043
Comments
I have the same issue! I installed gfortran, but Octave refuses to install. |
ok ... I created the environment variable:
Next, qruptdate is looking for gfortran so I made a symbolic link from gfortran-4.2 binary
That seems to have fixed it. I would suggest gfortran formula telling users to update env and create a symbolic link |
The GFortran formula does create a symbolic link from Try re-installing GFortran. If you get the same problem, post the results of |
I can confirm this issue, with the latest Xcode installed on 10.7.2.
|
Upgrading xcode to version 4.2 (llvm/clang) leaves the old gcc-4.2 binary on the system, resulting that it will be wrongly detected as a build 5666. This fix will not set a build number if xcode version is >= 4.2 See issue Homebrew#9043 and Homebrew#9395
Allright, this should be fixed. The problem was appearing for users who upgraded from XCode 4.1 or earlier as they will still have |
Check for XCode >= 4.2 on Lion first before casing the GCC build in the install section as this is the order in which the download section selects which Lion binaries to fetch. Without this change, a leftover `gcc-4.2` installation can fool the logic into thinking the 5666-3 binaries were downloaded instead of the full GCC-4.2 suite. This causes the wrong installation steps to be executed which leaves users without some important symlinks. Closes Homebrew#9398. Fixes Homebrew#9395. Fixes Homebrew#9043.
Check for XCode >= 4.2 on Lion first before casing the GCC build in the install section as this is the order in which the download section selects which Lion binaries to fetch. Without this change, a leftover `gcc-4.2` installation can fool the logic into thinking the 5666-3 binaries were downloaded instead of the full GCC-4.2 suite. This causes the wrong installation steps to be executed which leaves users without some important symlinks. Closes Homebrew#9398. Fixes Homebrew#9395. Fixes Homebrew#9043.
Check for XCode >= 4.2 on Lion first before casing the GCC build in the install section as this is the order in which the download section selects which Lion binaries to fetch. Without this change, a leftover `gcc-4.2` installation can fool the logic into thinking the 5666-3 binaries were downloaded instead of the full GCC-4.2 suite. This causes the wrong installation steps to be executed which leaves users without some important symlinks. Closes Homebrew#9398. Fixes Homebrew#9395. Fixes Homebrew#9043.
I keep getting the following error:
Even after I tried
brew install gfortran
. Mybrew doctor
output is:The strange thing this is that
which gfortran
gives me nothing wileman gfortran
does print the fortan man page.mdfind gfortran
delivers:so if I do
export FC = /usr/local/Cellar/gfortran/4.2.4-5666.3/bin/i686-apple-darwin11-gfortran-4.2.1
I can procede withbrew install octave
yet I get the following error:Same thing for
export FC = /usr/local/Cellar/gfortran/4.2.4-5666.3/bin/gfortran-4.2
.I'm in the dark here (I'm not a computer genius).
The text was updated successfully, but these errors were encountered: