I am attempting to install Eclipse Kepler to develop fortran code on my Macbook Pro using Mountain Lion operating system.
After launching Kepler from Finder I am unable to compile fortran code. I get the following message:
13:50:37 **** Build of configuration Default for project DEQSOLV ****
make: gfortran: No such file or directory
gfortran -o hello.exe -g main.f aux.f libddaskr.a
make: *** [all] Error 1
13:50:37 Build Finished (took 71ms)
If I launch Kepler from the terminal I am able to compile successfully.
I see from searching the internet that this problem has occurred before, and I previously had this problem with Eclipse Indigo. I have attempted the same solution that I previously used with Indigo, but have not had success.
I edited the info.plist file associated with Kepler and inserted a path list identical to that found at the terminal prompt.
Results at terminal are shown below.
ans-MacBook-Pro:~ dansmith$ echo $PATH
Excerpt from Info.plist is shown below.
After editing and saving the Info.plist file I typed the following command at the terminal prompt.
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -v –f /Users/dansmith/Documents/ECLIPSE_KEPLER/eclipse/Eclipse.app
The result of this command is shown below. I don't know what this command does. I read that it was required.
lsregister: processing –f
lsregister: processing /Users/dansmith/Documents/ECLIPSE_KEPLER/eclipse/Eclipse.app
This same procedure worked previously with Eclipse Indigo but does not now. gfortran is installed and functioning - gcc version 4.8.2 (GCC). Eclipse Indigo is functioning (although I am having problems with debug, which prompted me to try installing Kepler)
Does anyone have any suggestions? Does anyone see what I am doing wrong?