[MacPorts] #33641: py27-graph-tool @2.2.15 won't build
MacPorts
noreply at macports.org
Sat Jun 23 07:44:34 PDT 2012
#33641: py27-graph-tool @2.2.15 won't build
------------------------------------------+---------------------------------
Reporter: anthony.bak@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: graph-tool build lion python | Port: py27-graph-tool
------------------------------------------+---------------------------------
Comment(by tiago@…):
Replying to [comment:24 mmoll@…]:
> Replying to [comment:23 mmoll@…]:
> > Done. Everything still compiles. The code in
https://trac.macports.org/ticket/33641#comment:7 still runs.
>
> However, if I remove the `output="graph-draw.pdf"' from the example, I
get this error:
>
> {{{Traceback (most recent call last):
> File "/Users/mmoll/gtdemo.py", line 21, in <module>
> edge_control_points=control)
> File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/graph_tool/draw/cairo_draw.py", line 622, in graph_draw
> return interactive_window(g, pos, vprops, eprops, vorder, eorder,
> NameError: global name 'interactive_window' is not defined}}}
>
> Even with the original example I need to set
DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib, but this could be a problem
with a dependency (py27-gobject3?).
The graph_draw() function should not be relied upon, if gobject, pycairo
and gtk are not working properly. Instead, you may use the graphviz_draw()
function, which is the same as in the older versions.
--
Ticket URL: <https://trac.macports.org/ticket/33641#comment:26>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list