On Thu, 1 Jul 2010 19:24:40 -0700, nhieu duong <som3azn...@gmail.com> wrote:
> hi,
> 
> ive been endlessly trying to install pycuda on a red hat dist. machine, but
> to no avail. it would be much appreciated if i could get some help.
> 
> i am able to get past the configure part of the installation, but the when i
> "make" , the problem occurs. here is my siteconf.py file
> 
> BOOST_INC_DIR = ['/usr/local/include/boost/']
> BOOST_LIB_DIR = ['/usr/lib']
> BOOST_COMPILER = 'gcc4.1.2'
> BOOST_PYTHON_LIBNAME = ['boost_python']
> BOOST_THREAD_LIBNAME = ['boost_thread']
> CUDA_TRACE = False
> CUDA_ROOT = '/usr/local/cuda/'
> CUDA_ENABLE_GL = False
> CUDADRV_LIB_DIR = ['/usr/lib']
> CUDADRV_LIBNAME = ['cuda']
> CXXFLAGS = ['-DBOOST_PYTHON_NO_PY_SIGNATURES']
> LDFLAGS = []
> 
> i beleive i built boost with gcc version 4.1.2
> 
> 
> the error im getting is.....
> 
> /usr/local/include/boost/type_traits/remove_const.hpp:61:   instantiated
> from ‘boost::remove_const<<unnamed>::pooled_host_allocation>’
> /usr/local/include/boost/python/object/pointer_holder.hpp:127:
> instantiated from ‘void* boost::python::objects::pointer_holder<Pointer,
> Value>::holds(boost::python::type_info, bool) [with Pointer =
> std::auto_ptr<<unnamed>::pooled_host_allocation>, Value =
> <unnamed>::pooled_host_allocation]’
> src/wrapper/mempool.cpp:278:   instantiated from here
> /usr/local/include/boost/type_traits/detail/cv_traits_impl.hpp:38: internal
> compiler error: in make_rtl_for_nonlocal_decl, at cp/decl.c:5067

http://wiki.tiker.net/PyCuda/FrequentlyAskedQuestions#I_have_.3Cinsert_random_compilation_problem.3E_with_gcc_4.1_or_older._Help.21

HTH,
Andreas

Attachment: pgpxugJSSDfQW.pgp
Description: PGP signature

_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
http://lists.tiker.net/listinfo/pycuda

Reply via email to