[SciPy-user] Re: (long) Weave installation problems on Linux
Leighton Pritchard
lep at aber.ac.uk
Mon Dec 9 04:38:34 EST 2002
At 12:00 06/12/2002, you wrote:
>All errors that you saw from weave tests are due to using a
>"wrong" compiler. I believe that the current weave fully supports gcc 2.95
>compiler. When using gcc 3.x compilers, some weave test are known to fail.
>You may try weave-3.0 from its CVS, it has less issues when using gcc
>3.x compilers.
Thanks for the help. I've obtained weave from cvs using
cvs -d :pserver:anonymous at scipy.org:/home/cvsroot checkout weave
Is there another source for this, as I'm still getting errors of:
==================================================
/usr/local/lib/python2.2/site-packages/weave/blitz-20001213/blitz/ops.h:220: no
match for `std::complex<float>& / double&' operator
===================================================
/home/lep/.python22_compiled/211372/sc_a6df888dc732b38ae7a4c5fa1063b4251.cpp:
In
function `PyObject* compiled_func(PyObject*, PyObject*)':
/home/lep/.python22_compiled/211372/sc_a6df888dc732b38ae7a4c5fa1063b4251.cpp:649:
no
match for `std::string& < int' operator
/home/lep/.python22_compiled/211372/sc_a6df888dc732b38ae7a4c5fa1063b4251.cpp:653:
no
match for `std::string& + int' operator
/usr/include/g++-v3/bits/stl_bvector.h:267: candidates are:
std::_Bit_const_iterator std::operator+(int, const
std::_Bit_const_iterator&)
/usr/include/g++-v3/bits/stl_bvector.h:208: std::_Bit_iterator
std::operator+(int, const std::_Bit_iterator&)
=====================================================
ERROR: result[1:-1,1:-1] = (b[1:-1,1:-1] + b[2:,1:-1] + b[:-2,1:-1]
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/local/lib/python2.2/site-packages/weave/tests/test_blitz_tools.py",
line 150, in check_5point_avg_2d
self.generic_2d(expr)
File
"/usr/local/lib/python2.2/site-packages/weave/tests/test_blitz_tools.py",
line 124, in generic_2d
mod_location)
File
"/usr/local/lib/python2.2/site-packages/weave/tests/test_blitz_tools.py",
line 80, in generic_test
blitz_tools.blitz(expr,arg_dict,{},verbose=0) #,
File "/usr/local/lib/python2.2/site-packages/weave/blitz_tools.py", line
72, in blitz
type_converters = converters.blitz,
File "/usr/local/lib/python2.2/site-packages/weave/inline_tools.py",
line 439, in compile_function
verbose=verbose, **kw)
File "/usr/local/lib/python2.2/site-packages/weave/ext_tools.py", line
332, in compile
verbose = verbose, **kw)
File "/usr/local/lib/python2.2/site-packages/weave/build_tools.py", line
221, in build_extension
setup(name = module_name, ext_modules = [ext],verbose=verb)
File "/usr/local/lib/python2.2/distutils/core.py", line 157, in setup
raise SystemExit, "error: " + str(msg)
CompileError: error: command 'gcc' failed with exit status 1
==================================================
Or is this what you meant by 'less issues'? ;)
--
Dr Leighton Pritchard AMRSC
T44, Cledwyn Building
Institute of Biological Sciences
University of Wales, Aberystwyth, SY23 3DD
Tel 01970 622353 ext. 2353
PGP public key - http://www.keyserver.net (0x47B4A485)
More information about the SciPy-User
mailing list