[MacPorts] #42157: py27-scipy fails to install due to missing fortran compiler dependency
MacPorts
noreply at macports.org
Thu Jan 16 13:08:33 PST 2014
#42157: py27-scipy fails to install due to missing fortran compiler dependency
-----------------------------------------+--------------------------------
Reporter: edwardsmoon@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Keywords: py27-scipy fortran compiler | Port:
-----------------------------------------+--------------------------------
When attempting to install py27-pandas on Jan 15, 2014 I had errors trying
to install py27-scipy.
The error in the log referred to missing a fortran compiler.
I installed a fortran compiler with 'sudo port install f95'. This fortran
compiler was still not recognized when install py27-scipy. I did not see a
f77 or f90 compiler (from the scipy log) listed when I ran 'sudo port
search fortran'.
I ended up installing gfortran 4.8.2 from binaries available at this
location: http://gcc.gnu.org/wiki/GFortranBinariesMacOS
After installing gfortran, I had to make 2 symlinks for the py27-scipy to
install:
sudo ln -s /usr/local/gfortran/bin/gfortran /opt/local/bin/gfortran
sudo ln -s /opt/local/bin/gfortran/gfortran /opt/local/bin/gfortran
/gfortran-mp-4.8
After manually installing gfortran and the 2 symlinks, I was able to
successfully run 'sudo port install py27-pandas'.
I verified that py27-scipy was working by typing in the ipython commands
shown at: http://www.scipy.org/getting-started.html
I was able successfully create and save the graph shown in the example.
--
Ticket URL: <https://trac.macports.org/ticket/42157>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list