When I try to compile monotone 0.20; i got the following error messages: /usr/include/boost/regex/v4/char_regex_traits.hpp: In member function 'uint_fast32_t boost::deprecated::char_regex_traits_i<wchar_t>::lookup_classname(const wchar_t*, const wchar_t*) const': /usr/include/boost/regex/v4/char_regex_traits.hpp:68: error: 'boost::re_detail::c_traits_base::<anonymous enum>' is/uses anonymous type /usr/include/boost/regex/v4/char_regex_traits.hpp:68: error: trying to instantiate 'template<class T> struct boost::is_integral' make[2]: *** [monotone-commands.o] Error 1 make[2]: Leaving directory `/home/pclinux/redhat/BUILD/monotone-0.20' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/pclinux/redhat/BUILD/monotone-0.20' make: *** [all] Error 2 I have found out, that gcc-4.0.1 has problems with a nonymous enum, which occured in a header file of boost-devel. So I have create a patch, which convert the anonymous enum into static consts. Best Ragards: Jochen Schmitt
Created attachment 116577 [details] Patch which contains a workaround for the anon enum problem.
Can you try the boost-1.33.0 packages with gcc-4.0.x? I believe this will be a better fit. -benjamin