Update on this:
I'm getting the same error now, but I've been able to build several times in the last couple of weeks with no trouble:
-DPOTRACE="potrace" -pthread -I/usr/include/gdkmm-2.4 -I/usr/lib64/gdkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtkmm-2.4 -I/usr/lib64/gtkmm-2.4/include -I/usr/include/atk-1.0 -I/usr/include/libxml2 -I/usr/include/gtkspell-2.0 -I../cxxtest -Wall -Wformat-security -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -D_FORTIFY_SOURCE=2 -Wno-unused-parameter -g -O2 -MT extension/internal/pdfinput/pdf-input.o -MD -MP -MF "extension/internal/pdfinput/.deps/pdf-input.Tpo" \ -c -o extension/internal/pdfinput/pdf-input.o `test -f 'extension/internal/pdfinput/pdf-input.cpp' || echo './'`extension/internal/pdfinput/pdf-input.cpp; \ then mv -f "extension/internal/pdfinput/.deps/pdf-input.Tpo" "extension/internal/pdfinput/.deps/pdf-input.Po"; \ else rm -f "extension/internal/pdfinput/.deps/pdf-input.Tpo"; exit 1; \ fi In file included from extension/internal/pdfinput/pdf-input.cpp:26: extension/internal/pdfinput/pdf-input.h:40:28: error: CairoOutputDev.h: No such file or directory 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
But it looks like it's at a different point that it breaks...
Any ideas?
JF
Joshua Facemyer / Impressus Art wrote:
Jeff Kowalczyk wrote:
On Tue, 16 Oct 2007 20:40:06 -0500, Joshua Facemyer / Impressus Art wrote:
Two suggestions (don't know much, but I run Gentoo on AMD64):
Did you try rebuilding cairo-pango?
I presume you mean the cairo and the pango packages. I just rebuilt those for this reply, and inkscape via the ebuild - No effect, unfortunately. The build problem started manifesting on my old laptop, and continues on my new one (all new install mid september), so it's appeared on at least two systems.
That's interesting. I've got two amd64 boxes that build just fine, one new install (August) and one just newly rebuilt. Do you have extravagant cflags? Can't think of why else, except the ebuild possibly.
Did you try not using the ebuild? (It's how I build, works like a charm for me and usually easier, since I don't know how to update ebuilds)
I haven't tried that recently, mostly because I try to never run the 'make install' step on unpackaged software. If it's a program without desktop integration, I'm happy to run it from the build directory. In Inkscape's case, though. I don't have a good way to track what files and file association settings inkscape would copy for its GNOME integration.
Hmm...I've not had any trouble. I use both the stable and svn versions (I prefix it to $HOME/.local).
If you're worried about clogging up your home dir, maybe you could make a test user and try it that way. You could then at least see if it builds without the ebuild.
JF