#34724: pygtk fails when cairo built with +no_x11 -------------------------------+-------------------------------------------- Reporter: dave@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: -------------------------------+-------------------------------------------- {{{ /opt/local/bin/python pluto:/Volumes/plain/Virtual Machines dave% python Python 2.7.3 (default, Apr 19 2012, 00:55:09) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import gtk Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/gtk-2.0/gtk/__init__.py", line 40, in <module> from gtk import _gtk File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/cairo/__init__.py", line 1, in <module> from _cairo import * ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/cairo/_cairo.so, 2): Symbol not found: _cairo_xlib_surface_get_depth Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/cairo/_cairo.so Expected in: /opt/local/lib/libcairo.2.dylib in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/cairo/_cairo.so % port info cairo cairo @1.12.2 (graphics) Variants: (+)no_x11, opengl, (+)quartz, universal, [-]x11, x11_xcb
Description: Cairo is a vector graphics library with cross-device output support. It is designed to produce identical output on all output media while taking advantage of display hardware acceleration when available (e.g. through the X Render Extension). Homepage: http://cairographics.org/ Extract Dependencies: xz Build Dependencies: pkgconfig Library Dependencies: libpixman, glib2, fontconfig, freetype, libpng, zlib, expat Conflicts with: cairo-devel Platforms: darwin, macosx License: LGPL-2.1 MPL-1.1 Maintainers: ryandesign@macports.org }}} -- Ticket URL: <https://trac.macports.org/ticket/34724> MacPorts <http://www.macports.org/> Ports system for Mac OS