Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#51326 closed defect (invalid)

gcc5: gfortran is missing

Reported by: jenstroeger (Jens Troeger) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: gcc5

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I've installed the gcc package and gfortran-mp-5 installs into /opt/local/bin/gfortran-mp-5. However, there is no 'gfortan' link so that script packages like SciPy fail to build because of that.

My workaround was to add a softlink into my local ~/bin which is part of the system $PATH:

ln -s /opt/local/bin/gfortran-mp-5 gfortran

Perhaps it makes sense to add this link /opt/local/bin?

Change History (2)

comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: gcc5 added; gcc removed
Resolution: invalid
Status: newclosed
Summary: gfortran is missinggcc5: gfortran is missing

The command you're looking for is:

sudo port select --set gcc gcc5

comment:2 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Also: you should have no problem installing the py27-scipy port (or any of the other py*-scipy ports), without using port select. They should know how to use MacPorts gfortran at its installed name.

Note: See TracTickets for help on using tickets.