Compiling --enable-pdfium fails

Дилян Палаузов dpa-libreoffice at aegee.org
Thu Apr 19 15:45:13 UTC 2018


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 at redhat.com> ---------
    Date: Tue, 17 Apr 2018 17:40:38 +0200
    From: Stephan Bergmann <sbergman at redhat.com>
Subject: Re: Compiling --enable-pdfium fails
      To: LibreOffice <LibreOffice at lists.freedesktop.org>
      Cc: Дилян Палаузов <dpa-libreoffice at 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 at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice


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




More information about the LibreOffice mailing list