[MacPorts] #41193: Octave does not install, because atlas cannot find the fortran compiler
#41193: Octave does not install, because atlas cannot find the fortran compiler ----------------------------+-------------------------------- Reporter: gorkemozkaya@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: ----------------------------+-------------------------------- I am trying to install octave, but it gets stuck at installing atlas, complaining about the missing fortran compiler. {{{ ---> Configuring atlas Selected C compiler: /opt/local/bin/clang-mp-3.3 Error: org.macports.configure for port atlas returned: Atlas could not detect any fortran compiler. If you really don’t need the fortran interface to be built, please use the +nofortran option, else install a fortran compiler (e.g. gcc4X) before building Atlas. }}} I made sure that gfortran is installed on my system: {{{ $ which gfortran /usr/local/bin/gfortran }}} -- Ticket URL: <https://trac.macports.org/ticket/41193> MacPorts <http://www.macports.org/> Ports system for OS X
#41193: Atlas could not detect any fortran compiler -----------------------------+--------------------- Reporter: gorkemozkaya@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: atlas | -----------------------------+--------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => vince@… * port: => atlas -- Ticket URL: <https://trac.macports.org/ticket/41193#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#41193: Atlas could not detect any fortran compiler -----------------------------+--------------------- Reporter: gorkemozkaya@… | Owner: vince@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: invalid | Keywords: Port: atlas | -----------------------------+--------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: Replying to [ticket:41193 gorkemozkaya@…]:
I am trying to install octave, but it gets stuck at installing atlas, complaining about the missing fortran compiler.
{{{ ---> Configuring atlas Selected C compiler: /opt/local/bin/clang-mp-3.3 Error: org.macports.configure for port atlas returned: Atlas could not detect any fortran compiler. If you really don’t need the fortran interface to be built, please use the +nofortran option, else install a fortran compiler (e.g. gcc4X) before building Atlas. }}}
I made sure that gfortran is installed on my system:
{{{ $ which gfortran /usr/local/bin/gfortran }}}
MacPorts will not use anything you have installed in /usr/local. In fact, installing things in /usr/local is unsupported and can cause problems with MacPorts, so please uninstall anything you have there. As the error message said, either install a gcc4x port, or use the +nofortran variant. -- Ticket URL: <https://trac.macports.org/ticket/41193#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#41193: Atlas could not detect any fortran compiler -----------------------------+--------------------- Reporter: gorkemozkaya@… | Owner: vince@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: invalid | Keywords: Port: atlas | -----------------------------+--------------------- Comment (by deodato_art@…): I run into this issue too, and I think it is a proper bug. IMHO if the installation of atlas by default requires a Fortran compiler, either this should be among its dependencies, or the default should be changed not to require it (i.e. pass +nofortran by default). The current situation is that MacPorts fails on "sudo port install octave", which to me is not ideal :-) -- Ticket URL: <https://trac.macports.org/ticket/41193#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#41193: Atlas could not detect any fortran compiler -----------------------------+--------------------- Reporter: gorkemozkaya@… | Owner: vince@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: invalid | Keywords: Port: atlas | -----------------------------+--------------------- Comment (by vince@…): Okay. I’ll have atlas build gfortran4.7 if it is not present and the +nofortran option is not selected, since most of the packages that depend on Atlas expect the Fortran API to be built. -- Ticket URL: <https://trac.macports.org/ticket/41193#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts