![](https://secure.gravatar.com/avatar/03e0d5cf6f173f88af40808ef41b599c.jpg?s=120&d=mm&r=g)
Hello inkscape-devel,
I'm getting an error building Inkscape svn, it fails in the link phase with an undefined symbol:
In function `Inkscape::Extension::Internal::PdfImportDialog::_setPreviewPage(int)': /home/chris/inkscape/inkscape/src/extension/internal/pdfinput/pdf-input.cpp:544: undefined reference to `CairoOutputDev::setCairo(_cairo*)'
Can anyone suggest what I am doing wrong?
I just moved from Kubuntu 7.04 to Kubunti 7.10 and for various reasons its a clean install not an upgrade. Previously I had Inkscape building fine. I believe I have all the dependencies, since autogen and configure don't moan at me about anything.
Attached is the relevant error. Happy to supply more details on request.
![](https://secure.gravatar.com/avatar/dc940f48c5635785f32941f1fbe6b601.jpg?s=120&d=mm&r=g)
On Oct 25, 2007, at 9:01 AM, Chris Lilley wrote:
Hello inkscape-devel,
I'm getting an error building Inkscape svn, it fails in the link phase with an undefined symbol:
In function `Inkscape::Extension::Internal::PdfImportDialog::_setPreviewPage (int)': /home/chris/inkscape/inkscape/src/extension/internal/pdfinput/pdf- input.cpp:544: undefined reference to `CairoOutputDev::setCairo (_cairo*)'
Can anyone suggest what I am doing wrong?
I believe that it comes from using a private header that some people have installed and some don't. My platform only recently got the required version of poppler available, so I only recently encountered a problem.
We are trying to work out a proper solution, but in the mean time I had added a config option to disable that specific use
Try to configure with
--enable-poppler-cairo=no
![](https://secure.gravatar.com/avatar/a44c92d4f696f70ea564e33127844ee5.jpg?s=120&d=mm&r=g)
On 10/25/07, Chris Lilley wrote:
In function `Inkscape::Extension::Internal::PdfImportDialog::_setPreviewPage(int)': /home/chris/inkscape/inkscape/src/extension/internal/pdfinput/pdf-input.cpp:544: undefined reference to `CairoOutputDev::setCairo(_cairo*)'
Can anyone suggest what I am doing wrong?
Your version of poppler probably wasn't installed with --enable-extra-headers
Alexandre
![](https://secure.gravatar.com/avatar/98d529edefb9a28f6e77324661077445.jpg?s=120&d=mm&r=g)
Alexandre Prokoudine wrote:
On 10/25/07, Chris Lilley wrote:
In function `Inkscape::Extension::Internal::PdfImportDialog::_setPreviewPage(int)': /home/chris/inkscape/inkscape/src/extension/internal/pdfinput/pdf-input.cpp:544: undefined reference to `CairoOutputDev::setCairo(_cairo*)'
Can anyone suggest what I am doing wrong?
Your version of poppler probably wasn't installed with --enable-extra-headers
Alexandre
No, the problem is the use of the header file, which is private (and therefore not likely to be installed on most systems with the current poppler), instead of the glib frontend to poppler. It needs to be fixed in inkscape. Until it is, we'll keep having this problem.
JF
participants (4)
-
Alexandre Prokoudine
-
Chris Lilley
-
Jon A. Cruz
-
Joshua Facemyer / Impressus Art