gcc45 and gfortran issue

Marcelo Chiapparini marcelo.chiapparini at gmail.com
Tue May 1 04:28:36 PDT 2012


Thanks a lot Jason, it worked!

Regards,
Marcelo
2012/5/1 Jason Swails <jason.swails at gmail.com>

> 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.chiapparini at 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 at 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
>



-- 
Marcelo Chiapparini
http://sites.google.com/site/marcelochiapparini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120501/8d872a35/attachment.html>


More information about the macports-users mailing list