On 12-04-2012 10:41, Thomas de Roo wrote:
> On 04/12/12 14:16, Fernando de Oliveira wrote:
>> On 12-04-2012 04:30, Thomas de Roo wrote:
>>> On 04/12/12 00:25, Fernando de Oliveira wrote:
>>>> On 11-04-2012 16:47, Thomas de Roo wrote:
>>>>> Thank you for putting LibreOffice in the book. Two remarks:
>>>>> 1) I have ICU on my LFS. I needed this patch to complete the build:
>>>>> http://people.apache.org/~Arfrever/libreoffice-3.5.2.2-icu-49.patch
>>>>> (see
>>>>> http://comments.gmane.org/gmane.comp.documentfoundation.libreoffice.devel/26936
>>>>> )
>>>>> 2) --with-system-poppler didn't work for me. It caused build errors I
>>>>> couldn't find reported on the web. I removed --with-system-poppler and
>>>>> the build went fine.
>>>> Thomas, thanks for the information.
>>>>
>>>> I have installed:
>>>>
>>>> 23-Mar-2012 23:22  icu4c-4.8.1.1
>>>> 06-Apr-2012 21:38  libreoffice-3.5.2.2
>>>> 25-Mar-2012 23:18  poppler-0.18.4
>>>>
>>>> and no problems.
>>>>
>>>> I understand you have a newer version of icu, so, before trying to 
>>>> reproduce your problem, I would like to know your version of poppler.
>>>>
>>>>
>>> I have icu4c-49.1.1 and poppler-0.18.4 installed.
>>>
>>> Groet,
>>> Thomas
>> Thanks, Thomas,
>>
>> I will upgrade icu4c and try to rebuild LO. But have just read the message 
>> where Andrew explains he is upgrading Poppler page and test building Libre 
>> Office, so, I am waiting output from him, before doing it myself with the 
>> new icu4c.
>>
> This is the error I get with --with-system-poppler:
> <quote>
> =============
> (1/1) Building module sdext
> =============
> Entering 
> /mnt/lfs/libreoffice-core-3.5.2.2/sdext/source/minimizer/registry/data/org/openoffice/Office
>
> Making:    Addons.xcu
> --- validating and creating a locale independent file
> Making:    ProtocolHandler.xcu
> --- validating and creating a locale independent file
> Making:    Addons.xcu
> --- creating locale dependent entries
> Making:    Addons.xcu
> --- creating locale dependent entries
> Entering 
> /mnt/lfs/libreoffice-core-3.5.2.2/sdext/source/minimizer/registry/data/org/openoffice/Office/extension
>
> Making:    SunPresentationMinimizer.xcu
> --- validating and creating a locale independent file
> Making:    SunPresentationMinimizer.xcu
> --- creating locale dependent entries
> Making:    SunPresentationMinimizer.xcu
> --- creating locale dependent entries
> Entering /mnt/lfs/libreoffice-core-3.5.2.2/sdext/inc
>
> Entering /mnt/lfs/libreoffice-core-3.5.2.2/sdext/source/pdfimport/misc
>
> Making:    all_pdfmisc.dpslo
> Compiling: sdext/source/pdfimport/misc/pdfihelper.cxx
> Compiling: sdext/source/pdfimport/misc/pwdinteract.cxx
> Making:    pdfmisc.lib
> Making:    all_pdfmisc.dpslo
> Entering /mnt/lfs/libreoffice-core-3.5.2.2/sdext/source/pdfimport/sax
>
> Making:    all_pdfsax.dpslo
> Compiling: sdext/source/pdfimport/sax/emitcontext.cxx
> Compiling: sdext/source/pdfimport/sax/saxattrlist.cxx
> Making:    pdfsax.lib
> Making:    all_pdfsax.dpslo
> Entering /mnt/lfs/libreoffice-core-3.5.2.2/sdext/source/pdfimport/wrapper
>
> Making:    all_xpdfwrapper.dpslo
> /usr/bin/gperf -C -t -l -L C++ -m 20 -Z PdfKeywordHash -k'4-5,$' 
> keyword_list > ../../../unxlngx6.pro/inc/hash.cxx
> Compiling: sdext/source/pdfimport/wrapper/wrapper.cxx
> Making:    xpdfwrapper.lib
> Making:    all_xpdfwrapper.dpslo
> Entering 
> /mnt/lfs/libreoffice-core-3.5.2.2/sdext/source/pdfimport/xpdfwrapper
>
> Compiling: sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx
> In file included from 
> /mnt/lfs/libreoffice-core-3.5.2.2/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx:32:0:
> /mnt/lfs/libreoffice-core-3.5.2.2/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:43:22:
>  
> fatal error: GfxState.h: No such file or directory
> compilation terminated.
> dmake:  Error code 1, while making 
> '../../../unxlngx6.pro/obj/wrapper_gpl.obj'
>
> -----------------------------------------------------------------------
>          Oh dear - something failed during the build - sorry !
>    For more help with debugging build errors, please see the section in:
>              http://wiki.documentfoundation.org/Development
>
>    internal build errors:
>
> ERROR: error 65280 occurred while making 
> /mnt/lfs/libreoffice-core-3.5.2.2/sdext/source/pdfimport/xpdfwrapper
>
>   it seems that the error is inside 'sdext', please re-run build
>   inside this module to isolate the error and/or test your fix:
> -----------------------------------------------------------------------
>
> /bin/sh
> cd /mnt/lfs/libreoffice-core-3.5.2.2
> source ./Env.Host.sh
> cd sdext
> rm -Rf /mnt/lfs/libreoffice-core-3.5.2.2/sdext/unxlngx6.pro # optional 
> module 'clean'
> build
>
> when the problem is isolated and fixed exit and re-run 'make' from the 
> top-level
> </quote>
>
> I'll rebuild poppler with --enable-xpdf-headers and see where that takes 
> me ;)
>
> Groet,
> Thomas
Ok,

Just notice that you probably will not need to restart LO build. I use to 
follow exactly the instructions from /bin/sh and if it succeeds, exit sh and 
rerun make (I'm just repeating instructions above, but learned some decades ago 
that "repeating is never too much when learning or teaching", and in this case, 
developing). Perhaps it was hitting this error that sometime ago I decided to 
use --enable-xpdf-headers with Poppler.

-- 
[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to