![](https://secure.gravatar.com/avatar/c1ccdb0ce428ac57e8a1d815a281d4d3.jpg?s=120&d=mm&r=g)
On 20/11/2007, Adam Mercer <ramercer@gmail.com> wrote:
Hi
Using MacPorts, the gfortran compiler, from gcc-4.2.x, is installed as gfortran-mp-4.2. I have been trying to build scipy with this compiler and found that that numpy I need to build and install with
$ python setup.py config_fc --fcompiler gnu95 \ --f77exec /opt/local/bin/gfortran-mp-4.2 \ --f90exec /opt/local/bin/gfortran-mp-4.2 build $ python setup.py install --prefix=${NUMPY_LOCATION}
however using the above for scipy fails on the install phase with it being unable to locate a fortran compiler. I therefore need to install scipy with
$ python setup.py config_fc --fcompiler gnu95 \ --f77exec /opt/local/bin/gfortran-mp-4.2 \ --f90exec /opt/local/bin/gfortran-mp-4.2 install --prefix=${SCIPY_LOCATION}
Is this expected, as I would have expected install to inherit the options that where used during the build phase?
Cheers
Adam
PS: I'm using numpy-1.0.4 and scipy-0.6.0
Anyone?