On Oct 19, 2007, at 12:10 AM, Jon A. Cruz wrote:


In file included from extension/init.cpp:44:
extension/internal/pdfinput/pdf-input.h:40:28: error: CairoOutputDev.h: No such file or directory
...
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



It appears the problem is that I have poppler and poppler-data, along with libpoppler and libpoppler-glib, but no libpoppler-cairo.

It might be that the .h file in question is not one that is supposed to be visible. Whichever the main cause, I've added an option to configure.ac that will allow things to be explicitly avoided.

Just reconfigure and include

--enable-poppler-cairo=no


Then things should work for you.