[SciPy-dev] weave problem.

Frank Noe fnoe at gmx.net
Wed Jun 11 16:17:12 CDT 2003


Dear developers,

I have a technical problem with weave. Any attempt to use it results in 
a bunch of gcc errors (see below).
I am using RedHat 9 (gcc version 3.2.2), python 2.2.2 and
weave 0.2.3.

Can anyone help me with this problem?

thanks,
	Frank.


Python 2.2.2 (#1, Feb 24 2003, 19:13:11)
[GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> import weave
 >>> a = 1
 >>> weave.inline('printf("%d\\n",a);',['a'])
In file included from /usr/include/c++/3.2.2/backward/strstream:51,
                  from 
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:15,
                  from 
/home/fnoe/.python22_compiled/sc_e013937dbc8c647ac62438874e5795133.cpp:5:
/usr/include/c++/3.2.2/backward/backward_warning.h:32:2: warning: 
#warning This file includes at least one deprecated or antiquated 
header. Please consider using one of the 32 headers found in section 
17.4.1.2 of the C++ standard. Examples include substituting the <X> 
header for the <X.h> header for C++ includes, or <sstream> instead of 
the deprecated header <strstream.h>. To disable this warning use 
-Wno-deprecated.
In file included from 
/home/fnoe/.python22_compiled/sc_e013937dbc8c647ac62438874e5795133.cpp:5:
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1143: no class 
template
    named `random_access_iterator' in `std'
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1279: no class 
template
    named `random_access_iterator' in `std'
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1409: warning: 
`typename
    Py::SeqBase<T>::iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1409: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1409: warning: 
`typename
    Py::SeqBase<T>::iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1409: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1410: warning: 
`typename
    Py::SeqBase<T>::iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1410: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1410: warning: 
`typename
    Py::SeqBase<T>::iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1410: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1411: warning: 
`typename
    Py::SeqBase<T>::iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1411: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1411: warning: 
`typename
    Py::SeqBase<T>::iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1411: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1412: warning: 
`typename
    Py::SeqBase<T>::iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1412: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1412: warning: 
`typename
    Py::SeqBase<T>::iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1412: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1413: warning: 
`typename
    Py::SeqBase<T>::iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1413: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1413: warning: 
`typename
    Py::SeqBase<T>::iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1413: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1414: warning: 
`typename
    Py::SeqBase<T>::iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1414: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1414: warning: 
`typename
    Py::SeqBase<T>::iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1414: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1416: warning: 
`typename
    Py::SeqBase<T>::const_iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1416: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1416: warning: 
`typename
    Py::SeqBase<T>::const_iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1416: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1417: warning: 
`typename
    Py::SeqBase<T>::const_iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1417: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1417: warning: 
`typename
    Py::SeqBase<T>::const_iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1417: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1418: warning: 
`typename
    Py::SeqBase<T>::const_iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1418: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1418: warning: 
`typename
    Py::SeqBase<T>::const_iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1418: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1419: warning: 
`typename
    Py::SeqBase<T>::const_iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1419: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1419: warning: 
`typename
    Py::SeqBase<T>::const_iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1419: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1420: warning: 
`typename
    Py::SeqBase<T>::const_iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1420: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1420: warning: 
`typename
    Py::SeqBase<T>::const_iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1420: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1421: warning: 
`typename
    Py::SeqBase<T>::const_iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1421: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1421: warning: 
`typename
    Py::SeqBase<T>::const_iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:1421: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:2348: warning: 
`typename
    Py::MapBase<T>::iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:2348: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:2348: warning: 
`typename
    Py::MapBase<T>::iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:2348: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:2349: warning: 
`typename
    Py::MapBase<T>::iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:2349: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:2349: warning: 
`typename
    Py::MapBase<T>::iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:2349: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:2350: warning: 
`typename
    Py::MapBase<T>::const_iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:2350: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:2350: warning: 
`typename
    Py::MapBase<T>::const_iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:2350: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:2351: warning: 
`typename
    Py::MapBase<T>::const_iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:2351: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:2351: warning: 
`typename
    Py::MapBase<T>::const_iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Objects.hxx:2351: warning: 
implicit
    typename is deprecated, please see the documentation for details
In file included from 
/home/fnoe/.python22_compiled/sc_e013937dbc8c647ac62438874e5795133.cpp:6:
/usr/lib/python2.2/site-packages/weave/CXX/Extensions.hxx: In member 
function
    `void Py::ExtensionModule<T>::initialize(const char*)':
/usr/lib/python2.2/site-packages/weave/CXX/Extensions.hxx:200: warning: `
    typename std::map<std::string, Py::MethodDefExt<T>*, 
std::less<std::string>,
    std::allocator<std::pair<const std::string, Py::MethodDefExt<T>*> >
    >::iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Extensions.hxx:200: warning: 
implicit
    typename is deprecated, please see the documentation for details
/usr/lib/python2.2/site-packages/weave/CXX/Extensions.hxx: In member 
function
    `virtual Py::Object Py::PythonExtension<T>::getattr_methods(const 
char*)':
/usr/lib/python2.2/site-packages/weave/CXX/Extensions.hxx:494: warning: `
    typename std::map<std::string, Py::MethodDefExt<T>*, 
std::less<std::string>,
    std::allocator<std::pair<const std::string, Py::MethodDefExt<T>*> >
    >::iterator' is implicitly a typename
/usr/lib/python2.2/site-packages/weave/CXX/Extensions.hxx:494: warning: 
implicit
    typename is deprecated, please see the documentation for details
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File "/usr/lib/python2.2/site-packages/weave/inline_tools.py", line 
327, in inline
     auto_downcast = auto_downcast,
   File "/usr/lib/python2.2/site-packages/weave/inline_tools.py", line 
426, in compile_function
     verbose=verbose, **kw)
   File "/usr/lib/python2.2/site-packages/weave/ext_tools.py", line 349, 
in compile
     verbose = verbose, **kw)
   File "/usr/lib/python2.2/site-packages/weave/build_tools.py", line 
194, in build_extension
     setup(name = module_name, ext_modules = [ext],verbose=verb)
   File "/usr/lib/python2.2/distutils/core.py", line 157, in setup
     raise SystemExit, "error: " + str(msg)
weave.build_tools.CompileError: error: command 'gcc' failed with exit 
status 1
 >>>




More information about the Scipy-dev mailing list