I'm sad to say that there's again a pb. This time it's gcc that's break :

...
/tmpp/cnu0003/penalva/python/include/boost-1_37/boost/python/detail/caller.hpp:232:
  instantiated from ‘static boost::python::detail::py_func_sig_info
boost::python::detail::caller_arity<1u>::impl<F, Policies, Sig>::signature()
[with F = unsigned int (<unnamed>::memory_pool<<unnamed>::cuda_allocator>::*)(),
Policies = boost::python::default_call_policies, Sig =
boost::mpl::vector2<unsigned int,
<unnamed>::memory_pool<<unnamed>::cuda_allocator>&>]’
/tmpp/cnu0003/penalva/python/include/boost-1_37/boost/python/object/py_function.hpp:48:
  instantiated from ‘boost::python::detail::py_func_sig_info
boost::python::objects::caller_py_function_impl<Caller>::signature() const [with
Caller = boost::python::detail::caller<unsigned int
(<unnamed>::memory_pool<<unnamed>::cuda_allocator>::*)(),
boost::python::default_call_policies, boost::mpl::vector2<unsigned int,
<unnamed>::memory_pool<<unnamed>::cuda_allocator>&> >]’
src/wrapper/tools.cpp:394:   instantiated from here
/tmpp/cnu0003/penalva/python/include/boost-1_37/boost/type_traits/detail/cv_traits_impl.hpp:37:
internal compiler error: in make_rtl_for_nonlocal_decl, at cp/decl.c:4970
Please submit a full bug report,
...

  My versions :

gcc 4.1.2
python 2.4
boost 1_37_0
numpy 1.2.1
pycuda from git

  Is it possible that will work with a 2.6 version of python (i can try to
install this version ...) ?


On Mon, 22 Dec 2008 09:14:30 -0500, Andreas Klöckner wrote
> On Montag 22 Dezember 2008, Jean-Christophe Penalva wrote:
> >   Hello,
> >
> >   i try to install Pycuda on a host with python 2.4.
> >
> >   All is good (boost, numpy), until i fall on a problem during the make of
> > pycuda. There's a test on the version of python (for version >= 2.5 ...),
> > and that break my compil :
> > src/cpp/cuda.hpp: In member function &#8216;void
> > cuda::memcpy_2d::set_src_host(boost::python::api::object)&#8217;:
> > src/cpp/cuda.hpp:942: error: &#8216;Py_ssize_t&#8217; was not declared in
> > this scope src/cpp/cuda.hpp:942: error: expected `;' before
> > &#8216;len&#8217; src/cpp/cuda.hpp:942: error: &#8216;len&#8217; was not
> > declared in this scope
> 
> Hi Jean-Christophe,
> 
> I've ifdef'ed out the Py_ssize_t's for Py<2.5 in git. Let me know if 
> that does the trick or if further fixes are needed.
> 
> Andreas


###################################################################### 
Jean-Christophe Penalva 
Centre Informatique National de l'Enseignement Superieur (CINES) 
Montpellier, FRANCE
Tel : 33 4 67 141 414    Fax : 33 4 67 523 763
http://www.cines.fr/


_______________________________________________
PyCuda mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to