[C++-sig] Please help: boost python 1.41 extension problem

lin yun yunlin07 at gmail.com
Mon Jan 25 21:38:44 CET 2010


Hi, Jim:

Thank you very much for your reply !

I did not mention that I had no problem with Boost 1.34, on the same system.
Also I ever tried Boost 1.34 and 1.37 on Fedora 7, I got exactly the same
result: Boost 1.34 worked fine while 1.37 failed on extension test. The test
I ran was the example test from boost package:
libs/python/example/quickstart/, which was recommended in the boost python
installation instruction. There was no any personal code involved.

I wonder if you, or anyone else had related experience ?

Thanks again,

Yun



On Mon, Jan 25, 2010 at 12:20 PM, Jim Bosch <talljimbo at gmail.com> wrote:

> On Fri, 2010-01-22 at 17:29 -0800, lin yun wrote:
> > Hi,
> >
> > I am trying to install boost 1.41 on Redhat Enterprise Linux 5.3 and I
> > got problem with the extension test. Following the instructions here:
> > http://www.boost.org/doc/libs/1_41_0/libs/python/doc/building.html
> >       * I built boost python using bjam.
> >       * cd into the libs/python/example/quickstart/ directory
> >       * bjam toolset=gcc --verbose-test test
> > Now I see embedding test passes while extension test failed. I got the
> > same problem with boost 1.35, 1.37 on Fedora 7. Below is the error
> > messages:
> >
> > ../../../../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.
> >
>
> Your error message indicates a gcc internal error.  While it's probably
> due at least in part to something unusual in your code or boost::python,
> that kind of stuff should cause gcc to exit more gracefully (and
> informatively) than this.
>
> You might learn something by reporting your error message either to the
> gcc developers (or Red Hat, since they're more directly responsible for
> the binary you have).  At the very least, I imagine they'd like to hear
> about it.
>
> Jim Bosch
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20100125/b6f2d809/attachment.htm>


More information about the Cplusplus-sig mailing list