On Sun, May 18, 2014 at 01:37:26AM +1200, Christopher Gregory wrote: > Hello, > > When I decided it was time to install LibreOffice I first tried the > stable book version but it failed to compile (more on that in a bit), > So I went to the later version, and notice that the --with-system-boost > and --with-system-icu lines have been inadvertently left off. >
Blame me for that. I forgot to reinstate system-icu when I put the patch in, and did not realise that system boost was commented because of the icu-53 problem. I don't normally build boost nowadays (in what is now my normal desktop only LO uses it, and updated versions of boost have often given problems with the various packages which have tried to use it (e.g. gnash). I'm currently building boost, then I'll try a slimmed-down LO build to confirm that boost too is now ok. > Also in my attempt to compile this code, I had to add the following: > > POPPLER_CFLAGS=-I/usr/include/poppler > > without adding that it was unable to locate GfxState.h even though > poppler had been compiled with --enable-xpdf-headers. For some reason, > at least on my computer, libreoffice has a problem with entering > sub-directories within the /usr/include tree. Perhaps you could add > that to the configure line so that it helps others? > You've already reported poppler-related problems that nobody else has seen. I think this part seems to be specific to your system. > Another thing that needs to be done is, if you have libjpeg9 installed, > I can't recall which package needed libjpeg, but I am not talking about > libjpeg-turbo. Is that you have to patch two files in libreOffice to > enable it to compile against the new version of libjpeg9. I found the > discussion of the compilation error at: > https://bugs.gentoo.org/show_bug.cgi?id=479946 > Almsot everything on a desktop pulls in libjpeg, but we are happy with libjpeg-turbo pretending to be jpeg v8. I guess that one of your gnome development packages decided to require jpeg v9 ? > The patch is also there as an attachment. They have it listed as > unconfirmed, but I can say that without it, like the person who provided > the patch, libreOffice will not compile. > > I manually edited the two files rather than apply a patch, but perhaps > it might be a good idea to make the patch available as a required if you > have libjpeg9 and above installed. > > As it is still compiling I do not know how its going to run, but from > that thread, I suspect it will install and run fine. > > Regards, > > Christopher. > I'll wait until I've done a DESTDIR build of LO before I update this. System icu is definitely fine with the patch and icu-53.1, but I had not realised boost was also affected. ĸen -- das eine Mal als Tragödie, dieses Mal als Farce -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
