According to the ./configure --help, --enable-poppler-cairo must be specified to enable
that feature. Why is it enabled by default then?
And --disable-poppler-cairo doesn't work either. Even after a 'clean', CharTypes.h is still
needed, even though the configure output says poppler is disabled.
Ok... I've found the problem it seems. Compiling poppler normally doesn't install the xpdf headers,
a policy decision of the poppler team (I can understand the reasons). But causes problems
for inkscape which can't access them.
To solve the problem: add --enable-xpdf-headers to the configure command when compiling
poppler, recompile and install.
Note that another problem pops up - an incompatibility. This reference: http://www.nabble.com/Poppler-0.8.3-change-to-GfxFont-td17806656.html
indicates the solution. Note that I used ./configure CFLAGS="-DPOPPLER_NEW_GFXFONT",
not CPPFLAGS as is advised later in the thread - I hadn't read that far. But it does work!)
So, in short:
Recompile poppler:
./configure --enable-xpdf-headers (and other options - I needed --enable-zlib)
make
make install
Compile inkscape with
./configure CFLAGS="-DPOPPLER_NEW_GFXFONT" (and other options)
make
make install
According to the ./configure --help, --enable- poppler- cairo must be specified to enable
that feature. Why is it enabled by default then?
And --disable- poppler- cairo doesn't work either. Even after a 'clean', CharTypes.h is still
needed, even though the configure output says poppler is disabled.
Ok... I've found the problem it seems. Compiling poppler normally doesn't install the xpdf headers,
a policy decision of the poppler team (I can understand the reasons). But causes problems
for inkscape which can't access them.
To solve the problem: add --enable- xpdf-headers to the configure command when compiling
poppler, recompile and install.
Note that another problem pops up - an incompatibility. This reference: www.nabble. com/Poppler- 0.8.3-change- to-GfxFont- td17806656. html "-DPOPPLER_ NEW_GFXFONT" ,
http://
indicates the solution. Note that I used ./configure CFLAGS=
not CPPFLAGS as is advised later in the thread - I hadn't read that far. But it does work!)
So, in short: xpdf-headers (and other options - I needed --enable-zlib)
Recompile poppler:
./configure --enable-
make
make install
Compile inkscape with "-DPOPPLER_ NEW_GFXFONT" (and other options)
./configure CFLAGS=
make
make install
And a fair amount of patience.
John