Le 15/05/2014 15:49, Christopher Gregory a écrit :
Hello,
I have filed a bug report at inkscape but maybe someone will be able to
assist here quicker than they might.
I have poppler 0.26.0 installed with the following configure line:
./configure --prefix=/usr --sysconfdir=/etc --disable-static
--enable-xpdf-headers
PDFDoc.h IS in:
/usr/include/poppler/PDFDoc.h
I have applied the patches for inkscape and used the instructions on the
development version of BLFS 7.5.
The error it gives is:
In file included from extension/init.cpp:39:0:
extension/internal/pdfinput/pdf-input.h:38:20: fatal error: PDFDoc.h: No
such file or directory
#include "PDFDoc.h"
^
compilation terminated.
Makefile:6281: recipe for target 'extension/init.o' failed
make[2]: *** [extension/init.o] Error 1
make[2]: Leaving directory '/opt/sources/inkscape-0.48.4/src'
Makefile:963: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/opt/sources/inkscape-0.48.4'
Makefile:657: recipe for target 'all' failed
make: *** [all] Error 2
What on earth is going on here?
How do I make this beast work?
Regards,
Christopher.
Not sure I can help much...
Normally, with double quotes (#include "something.h"), the search path
does not include /usr/include.
If PHFDoc.h is in /usr/include/poppler, the right instruction should be:
#include <poppler/PDFDoc.h>
unless the search path is modified by -I... switches on the command line.
That leads to the first question:
What is the command leading to this error?
Other questions:
Do you have PDFDoc.h somewhere in the build tree?
Do you use parallel build (make flag -jN)? If so, just try without the
flag (or with -j1)
Pierre
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page