Red Hat Bugzilla – Bug 211758
cairo doesn't seem to be compiled with pdf support
Last modified: 2007-11-30 17:11:46 EST
Description of problem:
I'm trying to compile svg2pdf from http://cairographics.org/snapshots/ but get
svg2pdf.c:36:23: error: cairo-pdf.h: No such file or directory
I have cairo-devel installed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install libsvg and libsvg-cairo from http://cairographics.org/snapshots/
2. untar svg2pdf (source from http://cairographics.org/snapshots/)
3. ./configure && make
error on missing header
I compiled this package on Mac OS X 10.4 using fink version of cairo and the
same sources as above with out issues
With cairo 1.0 there is only an "experimental" PDF backend, so it was
intentionally not compiled in.
Cairo 1.2 does have a "supported" PDF backend, so Fedora packages of cairo 1.2,
(as in Fedora Core 6), do include the PDF backend.