Hi all, I am since some days trying to build "LibreOffice" on my new BLFS (systemd edition) - Version 2014-10-10. I am aware that my problems/recommendations are mainly for the LibreOffice developers, however, some comments could also be included in the BLFS Book.
The ./configure process went completly OK. No problems at all were reported. First of all, this system asks for a very nice volume of RAM on the PC: my first compiling try ended with the error: quote ----------------- ...... [build CXX] sc/source/ui/docshell/docsh2.cxx g++: interner Compiler-Fehler: Getötet (Programm cc1plus) Bitte senden Sie einen vollständigen Fehlerbericht auf Englisch ein; bearbeiten Sie die Quellen zunächst mit einem Präprozessor, wenn es dienlich ist. Siehe <http://gcc.gnu.org/bugs.html> für nähere Anweisungen. /sources_BLFS/libreoffice-4.3.2.2/solenv/gbuild/LinkTarget.mk:183: recipe for target '/sources_BLFS/libreoffice-4.3.2.2/workdir/CxxObject/sc/source/ui/docshell/docfunc.o' failed make[1]: *** [/sources_BLFS/libreoffice-4.3.2.2/workdir/CxxObject/sc/source/ui/docshell/docfunc.o] Error 4 make[1]: *** Deleting file '/sources_BLFS/libreoffice-4.3.2.2/workdir/CxxObject/sc/source/ui/docshell/docfunc.o' make[1]: *** Warte auf noch nicht beendete Prozesse... Makefile:224: recipe for target 'build' failed make: *** [build] Error 2 ---------------- unquote Translation: internal compiler error: killed ( program cc1plus ) Google said, this is due to a lack of RAM ( my box has 2 GB ) I got this error message after 4 hours of make ! I fixed (?) this problem by adding 2 GB of swap partition, not building anymore with -j2 ( I have two processors ) and using only a black console to avoid unnecessary RAM load, I did not start KDE. The result, after 6 hours of compilation ( !! ) was: quote ------------------- ld LOC] libreoffice [build CUT] vcl_app_test DynamicLibraryManagerException: "Failed to load dynamic library: /sources_BLFS/libreoffice-4.3.2.2/workdir/LinkTarget/CppunitTest/libtest_vcl_app_test.so libgraphite2.so.3: cannot open shared object file: No such file or directory" Path is '.:/sources_BLFS/libreoffice-4.3.2.2/solenv/bin:/bin:/usr/local/bin:/bin:/usr/bin:/opt/kde/bin:/opt/qt4/bin:/usr/bin:/sbin:/usr/local/bin:/opt/bin:/usr/local/sbin:/usr/bin:/lib:/opt/qt/bin:/opt/qt4/bin:/opt/kde:/opt/kde/bin:/opt/jdk-7u3:/opt/jdk-7u3/bin' which: no gdb in (.:/sources_BLFS/libreoffice-4.3.2.2/solenv/bin:/bin:/usr/local/bin:/bin:/usr/bin:/opt/kde/bin:/opt/qt4/bin:/usr/bin:/sbin:/usr/local/bin:/opt/bin:/usr/local/sbin:/usr/bin:/lib:/opt/qt/bin:/opt/qt4/bin:/opt/kde:/opt/kde/bin:/opt/jdk-7u3:/opt/jdk-7u3/bin) You need gdb in your path to show backtraces Error: a unit test failed, please do one of: export DEBUGCPPUNIT=TRUE # for exception catching export CPPUNITTRACE="gdb --args" # for interactive debugging on Linux export CPPUNITTRACE="\"[full path to devenv.exe]\" /debugexe" # for interactive debugging in Visual Studio export VALGRIND=memcheck # for memory checking and retry using: make CppunitTest_vcl_app_test /sources_BLFS/libreoffice-4.3.2.2/solenv/gbuild/CppunitTest.mk:70: recipe for target '/sources_BLFS/libreoffice-4.3.2.2/workdir/CppunitTest/vcl_app_test.test' failed make[1]: *** [/sources_BLFS/libreoffice-4.3.2.2/workdir/CppunitTest/vcl_app_test.test] Error 1 make[1]: *** Warte auf noch nicht beendete Prozesse... Makefile:224: recipe for target 'build' failed make: *** [build] Error 2 ------------------- unquote Well, I really don't know what is happening. But anyway, I would like to make some comments: 1. The BLFS Book should advice, that you need pretty much RAM in order to build this program 2. Something is wrong, when the configuration is totally OK, but the make process fails 3. The code itself is a monster: if you need 6 hours to become informed, that something went wrong, the code is useless for normal users ( not necessarely for distros ). It would be a nice idea, to consider spliting the unit in several modules to be compiled separetely: text documents, spreadsheets presentations etc. As I said, this concerns probably other people, but for BLFS users building LibreOffice, this could be a help. Neither of this problems have ocurred with the old LibreOffice Version 4.0.2.2. Regards, Edgar -- Dr.-Ing. Edgar Alwers <edgaralw...@gmx.de> GPG Key ID:AD5C6F70 -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page