-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
gfortran error installing eigen #9878
Comments
Builds fine for me.
If you upgraded from Snow Leopard, make sure both Xcode and the gfortran formula are re-installed. Specifically, in the error message:
The GFortran compiler should read |
I did indeed just upgrade from Snow Leopard. I just reinstalled xcode from the installer I downloaded from the app store this morning, with the same results. In |
Allright. That's one check on the list. Now about the other one: did you also re-install the |
Yep, reinstalled the |
|
I cannot reproduce this on lion. But I am no "eigen" user. eigen seems not even to depend on gfortran. Strange.
This seems to work fine. Have you different optional backends than me?
From your output it seems as if /usr/bin/gfortran was used. I removed my gfortran and still it compiles. @dlaz what do you think? |
Ok, when I remove gfortran during configuration |
Having gfortran installed by
@dlaz, if you could try it again? Otherwise I would suggest to close this issue. |
I was all updated and still seeing this problem. It seems like there was something weird about my configuration that was causing it to look for gfortran in the wrong place. Why it wanted gfortran in the first place is another issue... |
So now it is working or you do not care about it any more, I assume. I, too, think there is something wrong with your configuration but I have no clue what. Or would you mind to remove gfortran, install it again and then brew install eigen? |
As I mentioned before, setting my FC environment variable fixed the problem, and eigen installs properly now. I've already tried reinstalling homebrew's version of gfortran, which had no effect, and brew doctor shows no problems. |
Ok, thanks :-) |
Ahh.. this makes more sense now that I see |
Oops. Corrected to |
Still running into problems with this, but see the discussion at #10240 which reveals fortran is not required anyway. I was able to install eigen using:
|
The Eigen buildsystem looks for a Fortran compiler, using `ENV.gfortran` will help it find the right one. Fixes Homebrew#9878.
The Eigen buildsystem looks for a Fortran compiler, using `ENV.gfortran` will help it find the right one. Fixes Homebrew#9878.
Trying to install eigen on a machine I just upgraded to Lion, and it errors out complaining that gfortran is broken. I've tried using both the version of gfortran that was already installed (not sure where it came from), and the version installed by homebrew.
Install output: https://gist.github.com/1707233
The text was updated successfully, but these errors were encountered: