You should install gcc_select and make sure you set the proper compiler suite:
sudo port install gcc_select sudo port select gcc mp-gcc45 That should set up the symlinks so that 'gfortran' in /opt/local/bin links to gfortran-mp-4.5 HTH, Jason On Tue, May 1, 2012 at 7:17 AM, Marcelo Chiapparini < marcelo.chiappar...@gmail.com> wrote: > Hello, > > I am running macports 2.04. I've installed gcc45: > > $ port installed gcc45 > The following ports are currently installed: > gcc45 @4.5.3_3 (active) > > but I am unable to run gfortran: > > $ gfortran > -bash: gfortran: command not found > > What do I need in order to activate gfortran? Thanks in advance, > > Marcelo > > > _______________________________________________ > macports-users mailing list > macports-users@lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > > -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users