[SciPy-user] more build issues - slamch.o relocation R_X86_64_32S error
Mon Jan 26 09:41:43 CST 2009
oh, the alias was done to force any calls to gfortran to actually call g77.
i've tried this command:
../configure -Fa alg -fPIC
and I modified make.inc with the following options:
OPTS = -O2 -fPIC
DRVOPTS = $(OPTS)
NOOPT = -O0 -fPIC
I'm still getting these relocation errors during scipy's build.
i guess the follow on question is this, how do i tell ./setup.py to
select g77 OR gfortran to execute with?
On Mon, Jan 26, 2009 at 10:28 AM, David Cournapeau <firstname.lastname@example.org> wrote:
> On Tue, Jan 27, 2009 at 12:22 AM, christopher taylor
> <email@example.com> wrote:
>> So I've followed the build instructions in the ATLAS package, and the
>> SciPy package. I've also followed the instructions for building scipy
>> on a centos box and I consistently get the following build error:
> You need to build ATLAS and LAPACK with -fPIC. For ATLAS, you do it as follows:
> ../configure -Fa alg -FPIC
> For LAPACK, you need to set both OPTS and NOOPT in make.inc.
>> I've aliased gfortran to g77 and that gets me similar results. any
> This is not a good idea: g77 and gfortran are not compatible; for all
> practical purpose, you cannot mix code build by one with code built by
> the other. You have to make sure either g77 or gfortran is used for
> everything, from lapack to scipy.
> SciPy-user mailing list
More information about the SciPy-user