From: Sandeep Gupta (gupta.sandeep_at_[hidden])
Date: 2008-08-25 18:25:02
Works fine with g++. I don't think bgl_python comes with test_suite.
I followed your direction and added explicit destructor for basic_graph.
The old error is now gone but python now complains about:
(thanks for the cool c++filt tip).
I hope this helps to narrow down the problem. Should I go ahead and
explicitly define all the missing routines?
(* On slightly unrelated note: compiler complains when I add
~basic_graph<undirectedS>::~basic_graph() with error
"function "boost::graph::python::basic_graph<DirectedS>::~basic_graph" has
already been defined".
However I find strange that Graph::~basic_graph() where
Graph is typedefed as basic_graph<undirectedS> as acceptable.)
On Mon, Aug 25, 2008 at 1:46 PM, David Abrahams <dave_at_[hidden]> wrote:
> on Mon Aug 25 2008, "Sandeep Gupta" <gupta.sandeep-AT-gmail.com> wrote:
> > Hi David,
> > I hope its not a compatability issue. Here are the steps I followed
> > 1. Downloaded python source and compiled with intel compiler.
> > 2. Downloaded boost 1.36 and checkout bgl_python from svn repository of
> > osl.iu.edu.
> > 3. Followed the instructions for building/installing boost, boost.python,
> > and bgl_python.
> > 4. The tests under examples under libs/python/example/ pass.
> What about the bgl_python tests?
> > 5. Firedup python and issued command "import boost.graph as bgl". This
> > fails with error:
> > Traceback (most recent call last):
> > File "<stdin>", line 1, in <module>
> > File "...../bgl-python/lib/python/boost/graph/__init__.py", line 16, in
> > <module>
> > from boost.graph._graph import *
> > ImportError: "...../bgl-python/lib/python/boost/graph/_graph.so:
> > symbol: _ZN5boost5graph6python11basic_graphINS_11undirectedSEED1Ev"
> $ echo '_ZN5boost5graph6python11basic_graphINS_11undirectedSEED1Ev' |
> >From what I can tell, it looks like Intel is failing to instantiate that
> destructor for some reason. You might try adding an explicit
> instantiation. In any case, it looks like a compiler bug to me.
> > 5. Tried several permutation/combination of LD_LIBRARY_PATH and
> > sys.path.append('.. ') but with no success.
> > I also tried with bgl_python in the sandbox and the same issue shows
> > up.
> Hmm, I dunno. Another thing worth doing: try it with g++ and see if it
> Dave Abrahams
> BoostPro Computing
> Unsubscribe & other changes:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk