Вопрос

I am trying to install py-tables using macports. I have previously installed hdf5 with fortran. Somewhere something appears to have gone wrong. When I try to run:

    port install py-tables +fortran

I get the error:

Error: +fortran requires a fortran compiler to be selected

I do have a fortran compiler in the path. How can I tell macports to select gfortran, which I installed using ports, is default and is in the path?

Это было полезно?

Решение

You have to select the gfortran variant as well.

port install py-tables +fortran +gfortran
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top