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

i only included the ends. if you want the entire thing let me know. but the error seems to point to a gcc problem. ive read thru
your archives but doesnt seem to solve this problem

if someone could shed some light on this issue, i would very appreciate it.

thanks 
-nhieu