Robert Kern wrote: > Okay, this is possibly part of the problem. numpy.distutils handles > FORTRAN code differently than other extension modules; this is why pure > C extension modules both inside numpy and elsewehere were linking fine. > Try unsetenving $CPPFLAGS and $LDFLAGS and adding those arguments to > build_ext, if necessary. > > Looking on line 516 of numpy/fcompiler/__init__.py (why there's a class > definition in __init__.py, I'll never know), it does look like the > linker flags which are carefully constructed by numpy.distutils are > indeed overridden by the user's setting of $LDFLAGS.
I unset $LDFLAGS and $CPPFLAGS (not trying one at a time), and this did the trick. Everything built without a hitch. James -- http://mail.python.org/mailman/listinfo/python-list