[SciPy-dev] FTBFS on Debian
Robert Kern
robert.kern at gmail.com
Mon Apr 14 11:58:52 EDT 2008
On Mon, Apr 14, 2008 at 9:43 AM, Ondrej Certik <ondrej at certik.cz> wrote:
> On Mon, Apr 14, 2008 at 4:19 PM, Robert Kern <robert.kern at gmail.com> wrote:
> > On Mon, Apr 14, 2008 at 8:19 AM, Ondrej Certik <ondrej at 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.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the SciPy-Dev
mailing list