Building Blender Cycles

First of all: I have read this:
http://wiki.blender.org/index.php/Dev:2.5/Source/Render/Cycles/Building

However, I seem to have encountered a problem:

[ 95%] Building CXX object intern/cycles/device/CMakeFiles/cycles_device.dir/device_multi.cpp.o
[ 95%] Building CXX object intern/cycles/device/CMakeFiles/cycles_device.dir/device_network.cpp.o
[ 96%] Building CXX object intern/cycles/device/CMakeFiles/cycles_device.dir/device_opencl.cpp.o
Linking CXX static library ../../../lib/libcycles_device.a
[ 96%] Built target cycles_device
[ 96%] Building CXX object intern/cycles/render/CMakeFiles/cycles_render.dir/attribute.cpp.o
[ 96%] Building CXX object intern/cycles/render/CMakeFiles/cycles_render.dir/background.cpp.o
In file included from /usr/include/boost/function/detail/prologue.hpp:17,
                 from /usr/include/boost/function.hpp:24,
                 from /usr/include/boost/iterator/transform_iterator.hpp:10,
                 from /usr/include/boost/algorithm/string/case_conv.hpp:17,
                 from /usr/include/boost/date_time/string_parse_tree.hpp:14,
                 from /usr/include/boost/date_time/period_parser.hpp:14,
                 from /usr/include/boost/date_time/date_facet.hpp:23,
                 from /usr/include/boost/date_time/gregorian/gregorian_io.hpp:16,
                 from /usr/include/boost/date_time/gregorian/conversion.hpp:25,
                 from /usr/include/boost/date_time/posix_time/conversion.hpp:16,
                 from /usr/include/boost/thread/xtime.hpp:15,
                 from /usr/include/boost/thread/pthread/mutex.hpp:13,
                 from /usr/include/boost/thread/mutex.hpp:16,
                 from /usr/include/boost/thread/pthread/thread_data.hpp:12,
                 from /usr/include/boost/thread/thread.hpp:17,
                 from /usr/include/boost/thread.hpp:13,
                 from /home/kr2/Blender/blender-cycles-linux-own/blender/intern/cycles/render/../util/util_thread.h:22,
                 from /home/kr2/Blender/blender-cycles-linux-own/blender/intern/cycles/render/../device/device.h:27,
                 from /home/kr2/Blender/blender-cycles-linux-own/blender/intern/cycles/render/background.cpp:20:
/usr/include/boost/function/function_base.hpp: In static member function ‘static void boost::detail::function::reference_manager<F>::manage(const boo
st::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type)’:
/usr/include/boost/function/function_base.hpp:220: error: cannot use typeid with -fno-rtti
/usr/include/boost/function/function_base.hpp:232: error: cannot use typeid with -fno-rtti
/usr/include/boost/function/function_base.hpp: In static member function ‘static void boost::detail::function::functor_manager_common<Functor>::manag
e_ptr(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type)’:
/usr/include/boost/function/function_base.hpp:288: error: cannot use typeid with -fno-rtti
/usr/include/boost/function/function_base.hpp:293: error: cannot use typeid with -fno-rtti
/usr/include/boost/function/function_base.hpp: In static member function ‘static void boost::detail::function::functor_manager_common<Functor>::manage_small(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type)’:
/usr/include/boost/function/function_base.hpp:318: error: cannot use typeid with -fno-rtti
/usr/include/boost/function/function_base.hpp:323: error: cannot use typeid with -fno-rtti
/usr/include/boost/function/function_base.hpp: In static member function ‘static void boost::detail::function::functor_manager<Functor>::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, mpl_::false_)’:
/usr/include/boost/function/function_base.hpp:377: error: cannot use typeid with -fno-rtti
/usr/include/boost/function/function_base.hpp:382: error: cannot use typeid with -fno-rtti
/usr/include/boost/function/function_base.hpp: In static member function ‘static void boost::detail::function::functor_manager<Functor>::manage(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type)’:
/usr/include/boost/function/function_base.hpp:417: error: cannot use typeid with -fno-rtti
/usr/include/boost/function/function_base.hpp: In static member function ‘static void boost::detail::function::functor_manager_a<Functor, Allocator>::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, mpl_::false_)’:
/usr/include/boost/function/function_base.hpp:488: error: cannot use typeid with -fno-rtti
/usr/include/boost/function/function_base.hpp:493: error: cannot use typeid with -fno-rtti
/usr/include/boost/function/function_base.hpp: In static member function ‘static void boost::detail::function::functor_manager_a<Functor, Allocator>::manage(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type)’:
/usr/include/boost/function/function_base.hpp:520: error: cannot use typeid with -fno-rtti
/usr/include/boost/function/function_base.hpp: In member function ‘const std::type_info& boost::function_base::target_type() const’:
/usr/include/boost/function/function_base.hpp:625: error: cannot use typeid with -fno-rtti
/usr/include/boost/function/function_base.hpp: In member function ‘Functor* boost::function_base::target()’:
/usr/include/boost/function/function_base.hpp:638: error: cannot use typeid with -fno-rtti
/usr/include/boost/function/function_base.hpp: In member function ‘const Functor* boost::function_base::target() const’:
/usr/include/boost/function/function_base.hpp:656: error: cannot use typeid with -fno-rtti
make[2]: *** [intern/cycles/render/CMakeFiles/cycles_render.dir/background.cpp.o] Error 1
make[1]: *** [intern/cycles/render/CMakeFiles/cycles_render.dir/all] Error 2
make: *** [all] Error 2

gcc

Using built-in specs.
Target: i586-blackPanther-linux-gnu
Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-checking=release --enable-languages=c,c++,fortran,objc,obj-c++,java --build=i586-blackPanther-linux-gnu --host=i586-blackPanther-linux-gnu --with-cpu=generic --with-system-zlib --enable-threads=posix --enable-shared --enable-objc-gc --enable-long-long --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --enable-java-awt=gtk --with-java-home=/usr/java/latest-devel/jre --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-gtk-cairo --disable-libjava-multilib --enable-ssp --disable-libssp --disable-werror --with-ppl --with-cloog --with-python-dir=/lib/python2.6/site-packages
Thread model: posix
gcc version 4.4.1 (GCC)

boost (/usr/include/boost/version.hpp)
1.39

custom python
http://wiki.blender.org/index.php/Dev:2.5/Doc/Building_Blender/Linux/Troubleshooting