[SciPy-dev] FTBFS on Debian

Ondrej Certik ondrej@certik...
Mon Apr 14 11:27:01 CDT 2008


On Mon, Apr 14, 2008 at 5:58 PM, Robert Kern <robert.kern@gmail.com> wrote:
> On Mon, Apr 14, 2008 at 9:43 AM, Ondrej Certik <ondrej@certik.cz> wrote:
>  > On Mon, Apr 14, 2008 at 4:19 PM, Robert Kern <robert.kern@gmail.com> wrote:
>  >  > On Mon, Apr 14, 2008 at 8:19 AM, Ondrej Certik <ondrej@certik.cz> wrote:
>  >  >  >  Now I am trying to figure out how to set the -fPIC for the gfortran.
>  >  >  >  Probably in some setup.py.
>  >  >
>  >  >  No, this flag is coded into the FCompiler implementation for each
>  >  >  compiler. Check FFLAGS. This will override the compilation flags just
>  >  >  like LDFLAGS overrides the link flags.
>  >
>  >  Thanks for the tip. Indeed the following patch fixes the problem on amd64 too:
>  >
>  >
>  >  $ svn di
>  >  Index: debian/rules
>  >  ===================================================================
>  >  --- debian/rules        (revision 5014)
>  >  +++ debian/rules        (working copy)
>  >  @@ -9,6 +9,7 @@
>  >
>  >  #export DH_VERBOSE=1
>  >
>  >   unexport LDFLAGS
>  >  +export FFLAGS="-fPIC"
>
>  No, no. -fPIC *should* be there out-of-box. We need to figure out the
>  actual problem rather than pasting it over like this.

Sure -- now when it builds, let's find the real problem. If you want,
I can create you an account on amd64 Debian box.
Or let me know what I should try.

Ondrej


More information about the Scipy-dev mailing list