In article 
<cafxk4brjwx_whsh7v_b62ug+3q2ctqvewgctf-p-atfe4hq...@mail.gmail.com>,
 Olivier Delalleau <[email protected]> wrote:

> 2011/12/12 Russell E. Owen <[email protected]>
> 
> > In article
> > <cabl7cqjezmtswcupj0kgfjz4xc4arrwn24bi3svzjwcc2t9...@mail.gmail.com>,
> >  Ralf Gommers <[email protected]> wrote:
> >
> > > On Fri, Dec 9, 2011 at 8:02 PM, Russell E. Owen <[email protected]> wrote:
> > >
> > > > I'm trying to build numpy 1.6.1 on Scientific Linux 5 but the unit
> > tests
> > > > claim the wrong version of fortran was used. I thought I knew how to
> > > > avoid that, but it's not working.
> > > >
> > > >...(elided text that suggests numpy is building using g77 even though I
> > asked for gfortran)...
> > > >
> > > > Any suggestions on how to fix this?
> > > >
> > >
> > > I assume you have g77 installed and on your PATH. If so, try moving it
> > off
> > > your path.
> >
> > Yes. I would have tried that if I had known how to do it (though I'm
> > puzzled why it would be wanted since I told the installer to use
> > gfortran).
> >
> > The problem is that g77 is in /usr/bin/ and I don't have root privs on
> > this system.
> >
> > -- Russell
> >
> 
> You could create a link g77 -> gfortran and make sure this link comes first
> in your PATH.
> (That's assuming command lines for g77 and gfortran are compatible -- I
> don't know if that's the case).

Interesting idea. I gave it a try (see P.S.), but it didn't help. I get 
the same error in the unit test.

-- Russell

P.S.
-bash-3.2$ which g77
~/local/bin/g77
-bash-3.2$ ls -l ~/local/bin/g77
lrwxrwxrwx 1 rowen astro 19 Dec 20 10:59 
/astro/users/rowen/local/bin/g77 -> /usr/bin/gfortran44
-bash-3.2$ g77 --version
GNU Fortran (GCC) 4.4.0 20090514 (Red Hat 4.4.0-6)
Copyright (C) 2009 Free Software Foundation, Inc.

GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING

_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to