[C++-sig] unable to build boost.python with gcc 3.3.5 and python2.4 : compilation error

Harkirat Singh innosam at gmail.com
Thu Jul 19 13:17:00 CEST 2012


Hi Niall

gcc error is documented: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17327

it would be better if  there is any work around for resolving the
compilation error. Any help would be appreciated.


Alternatively, i built the boost.python library using gcc 4.1.2, that
compiles fine. But the shared object generated couldn't be imported in the
target system.
TARGET SYSTEM:- gcc 3.3.5 and python2.4

    Error:-
    import pyplusplus
    ImportError: /usr/lib/libstdc++.so.6: version `CXXABI_1.3' not found
(required by         ./pyplusplus.so)
Any solution on going in this direction.




On Thu, Jul 19, 2012 at 4:21 PM, Niall Douglas <s_sourceforge at nedprod.com>wrote:

> Use a much older boost, one compatible with an ancient compiler like
> gcc 3.3.5.
>
> Or use a newer gcc.
>
> Niall
>
> On 19 Jul 2012 at 9:40, Harkirat Singh wrote:
>
> > While compiling boost.python particularly, i get this error. Is there any
> > workaround on this.
> >
> >
> > *
> > In file included from boost/unordered/detail/emplace_args.hpp:16,
> >
> > from boost/unordered/detail/allocator_helpers.hpp:18, from
> > boost/unordered/unordered_set.hpp:17, from boost/unordered_set.hpp:16,
> > from boost/graph/adjacency_list.hpp:21, from
> > libs/python/src/object/inheritance.cpp:11:
> >
> > boost/move/move.hpp:124: warning: all member functions in class `
> >
> > boost::move_detail::is_convertible<T, U>' are private
> >
> > boost/move/move.hpp:254: warning: `class boost::rv<T>' only defines a
> > private
> >
> > destructor and has no friends
> >
> > In file included from boost/range/size.hpp:21,
> >
> > from boost/range/functions.hpp:20, from
> > boost/range/iterator_range_core.hpp:26, from
> > boost/range/iterator_range.hpp:13, from boost/range/irange.hpp:16,
> > from boost/graph/detail/adjacency_list.hpp:20, from
> > boost/graph/adjacency_list.hpp:337, from
> > libs/python/src/object/inheritance.cpp:11:
> >
> > boost/range/size_type.hpp:41: warning: all member functions in class `
> >
> > boost::detail::has_size_type<T>' are private
> >
> > libs/python/src/object/inheritance.cpp:114: sorry, unimplemented: use of
> `
> >
> > enumeral_type' in template type unification
> > *
> >
> >
> > Regards
> > Harkirat Singh
> >
>
>
> --
> Technology & Consulting Services - ned Productions Limited.
> http://www.nedproductions.biz/. VAT reg: IE 9708311Q.
> Work Portfolio: http://careers.stackoverflow.com/nialldouglas/
> _______________________________________________
> Cplusplus-sig mailing list
> Cplusplus-sig at python.org
> http://mail.python.org/mailman/listinfo/cplusplus-sig
>



-- 
Harkirat Singh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20120719/3fe62c43/attachment.html>


More information about the Cplusplus-sig mailing list