[MacPorts] #33641: py27-graph-tool @2.2.15 won't build
MacPorts
noreply at macports.org
Sat Jun 23 21:06:10 PDT 2012
#33641: py27-graph-tool @2.2.15 won't build
------------------------------------+---------------------------------------
Reporter: anthony.bak@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Resolution: fixed | Keywords: graph-tool build lion python
Port: py27-graph-tool |
------------------------------------+---------------------------------------
Changes (by mmoll@…):
* status: new => closed
* resolution: => fixed
Comment:
Replying to [comment:26 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.
Is there a simple way to check whether I have the right versions of
gobject, pycairo and gtk installed? I have gobject 3.2.2, pycairo 1.8.10
and gtk 3.4.3 installed (all via MacPorts). It's possible that the
MacPorts versions have some features disabled that are enabled on Linux. I
can investigate further if that's the problem, but I don't know
how to check. It seems like graph-tool is suppressing all the import
errors, so I can't tell what I might be missing.
In the meantime, I'll commit the Portfile that will install 2.2.17.
--
Ticket URL: <https://trac.macports.org/ticket/33641#comment:27>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list