[SciPy-dev] Error building from svn on Intel Macs.
Sat May 31 15:24:48 CDT 2008
I did 'rm -rf build', and here's the output from scratch. I'm building
with "python setup.py build". Since the log file is large, I am
putting it up here:
> Message: 2
> Date: Fri, 30 May 2008 16:12:42 -0500
> From: "Robert Kern" <firstname.lastname@example.org>
> Subject: Re: [SciPy-dev] Error building from svn on Intel Macs.
> To: "SciPy Developers List" <email@example.com>
> Content-Type: text/plain; charset=UTF-8
> On Fri, May 30, 2008 at 3:53 PM, Viral Shah
> <firstname.lastname@example.org> wrote:
>> I am using an Intel Mac, and trying to build scipy following the
>> instructions at: http://www.scipy.org/Installing_SciPy/Mac_OS_X
>> I was able to successfully build numpy (from svn) without any extra
>> configuration. For scipy, even though I have installed the gfortran
>> compiler, setup doesn't seem to like the fact that I have 4.2.3. I am
>> using gcc 4.0.1 that is supplied by Apple. I get the following:
>> customize G95FCompiler
>> customize GnuFCompiler
>> customize Gnu95FCompiler
>> Couldn't match compiler version for 'GNU Fortran (GCC)
>> 4.2.3\nCopyright (C) 2007 Free Software Foundation, Inc.\n\nGNU
>> Fortran comes with NO WARRANTY, to the extent permitted by law.\nYou
>> may redistribute copies of GNU Fortran\nunder the terms of the GNU
>> General Public License.\nFor more information about these matters,
>> the file named COPYING\n'
>> After searching around on scipy-dev, I resorted to doing this:
>> $ python setup.py config_fc --fcompiler=gnu95 build
>> That allowed me to get further, but left me with the following error
>> that I don't understand. I can help update the instructions page with
>> info about compilers, if I can get this process working. Thanks in
> Please provide the full output. The error that you see is a result of
> a failure to correctly configure the Fortran compiler earlier. The
> current numpy SVN should be able to handle the version string you give
> In : from numpy.distutils.fcompiler import gnu
> In : fc = gnu.Gnu95FCompiler()
> In : v = 'GNU Fortran (GCC) 4.2.3\nCopyright (C) 2007 Free
> Software Foundation, Inc.\n\nGNU Fortran comes with NO WARRANTY, to
> the extent permitted by law.\nYou may redistribute copies of GNU
> Fortran\nunder the terms of the GNU General Public License.\nFor more
> information about these matters, see the file named COPYING\n'
> In : print v
> GNU Fortran (GCC) 4.2.3
> Copyright (C) 2007 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
> In : fc.version_match(v)
> Out: '4.2.3'
> 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
> Scipy-dev mailing list
> End of Scipy-dev Digest, Vol 55, Issue 29
More information about the Scipy-dev