[cairo] PyCairo on OS X?
Dethe Elza
delza at livingcode.org
Thu Aug 10 07:12:43 PDT 2006
The web site lists this address for questions, but doesn't mention
that you must subscribe first. Trying again after subscribing,
apologies if my original post gets through, making this a duplicate.C
Hi folks,
I'm trying to get started with pycairo. My first attempt was to use
easy_install, which had the result below. This is on an Intel
Macbook Pro, OS 10.4.7, under Python 2.4.3 (framework build).
So, should this have worked? Is pycairo known to run on OS X (and
Intel)? Is there a different/preferred way I should be installing it?
Results:
$ easy_install pycairo
Searching for pycairo
Reading http://www.python.org/pypi/pycairo/
Reading http://www.cairographics.org/pycairo
Reading http://cairographics.org/releases/
Best match: pycairo 1.2.0
Downloading http://cairographics.org/releases/pycairo-1.2.0.tar.gz
Processing pycairo-1.2.0.tar.gz
Running pycairo-1.2.0/setup.py -q bdist_egg --dist-dir /tmp/
easy_install-ofjRMV/pycairo-1.2.0/egg-dist-tmp-I2hbjw
package init file 'cairo/__init__.py' not found (or not a regular file)
cairo/cairomodule.c: In function 'init_cairo':cairo/cairomodule.c: In
function 'init_cairo':
cairo/cairomodule.c:399: error: 'CAIRO_FORMAT_RGB16_565' undeclared
(first use in this function)
cairo/cairomodule.c:399: error: (Each undeclared identifier is
reported only once
cairo/cairomodule.c:399: error: for each function it appears in.)
cairo/cairomodule.c:399: error: 'CAIRO_FORMAT_RGB16_565' undeclared
(first use in this function)
cairo/cairomodule.c:399: error: (Each undeclared identifier is
reported only once
cairo/cairomodule.c:399: error: for each function it appears in.)
lipo: can't figure out the architecture type of: /var/tmp//ccXy5Rr4.out
error: Setup script exited with error: command 'gcc' failed with exit
status 1
Thanks,
--Dethe
A good engineer is a person who makes a design that works with as few
original ideas as possible. --Freeman Dyson
More information about the cairo
mailing list