Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with gfortran-4.2 #10

Closed
Quantisan opened this issue Nov 4, 2012 · 8 comments
Closed

Problems with gfortran-4.2 #10

Quantisan opened this issue Nov 4, 2012 · 8 comments

Comments

@Quantisan
Copy link
Contributor

it wouldn't compile under gfortran 4.2. so that installing a newer gfortran instruction is now mandatory. should this be made into a 1-step process? i.e.

brew tap staticfloat/julia
brew install --HEAD julia

would also install homebrew/dupes/gcc --enable-fortran

@staticfloat
Copy link
Owner

What was the error you got? I've been compiling under gfortran 4.2 for a while.

Also, how did you install gfortran? Through Homebrew?

@Quantisan
Copy link
Contributor Author

I don't have a record of that error anymore. Yes, I installed gfortran 4.2 through homebrew. Sorry I couldn't be of more help. I guess we'll sit on this for now.

@staticfloat
Copy link
Owner

No problem. I'm going to edit this issue a bit to try and attract people who have issues with gfortran-4.2, and leave it open in the hopes that someone else who has trouble can come here and help us figure it out.

@samueljohn
Copy link
Contributor

Well, I have on my todo to rewrite the homebrew gfortran formula to build the gfortran-4.7 from source by ripping the needed parts from the gcc-4.7 formula and delete everything other than gfortran.
Homebrew then, can bottle gfortran, because the build process in lengthy.

Meanwhile, you can brew tap homebrew/versions, brew install gcc --enable-fortran and then set export FC=$(brew --prefix)/bin/gfortran-4.7. (I hope this works, not done this for a while)

@staticfloat
Copy link
Owner

It should, those are the instructions in the README, but I'd like people to be able to use the default gfortran in Homebrew if possible.....

@samueljohn
Copy link
Contributor

... yep, that's why I want to update the gfortran formula. But I had no time today. Shooting for tomorrow.

@samueljohn
Copy link
Contributor

Homebrew/legacy-homebrew#15941 plz test if you have the time.

@Quantisan
Copy link
Contributor Author

re-tested and successfully made a clean install with the formula with gfortran 4.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants