** Description changed:

  Binary package hint: python-scipy
  
  The compiler fails with the following error:
  
  <weave: compiling>
  In file included from 
/usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/applics.h:400,
                   from 
/usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/vecexpr.h:32,
                   from 
/usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/vecpick.cc:16,
                   from 
/usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/vecpick.h:293,
                   from 
/usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/vector.h:449,
                   from 
/usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/tinyvec.h:430,
                   from 
/usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/array-impl.h:44,
                   from 
/usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/array.h:32,
                   from 
/home/smorar/.python25_compiled/sc_b1d4a37f384bb7ae593fe0b86178e5990.cpp:11:
  /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/mathfunc.h: In 
static member function ‘static long int blitz::_bz_abs<long int>::apply(long 
int)’:
  /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/mathfunc.h:45: 
error: ‘labs’ is not a member of ‘std’
  In file included from 
/usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/array/funcs.h:29,
                   from 
/usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/array/newet.h:29,
                   from 
/usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/array/et.h:27,
                   from 
/usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/array-impl.h:2515,
                   from 
/usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/array.h:32,
                   from 
/home/smorar/.python25_compiled/sc_b1d4a37f384bb7ae593fe0b86178e5990.cpp:11:
  /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/funcs.h: In static 
member function ‘static int blitz::Fn_abs<int>::apply(int)’:
  /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/funcs.h:509: error: 
call of overloaded ‘abs(int&)’ is ambiguous
  /usr/include/c++/4.3/cmath:99: note: candidates are: double std::abs(double)
  /usr/include/c++/4.3/cmath:103: note:                 float std::abs(float)
  /usr/include/c++/4.3/cmath:107: note:                 long double 
std::abs(long double)
  /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/funcs.h: In static 
member function ‘static long int blitz::Fn_abs<long int>::apply(long int)’:
  /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/funcs.h:530: error: 
‘labs’ is not a member of ‘std’
  
  This problem can be worked around by changing /usr/bin/g++ from g++-4.3
  to point to g++-4.2
+ 
+ I am using Intrepid
+ [EMAIL PROTECTED]:/usr/bin# dpkg -l|grep python-scipy
+ ii  python-scipy                                   0.6.0-11                   
           scientific tools for Python

-- 
scipy.weave.inline compilation fails with gcc 4.3
https://bugs.launchpad.net/bugs/302649
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to