Date: prev next · Thread: first prev next last
2018 Archives by date, by thread · List index


Hello,

thanks for your answer.


--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?

Regards
  Dilian

----- Message from Stephan Bergmann <sbergman@redhat.com> ---------
   Date: Tue, 17 Apr 2018 17:40:38 +0200
   From: Stephan Bergmann <sbergman@redhat.com>
Subject: Re: Compiling --enable-pdfium fails
     To: LibreOffice <LibreOffice@lists.freedesktop.org>
     Cc: Дилян Палаузов <dpa-libreoffice@aegee.org>


On 17/04/18 17:23, Дилян Палаузов wrote:
for 6.0.3.2 I call
  ./configure --enable-evolution2 --enable-avahi --enable-python=system --enable-eot --enable-online-update --enable-introspection=yes --without-doxygen --with-jdk-home=/opt/jdk --with-ant-home=/opt/ant --without-junit --enable-formula-logger --enable-introspection --with-system-bzip2 --with-system-cairo --with-system-epoxy --with-system-zlib --with-system-jpeg --with-system-expat --with-system-libxml --with-system-icu --with-system-openldap --with-system-poppler --with-system-curl --with-system-boost --with-webdav --with-krb5 --with-gssapi --with-system-lcms2 --with-boost --with-system-nss --with-system-graphite --with-system-harfbuzz --with-system-openssl --with-system-libpng --disable-firebird-sdbc


which implies --enable-pdfium, and then `make` shows:

mkdir -p /src/libreoffice-6.0.3.2/instdir
/src/libreoffice-6.0.3.2/solenv/bin/install-gdb-printers -a /src/libreoffice-6.0.3.2/instdir -c
make -j 4  -rs -f /src/libreoffice-6.0.3.2/Makefile.gbuild    all
[build DEP] LNK:Executable/unoidl-write
[build DEP] LNK:Executable/unoidl-check
[build DEP] LNK:Library/libunoidllo.so
[build DEP] LNK:Library/libpdfiumlo.so
[build DEP] LNK:Executable/cppumaker
[build PAT] liborcus
[build DEP] LNK:Library/libunoidllo.so
[build LNK] Library/libunoidllo.so
[build UIC] modules/BasicIDE
[build CXX] workdir/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp /src/libreoffice-6.0.3.2/workdir/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp: In function ‘boolean _src_fill_buffer(j_decompress_ptr)’: /src/libreoffice-6.0.3.2/workdir/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp:78:10: error: invalid conversion from ‘int’ to ‘boolean’ [-fpermissive]
   return 0;
          ^

I assume some weird boolean typedef from your --with-system-jpeg.
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


----- End message from Stephan Bergmann <sbergman@redhat.com> -----



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.