Page 1 of 1

Failure building deluge-1.1.2 on Centos 5.2 x86

Posted: Sat Feb 14, 2009 9:08 am
by leigh
Hey everyone, ive been trying to get this installed on my remote box, but im having a few issues.

First, ive compiled everything from source (. Which went fine after a few hiccups ( a bit more documentation could be nice, maybe ill do that myself if this works =] ).

Installed under /home/leigh/fakeroot prefix:
bzip2-1.0.5
pyOpenSSL-0.8
openssl-0.9.8j
zlib-1.2.3
setuptools-0.6c9
gettext-0.17
Twisted-8.2.0
TwistedWeb-8.2.0

boost_1_38_0 (./configure --prefix=/home/leigh/fakeroot --with-python=/home/leigh/fakeroot/bin/python --with-libraries=serialization,thread,date_time,iostreams,filesystem)
python 2.6.1 (./configure --prefix=/home/leigh/fakeroot)

All that seems to function okay as far as i can tell, but when trying to build libtorrent from the deluge source tree im presented with the following gcc error:

ERROR
-------------------

Code: Select all

gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.6 -I/home/leigh/fakeroot//include -I/home/leigh/fakeroot/include/boost-1_38/ -I/home/leigh/fakeroot/include/python2.6 -c ./libtorrent/bindings/python/src/peer_plugin.cpp -o build/temp.linux-i686-2.6/./libtorrent/bindings/python/src/peer_plugin.o -D_FILE_OFFSET_BITS=64 -DNDEBUG -DTORRENT_USE_OPENSSL=1 -O2 -Wno-missing-braces
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
/home/leigh/fakeroot/include/boost-1_38/boost/type_traits/detail/cv_traits_impl.hpp: In instantiation of ‘const bool boost::detail::cv_traits_imp<<unnamed>::peer_plugin_wrap*>::is_const’:
/home/leigh/fakeroot/include/boost-1_38/boost/type_traits/is_const.hpp:57:   instantiated from ‘boost::is_const<<unnamed>::peer_plugin_wrap>’
/home/leigh/fakeroot/include/boost-1_38/boost/python/detail/cv_category.hpp:31:   instantiated from ‘boost::python::detail::cv_category<<unnamed>::peer_plugin_wrap>’
/home/leigh/fakeroot/include/boost-1_38/boost/python/detail/unwind_type.hpp:58:   instantiated from ‘typename Generator::result_type boost::python::detail::unwind_ptr_type(U*, Generator*) [with Generator = boost::python::converter::detail::unwind_type_id_helper, U = <unnamed>::peer_plugin_wrap]’
/home/leigh/fakeroot/include/boost-1_38/boost/python/detail/unwind_type.hpp:127:   instantiated from ‘static typename Generator::result_type boost::python::detail::unwind_helper2<2>::execute(U& (*)(), Generator*) [with Generator = boost::python::converter::detail::unwind_type_id_helper, U = <unnamed>::peer_plugin_wrap]’
/home/leigh/fakeroot/include/boost-1_38/boost/python/detail/unwind_type.hpp:165:   instantiated from ‘typename Generator::result_type boost::python::detail::unwind_type(boost::type<U>*, Generator*) [with Generator = boost::python::converter::detail::unwind_type_id_helper, U = <unnamed>::peer_plugin_wrap&]’
/home/leigh/fakeroot/include/boost-1_38/boost/python/converter/pytype_function.hpp:45:   instantiated from ‘boost::python::type_info boost::python::converter::detail::unwind_type_id_(boost::type<Target>*, mpl_::false_*) [with T = <unnamed>::peer_plugin_wrap&]’
/home/leigh/fakeroot/include/boost-1_38/boost/python/converter/pytype_function.hpp:68:   instantiated from ‘static const PyTypeObject* boost::python::converter::expected_pytype_for_arg<T>::get_pytype() [with T = <unnamed>::peer_plugin_wrap&]’
/home/leigh/fakeroot/include/boost-1_38/boost/python/detail/signature.hpp:98:   instantiated from ‘static const boost::python::detail::signature_element* boost::python::detail::signature_arity<1u>::impl<Sig>::elements() [with Sig = boost::mpl::vector2<void, <unnamed>::peer_plugin_wrap&>]’
/home/leigh/fakeroot/include/boost-1_38/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 = void (<unnamed>::peer_plugin_wrap::*)(), Policies = boost::python::default_call_policies, Sig = boost::mpl::vector2<void, <unnamed>::peer_plugin_wrap&>]’
/home/leigh/fakeroot/include/boost-1_38/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<void (<unnamed>::peer_plugin_wrap::*)(), boost::python::default_call_policies, boost::mpl::vector2<void, <unnamed>::peer_plugin_wrap&> >]’
./libtorrent/bindings/python/src/peer_plugin.cpp:357:   instantiated from here
/home/leigh/fakeroot/include/boost-1_38/boost/type_traits/detail/cv_traits_impl.hpp:37: internal compiler error: in make_rtl_for_nonlocal_decl, at cp/decl.c:5067
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/cc2BAuPU.out file, please attach this to your bugreport.
error: command 'gcc' failed with exit status 1
Any ideas? My guess is something to do with the twisted libraries, but im really not exactly sure, im not very familiar with python unfourtunatly.
Any pointers would be greatly appreciated, thanks.

(my next attempt would be with svn sources as i know i'm using relatively bleeding edge packages, and this could be solved already )