Hi David,
I was able to resolve the problem following stackoverflow.com/questions/1144 … ac-os-lion:
I edited the following two lines in CPhomebrew.git/Library/Formula/gfortran.rb:
if MacOS.xcode_version >= ‘4.2’ and MACOS_VERSION == 10.7
ohai "Installing gfortran 4.2.4 for XCode 4.2 (build 5666)"
Changed to:
if MacOS.xcode_version >= ‘4.2’ and MACOS_VERSION >= 10.7
ohai "Installing gfortran 4.2.4 for XCode 4.2 (build 5666) or higher"
in other words:
Changed == 10.7 to >= 10.7 and Changed XCode 4.2 (build 5666) to XCode 4.2 (build 5666) or higher
I will be useful to update the repository gfortran.rb accordingly.
thanks for your help,
Keren.