[cairo] Install cairo + pycairo
Hung Nguyen Vu
vuhung16plus+shape at gmail.com
Fri Jun 27 00:28:02 PDT 2008
Hi all,
I've installed cairo and pycairo as follows:
# CentOS 5, 4.1.2, glibc 2.5
# All the packages have done with ./configure --prefix=$HOME; make; make
install
1. Python 2.5.2
2. cairo 1.6.4
3. pycairo-1.1.6
4. libsvg-0.1.4
5. libsvg-cairo-0.1.6
But when I tried to run an example in pycairo, I got an error:
cd pycairo-1.1.6/examples
[vuhung at aoclife examples]$ ./spiral.py
Traceback (most recent call last):
File "./spiral.py", line 5, in <module>
import cairo
File "/home/vuhung/lib/python2.5/site-packages/cairo/__init__.py", line 1,
in <module>
from _cairo import *
ImportError: /home/vuhung/lib/python2.5/site-packages/cairo/_cairo.so:
undefined symbol:
cairo_svg_surface_set_dpi_REPLACED_BY_cairo_surface_set_fallback_resolution
[7307 refs]
I am quite new to python so I think perhaps I've missed something.
--
Best Regards,
Nguyen Hung Vu ( Nguyễn Vũ Hưng )
vuhung16plus{remove}@gmail.dot.com
<vuhung16plus%7Bremove%7D at gmail.dot.com>, YIM: vuhung16 , Skype:
vuhung16dg
Japan through an eye of a gaijin:
http://www.flickr.com/photos/vuhung/tags/fav/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20080627/28f57ce5/attachment.html
More information about the cairo
mailing list