[SciPy-dev] trouble building from svn

Darren Dale dsdale24@gmail....
Tue Dec 1 07:10:52 CST 2009

On Mon, Nov 30, 2009 at 11:37 PM, David Cournapeau
<david@ar.media.kyoto-u.ac.jp> wrote:
> Darren Dale wrote:
>> I am attempting to build scipy from svn sources on OS X 10.6. I get
>> the following error, could anyone please advise?
>> C compiler: gcc-4.2 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes
>> -arch x86_64 -pipe
> Most likely you have LDFLAGS defined in your environment, which screws
> up the build. LDFLAGS (and other similar variables) do not work as
> expected with distutils, they *override* the options instead of
> completing them.
> The actual error is that the link step is missing the -shared option,
> hence the missing errors, as the linker tries to build an executable.

Thanks David, I think you are probably right. I had set some
environment variables to build packages like hdf5, which defaults to
32 bit because "uname" returns i386 on snow leopard. I'll not at work
today, so I will try again on the mac tomorrow.

More information about the SciPy-Dev mailing list