[SciPy-dev] FTBFS on Debian
Mon Apr 14 10:58:52 CDT 2008
On Mon, Apr 14, 2008 at 9:43 AM, Ondrej Certik <firstname.lastname@example.org> wrote:
> On Mon, Apr 14, 2008 at 4:19 PM, Robert Kern <email@example.com> wrote:
> > On Mon, Apr 14, 2008 at 8:19 AM, Ondrej Certik <firstname.lastname@example.org> 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.
"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