[SciPy-dev] Problem building newcore on windows with MinGW

Brett Olivier bgoli at sun.ac.za
Thu Nov 10 08:28:26 EST 2005


Thanks, works like a charm, the following is the result of scipy.test(10,10):

======================================================================
FAIL: limited-memory bound-constrained BFGS algorithm
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Python23\lib\site-packages\scipy\optimize\tests\test_optimize.py", 
li
ne 120, in check_l_bfgs_b
    assert err < 1e-6
AssertionError
======================================================================
FAIL: check_round (scipy.special.basic.test_basic.test_round)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Python23\lib\site-packages\scipy\special\tests\test_basic.py", line 
1
793, in check_round
    assert_array_equal(rnd,rndrl)
  File "c:\python23\Lib\site-packages\scipy\test\testing.py", line 710, in 
asser
t_array_equal
    assert cond,\
AssertionError:
Arrays are not equal (mismatch 25.0%):
        Array 1: [10 10 10 11]
        Array 2: [10 10 11 11]
======================================================================
FAIL: check_1 (scipy.distutils.misc_util.test_misc_util.test_appendpath)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:
\Python23\lib\site-packages\scipy\distutils\tests\test_misc_util.py",
line 10, in check_1
    assert_equal(appendpath('/prefix','name'),join('/prefix','name'))
  File "c:\python23\Lib\site-packages\scipy\test\testing.py", line 638, in 
asser
t_equal
    assert desired == actual, msg
AssertionError:
Items are not equal:
DESIRED: '/prefix\\name'
ACTUAL: '\\prefix\\name'
======================================================================
FAIL: check_2 (scipy.distutils.misc_util.test_misc_util.test_appendpath)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:
\Python23\lib\site-packages\scipy\distutils\tests\test_misc_util.py",
line 20, in check_2
    join('/prefix','sub','name'))
  File "c:\python23\Lib\site-packages\scipy\test\testing.py", line 638, in 
asser
t_equal
    assert desired == actual, msg
AssertionError:
Items are not equal:
DESIRED: '/prefix\\sub\\name'
ACTUAL: '\\prefix\\sub\\prefix\\name'
======================================================================
FAIL: check_3 (scipy.distutils.misc_util.test_misc_util.test_appendpath)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:
\Python23\lib\site-packages\scipy\distutils\tests\test_misc_util.py",
line 24, in check_3
    join('/prefix','sub','sup','name'))
  File "c:\python23\Lib\site-packages\scipy\test\testing.py", line 638, in 
asser
t_equal
    assert desired == actual, msg
AssertionError:
Items are not equal:
DESIRED: '/prefix\\sub\\sup\\name'
ACTUAL: '\\prefix\\sub\\prefix\\sup\\name'
======================================================================
FAIL: limited-memory bound-constrained BFGS algorithm
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Python23\lib\site-packages\scipy\optimize\tests\test_optimize.py", 
li
ne 120, in check_l_bfgs_b
    assert err < 1e-6
AssertionError
----------------------------------------------------------------------
Ran 1366 tests in 80.636s

FAILED (failures=6)
Out[5]: <unittest.TextTestRunner object at 0x059E4990>

On Wednesday 09 November 2005 21:02, Travis Oliphant wrote:
> Brett Olivier wrote:
> >Hi
> >
> >I'm trying to build yesterdays newcore on Windows (ATLAS 3.7.11, MinGW gcc
> >3.4.4) and distutils does not seem to recognise the --compiler=mingw32
> > switch anymore:
> >
> >++++
>
> You need to use the --compiler=mingw32 switch for the config command as
> well:
>
> python setup.py config --compiler=mingw32 build --compiler=mingw32
>
> There may be a way we can fix this in the setup.py script (so that one
> compiler switch gets applied to all the commands, but it hasn't been
> done yet).
>
> -Travis
>
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-dev

-- 
Brett G. Olivier
Postdoctoral Fellow
Triple-J Group for Molecular Cell Physiology
Stellenbosch University




More information about the SciPy-Dev mailing list