[MacPorts] #51326: gfortran is missing
#51326: gfortran is missing ----------------------------+-------------------------------- Reporter: jens.troeger@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: gcc ----------------------------+-------------------------------- 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? -- Ticket URL: <https://trac.macports.org/ticket/51326> MacPorts <https://www.macports.org/> Ports system for OS X
#51326: gcc5: gfortran is missing -----------------------------+-------------------------------- Reporter: jens.troeger@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: invalid | Keywords: Port: gcc5 | -----------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid * port: gcc => gcc5 Old description:
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?
New description: 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? -- Comment: The command you're looking for is: {{{ sudo port select --set gcc gcc5 }}} -- Ticket URL: <https://trac.macports.org/ticket/51326#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#51326: gcc5: gfortran is missing -----------------------------+-------------------------------- Reporter: jens.troeger@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: invalid | Keywords: Port: gcc5 | -----------------------------+-------------------------------- Comment (by ryandesign@…): 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. -- Ticket URL: <https://trac.macports.org/ticket/51326#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts