I'm using a new Gentoo 2007.0 ~x86 system, and building inkscape from svn gives the following errors. What package (cairo, poppler) could be contributing to the build problem? I didn't see a config option to supress PDF features (temporarily, so I can build inkscape)
In file included from extension/internal/pdfinput/pdf-input.cpp:26: extension/internal/pdfinput/pdf-input.h:107: error: ISO C++ forbids declaration of 'CairoOutputDev' with no type extension/internal/pdfinput/pdf-input.h:107: error: expected ';' before '*' token extension/internal/pdfinput/pdf-input.cpp: In constructor 'Inkscape::Extension::Internal::PdfImportDialog::PdfImportDialog(PDFDoc*)': extension/internal/pdfinput/pdf-input.cpp:279: error: '_preview_output_dev' was not declared in this scope extension/internal/pdfinput/pdf-input.cpp:279: error: expected type-specifier before 'CairoOutputDev' extension/internal/pdfinput/pdf-input.cpp:279: error: expected `;' before 'CairoOutputDev' extension/internal/pdfinput/pdf-input.cpp: In destructor 'virtual Inkscape::Extension::Internal::PdfImportDialog::~PdfImportDialog()': extension/internal/pdfinput/pdf-input.cpp:301: error: '_preview_output_dev' was not declared in this scope extension/internal/pdfinput/pdf-input.cpp:302: error: type '<type error>' argument given to 'delete', expected pointer extension/internal/pdfinput/pdf-input.cpp: In member function 'void Inkscape::Extension::Internal::PdfImportDialog::_setPreviewPage(int)': extension/internal/pdfinput/pdf-input.cpp:544: error: '_preview_output_dev' was not declared in this scope make[2]: *** [extension/internal/pdfinput/pdf-input.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/media-gfx/inkscape-0.45.2/work/inkscape-0.45.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-gfx/inkscape-0.45.2/work/inkscape-0.45.2' make: *** [all] Error 2
Cairo and poppler are built as follows:
x11-libs/cairo-1.4.10 USE="X glitz opengl svg -debug -directfb -doc -xcb" 0 kB app-text/poppler-0.6 USE="jpeg zlib -cjk" 0 kB app-text/poppler-bindings-0.6 USE="cairo gtk qt4 -qt3" 0 kB
Thanks,