Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


Greetings,

I have beed struggling to build libreoffice-5.0.x on a blfs setup.  I tried 
libreoffice5.0.1.2  and eventially decided to try 5.0.2.2.  Both give the same 
resul.t.

The computer has these:
--os blfs linux 64-bit
--cpu amd64 2 cores, 8Gbytes DDr3 RAM
--gcc-4.8.1, linux-4.2.1, kde-4.14.3, 




The build fails like so:-

#-------------------------------------------------

DynamicLibraryManagerException: "Failed to load dynamic library: 
/home/linteg/BUILD_LO/libreoffice-5.0.2.2/workdir/LinkTarget/CppunitTest/libtest_vcl_app_test.so
"
Path is 
'/opt/kde/bin:/opt/qt4/bin:/opt/apache/bin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/opt/openJDK/bin:/usr/X11R7.7/bin'
which: no gdb in 
(/opt/kde/bin:/opt/qt4/bin:/opt/apache/bin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/opt/openJDK/bin:/usr/X11R7.7/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 VALGRIND=memcheck            # for memory checking

and retry using: make CppunitTest_vcl_app_test

make[1]: *** 
[/home/linteg/BUILD_LO/libreoffice-5.0.2.2/workdir/CppunitTest/vcl_app_test.test] 
Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [build] Error 2


#-------------------------------------------------



I did the following
################

export PATH=/usr/bin:$PATH
export CPPUNITTRACE="gdb"    # for interactive debugging on Linux

 make CppunitTest_vcl_app_test  2>&1 | tee  /LOGS/WP708-E0B-
libreoffice-5.0.2.2logMAKE



linteg [ ~/BUILD_LO/libreoffice-5.0.2.2 ]$  make CppunitTest_vcl_app_test  
2>&1 | tee  /LOGS/WP708-E0B-libreoffice-5.0.2.2-logMAKE
make -j 2 -rs -f /home/linteg/BUILD_LO/libreoffice-5.0.2.2/Makefile.gbuild 
CppunitTest_vcl_app_test
[build CUT] vcl_app_test
gdb: unrecognized option '--headless'
Use `gdb --help' for a complete list of options.
make[1]: *** 
[/home/linteg/BUILD_LO/libreoffice-5.0.2.2/workdir/CppunitTest/vcl_app_test.test] 
Error 1
make: *** [CppunitTest_vcl_app_test] Error 2
linteg [ ~/BUILD_LO/libreoffice-5.0.2.2 ]$ 

################

I dont   where '-- headless' appeared from and I have'nt the foggiest idea of 
the options to pass to gdb.



builds have been tried with:- 
-- a) downloaded cppunit-1.13.2
-- n) passing  --with-system-cppunit   (already i /usr ) to ./configure

all give the same result.

Help/advice would be appreciated.

Sincerely
Sibu

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.