[SciPy-user] Building with a non-standard gfortran

Adam Mercer ramercer@gmail....
Thu Nov 22 22:54:26 CST 2007


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?


More information about the SciPy-user mailing list