Compiling --enable-pdfium fails
Stephan Bergmann
sbergman at redhat.com
Fri Apr 20 07:34:23 UTC 2018
On 19/04/18 17:45, Дилян Палаузов wrote:
> --with-system-jpeg was indeed the problem. What libjpeg has to be
> installed in order for this to work? Are libturbo-jpeg and jpeg-9c.zip
> interchangable, as they both provide libjpeg.so? Can I use jpeg-9b
> instead of jpeg-9c and why doesn't ./configure fail in such cases?
LO should work with bot libjpeg and libjpeg-turbo. And given that
there's zero checking for specific details in LO's configure.ac for the
--with-system-jpeg case, I'd assume that various jpeg-9* would all work.
But you'd need to check; configure checks are typically only added
once somebody ran into a non-working combination.
And note that your issue is with LO's bundled external/pdfium, not core
LO code, building against system jpeg. Arguably, whatever missing
configure checks are missing from pdfium's configure; so if you come up
with a fix for that, that should probably go to the pdfium upstream.
More information about the LibreOffice
mailing list