Hello, I am pleased to say that inkscape has successfully compiled and installed and is at least opening in gnome.
I have added /usr/lib/pkgconfig to the extrapaths.sh script so that if any other packages do the self inserting of the pkg_config_path it will be correct. I am at a loss as to why this particular program decides to self-insert the pkg_config_path into the configure line. However this is what is displayed in the config.log of inkscape: ./configure --prefix=/usr PKG_CONFIG_PATH=/usr/lib/pkgconfig:/opt/qt4/lib/pkgconfig:/opt/qt5/lib/pkgconfig --no-create --no-recursion Out of all of the source code that I have compiled this is the first one that I have seen do this. Regards, Christopher. On Fri, 2014-05-16 at 03:01 +1200, Christopher Gregory wrote: > Hello, > > Thank you both for your reply. I did a bit of checking after the folks > at launch pad replied stating that inkscape does not compile with the > 0.26 poppler. > > Firstly, I was using the frigging instructions for the stable version > of BLFS which of course is using the slightly older poppler. > > So I went through and blew the directory away, extracted a fresh version > of inkscape and applied the SVN instructions to build it, and got the > same error. > > Checked the config.log for inkscape and the nasty thing inserts the > pkgconfig path as /usr/local/lib/pkgconfig instead > of /usr/lib/pkgconfig. Looking at the instructions you folk do not even > specify the pkg-config path. I have just appended to the configure line > the correct pkg_config path and am seeing if it will now behave itself > and actually compile. > > Regards, > > Christopher. > > > On Thu, 2014-05-15 at 16:46 +0200, Armin K. wrote: > > On 05/15/2014 04:38 PM, Pierre Labastie wrote: > > > 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? > > > > > > > Inkscape should use pkg-config to get cflags for poppler. That one has > > "-I/usr/include/poppler". > > > > > 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 > > > > > > > > > -- > > Note: My last name is not Krejzi. > > -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
