Compiling --enable-pdfium fails
Stephan Bergmann
sbergman at redhat.com
Tue Apr 17 15:40:38 UTC 2018
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.
More information about the LibreOffice
mailing list