Re: CppunitTest_vcl_app_test:: help required

2015-10-19 Thread Stephan Bergmann

On 10/16/2015 07:19 PM, sibu wrote:

On Friday 16 October 2015 13:45:41 Stephan Bergmann wrote:

LD_LIBRARY_PATH=/home/linteg/BUILD_LO/libreoffice-5.0.2.2/instdir/program
ldd
/home/linteg/BUILD_LO/libreoffice-5.0.2.2/workdir/LinkTarget/CppunitTest
/libtest_vcl_app_test.so


root [ /home/linteg ]#
LD_LIBRARY_PATH=/home/linteg/BUILD_LO/libreoffice-5.0.2.2/workdir/LinkTarget/CppunitTest/libtest_vcl_app_test.so
\

ldd

/home/linteg/BUILD_LO/libreoffice-5.0.2.2/workdir/LinkTarget/CppunitTest/libtest_vcl_app_test.so


That's not the LD_LIBRARY_PATH setting I'd asked for (better copy/paste 
the requested command lines), but the output is also no longer relevant 
given the next command's output.



root [ /home/linteg ]#
LD_LIBRARY_PATH=/home/linteg/BUILD_LO/libreoffice-5.0.2.2/instdir/program:/home/linteg/BUILD_LO/libreoffice-5.0.2.2/workdir/UnpackedTarball/cppunit/src/cppunit/.libs
ldd
/home/linteg/BUILD_LO/libreoffice-5.0.2.2/workdir/LinkTarget/CppunitTest/libtest_vcl_app_test.so
 linux-vdso.so.1 (0x7fff069f5000)
 libcppunit-1.12.so.1 => /usr/lib/libcppunit-1.12.so.1
(0x7fdae26ca000)


So you're using the system's libcppunit-1.12.so.1, and all needed libs 
are found fine.  Hmm.  Maybe



LD_LIBRARY_PATH=/home/linteg/BUILD_LO/libreoffice-5.0.2.2/instdir/program ldd 
-r 
/home/linteg/BUILD_LO/libreoffice-5.0.2.2/workdir/LinkTarget/CppunitTest/libtest_vcl_app_test.so


gives some helpful output.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: CppunitTest_vcl_app_test:: help required

2015-10-16 Thread sibu
On Friday 16 October 2015 13:45:41 Stephan Bergmann wrote:
> On 10/16/2015 01:02 PM, sibu wrote:
> > DynamicLibraryManagerException: "Failed to load dynamic library:
> > /home/linteg/BUILD_LO/libreoffice-5.0.2.2/workdir/LinkTarget/CppunitTest/
> > libtest_vcl_app_test.so "
> 
> Looks like there's something wrong with loading that test lib.  What is
> the output of


root [ /home/linteg ]# readelf -d  
/home/linteg/BUILD_LO/libreoffice-5.0.2.2/workdir/LinkTarget/CppunitTest/libtest_vcl_app_test.so

Dynamic section at offset 0x107e8 contains 30 entries:
  TagType Name/Value
 0x0001 (NEEDED) Shared library: 
[libcppunit-1.12.so.1]
 0x0001 (NEEDED) Shared library: [libuno_sal.so.3]
 0x0001 (NEEDED) Shared library: [libvcllo.so]
 0x0001 (NEEDED) Shared library: [libstdc++.so.6]
 0x0001 (NEEDED) Shared library: [libm.so.6]
 0x0001 (NEEDED) Shared library: [libgcc_s.so.1]
 0x0001 (NEEDED) Shared library: [libc.so.6]
 0x000f (RPATH)  Library rpath: [$ORIGIN/../Library]
 0x000c (INIT)   0x3c38
 0x000d (FINI)   0xcba8
 0x0019 (INIT_ARRAY) 0x21
 0x001b (INIT_ARRAYSZ)   24 (bytes)
 0x6ef5 (GNU_HASH)   0x158
 0x0005 (STRTAB) 0xdd8
 0x0006 (SYMTAB) 0x1c0
 0x000a (STRSZ)  4713 (bytes)
 0x000b (SYMENT) 24 (bytes)
 0x0003 (PLTGOT) 0x210aa8
 0x0002 (PLTRELSZ)   1824 (bytes)
 0x0014 (PLTREL) RELA
 0x0017 (JMPREL) 0x3518
 0x0007 (RELA)   0x21f8
 0x0008 (RELASZ) 4896 (bytes)
 0x0009 (RELAENT)24 (bytes)
 0x6ffb (FLAGS_1)Flags: ORIGIN
 0x6ffe (VERNEED)0x2148
 0x6fff (VERNEEDNUM) 4
 0x6ff0 (VERSYM) 0x2042
 0x6ff9 (RELACOUNT)  123
 0x (NULL)   0x0
root [ /home/linteg ]# 












> > readelf -d
> > /home/linteg/BUILD_LO/libreoffice-5.0.2.2/workdir/LinkTarget/CppunitTest
> > /libtest_vcl_app_test.so
> 
> and
> 
> > LD_LIBRARY_PATH=/home/linteg/BUILD_LO/libreoffice-5.0.2.2/instdir/program
> > ldd
> > /home/linteg/BUILD_LO/libreoffice-5.0.2.2/workdir/LinkTarget/CppunitTest
> > /libtest_vcl_app_test.so


root [ /home/linteg ]# 
LD_LIBRARY_PATH=/home/linteg/BUILD_LO/libreoffice-5.0.2.2/workdir/LinkTarget/CppunitTest/libtest_vcl_app_test.so
 
\
> ldd 
/home/linteg/BUILD_LO/libreoffice-5.0.2.2/workdir/LinkTarget/CppunitTest/libtest_vcl_app_test.so
linux-vdso.so.1 (0x7ffe01588000)
libcppunit-1.12.so.1 => /usr/lib/libcppunit-1.12.so.1 
(0x7f9ea7e97000)
libuno_sal.so.3 => not found
libvcllo.so => not found
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x7f9ea7b8d000)
libm.so.6 => /lib/libm.so.6 (0x7f9ea788e000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x7f9ea7678000)
libc.so.6 => /lib/libc.so.6 (0x7f9ea72cb000)
/lib/ld-linux-x86-64.so.2 (0x5647fd616000)
root [ /home/linteg ]#  









> and
>
> > LD_LIBRARY_PATH=/home/linteg/BUILD_LO/libreoffice-5.0.2.2/instdir/program
> > :/home/linteg/BUILD_LO/libreoffice-5.0.2.2/workdir/UnpackedTarball/cppuni
> > t/src/cppunit/.libs ldd
> > /home/linteg/BUILD_LO/libreoffice-5.0.2.2/workdir/LinkTarget/CppunitTest
> > /libtest_vcl_app_test.so


root [ /home/linteg ]# 
LD_LIBRARY_PATH=/home/linteg/BUILD_LO/libreoffice-5.0.2.2/instdir/program:/home/linteg/BUILD_LO/libreoffice-5.0.2.2/workdir/UnpackedTarball/cppunit/src/cppunit/.libs
 
ldd 
/home/linteg/BUILD_LO/libreoffice-5.0.2.2/workdir/LinkTarget/CppunitTest/libtest_vcl_app_test.so
linux-vdso.so.1 (0x7fff069f5000)
libcppunit-1.12.so.1 => /usr/lib/libcppunit-1.12.so.1 
(0x7fdae26ca000)
libuno_sal.so.3 => 
/home/linteg/BUILD_LO/libreoffice-5.0.2.2/instdir/program/libuno_sal.so.3 
(0x7fdae2473000)
libvcllo.so => 
/home/linteg/BUILD_LO/libreoffice-5.0.2.2/instdir/program/libvcllo.so 
(0x7fdae1c43000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x7fdae193a000)
libm.so.6 => /lib/libm.so.6 (0x7fdae163b000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x7fdae1425000)
libc.so.6 => /lib/libc.so.6 (0x7fdae1078000)
libpthread.so.0 => /lib/libpthread.so.0 (0x7fdae0e5b000)
libdl.so.2 => /lib/libdl.so.2 (0x7fdae0c57000)
librt.so.1 => /lib/librt.so.1 (0x7fdae0a4f000)
libcurl.so.4 => /usr/lib/libcurl.so.4 (0x7fdae07db000)
libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0x7fdae0586000)
libnss3.so => 

Re: CppunitTest_vcl_app_test:: help required

2015-10-16 Thread Eike Rathke
Hi sibu,

On Friday, 2015-10-16 12:02:00 +0100, sibu wrote:

> export CPPUNITTRACE="gdb --args"# for interactive debugging on Linux

> I did the following
> export CPPUNITTRACE="gdb"# for interactive debugging on Linux

Note that the original message said to set "gdb --args", not just "gdb".

> gdb: unrecognized option '--headless'

Without --args, gdb takes subsequent command line arguments as its own
arguments, with --args they are arguments to the program to be run.

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GPG key "ID" 0x65632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
Better use 64-bit 0x6A6CD5B765632D3A here is why: https://evil32.com/
Care about Free Software, support the FSFE https://fsfe.org/support/?erack


signature.asc
Description: PGP signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: CppunitTest_vcl_app_test:: help required

2015-10-16 Thread Stephan Bergmann

On 10/16/2015 01:02 PM, sibu wrote:

DynamicLibraryManagerException: "Failed to load dynamic library:
/home/linteg/BUILD_LO/libreoffice-5.0.2.2/workdir/LinkTarget/CppunitTest/libtest_vcl_app_test.so
"


Looks like there's something wrong with loading that test lib.  What is 
the output of



readelf -d 
/home/linteg/BUILD_LO/libreoffice-5.0.2.2/workdir/LinkTarget/CppunitTest/libtest_vcl_app_test.so


and


LD_LIBRARY_PATH=/home/linteg/BUILD_LO/libreoffice-5.0.2.2/instdir/program ldd 
/home/linteg/BUILD_LO/libreoffice-5.0.2.2/workdir/LinkTarget/CppunitTest/libtest_vcl_app_test.so


and


LD_LIBRARY_PATH=/home/linteg/BUILD_LO/libreoffice-5.0.2.2/instdir/program:/home/linteg/BUILD_LO/libreoffice-5.0.2.2/workdir/UnpackedTarball/cppunit/src/cppunit/.libs
 ldd 
/home/linteg/BUILD_LO/libreoffice-5.0.2.2/workdir/LinkTarget/CppunitTest/libtest_vcl_app_test.so



___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


CppunitTest_vcl_app_test:: help required

2015-10-16 Thread sibu
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
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: LibreOffice On-Line WebSocket Daemon - Help required

2015-08-07 Thread Venkatesh



 Iam trying to insall libra office on a debian 8.0 OS server.
 In this readme file of loolwds


 https://gerrit.libreoffice.org/gitweb?p=online.git;a=blob;f=loolwsd/README;h=39550cc7316460d2de4f47073220df2830edfab2;hb=HEAD

 I did not under this section

 loolwsd uses autoconf/automake, so build using the usual:
 25
 https://gerrit.libreoffice.org/gitweb?p=online.git;a=blob;f=loolwsd/README;h=39550cc7316460d2de4f47073220df2830edfab2;hb=HEAD#l25
 26
 https://gerrit.libreoffice.org/gitweb?p=online.git;a=blob;f=loolwsd/README;h=39550cc7316460d2de4f47073220df2830edfab2;hb=HEAD#l26
 MASTER=/path/to/built/core.git # configure for your system


 Where is this core.git will be ?



 If you can help me on this would be great help from you.


 Thanks
 Venkatesh







___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


slight help required for #51656

2013-03-28 Thread Prashant Pandey
Hi,

I am trying to hack on https://bugs.freedesktop.org/show_bug.cgi?id=51656 and
so far had been able to discover out the culprit to be : 'aScales' here:
http://opengrok.libreoffice.org/xref/core/chart2/source/view/charttypes/VSeriesPlottear.cxx#1001,
since aScales[0] assumes different values for different form of graphs.

It also seems to me that core/chart2/source/view/main/ChartView.cxx plays a
good role herein [to decide the location of origin on X-axis].

I am trying hard to understand and connect links between different codes
using the code pointers, but somehow am not able to take another productive
step ahead, just seem to be beating around the bush and would be glad to be
slightly motivated by small hint/clue.

Thanking you in anticipation

Regards
Prashant
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: slight help required for #51656

2013-03-28 Thread Prashant Pandey
Hi,
I managed to overcome a  major barrier that I was facing.  So, I think that
now I no longer require a clue for the same.

Thanks
Prashant

On Fri, Mar 29, 2013 at 12:59 AM, Prashant Pandey prashant3.yi...@gmail.com
 wrote:

 Hi,

 I am trying to hack on https://bugs.freedesktop.org/show_bug.cgi?id=51656 and
 so far had been able to discover out the culprit to be : 'aScales' here:
 http://opengrok.libreoffice.org/xref/core/chart2/source/view/charttypes/VSeriesPlottear.cxx#1001,
 since aScales[0] assumes different values for different form of graphs.

 It also seems to me that core/chart2/source/view/main/ChartView.cxx plays
 a good role herein [to decide the location of origin on X-axis].

 I am trying hard to understand and connect links between different codes
 using the code pointers, but somehow am not able to take another productive
 step ahead, just seem to be beating around the bush and would be glad to be
 slightly motivated by small hint/clue.

 Thanking you in anticipation

 Regards
 Prashant

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Help required

2013-01-22 Thread Rushi Shukla
Hello ,

I am trying to solve the bug :
https://bugs.freedesktop.org/show_bug.cgi?id=55846 and I have already gone
through the files :
http://opengrok.libreoffice.org/search?q=project=coredefs=FontSizeBox ,
http://opengrok.libreoffice.org/xref/core/svx/source/tbxctrls/tbunocontroller.cxx
and
other files related to the toolbox as well :
http://opengrok.libreoffice.org/xref/core/vcl/source/window/toolbox.cxx ,
http://opengrok.libreoffice.org/xref/core/vcl/source/window/toolbox2.cxx .
I am adopting the following approach :

1) If the toolbar is docked vertically , i.e. if(!bHorz) or the values are
such : meAlign = WINDOWALIGN_LEFT || meAlign = WINDOWALIGN_RIGHT , then the
FontSizeBox's representation as a MetricBox is converted to an image , can
you please tell me how do I get the ItemId of the image .

2) After getting the ItemId of the image in the vertical Toolbar , I want
to attach a handler to the image which creates a drop-down box as it does
for the FontSizeBox :
http://opengrok.libreoffice.org/xref/core/svx/source/tbxctrls/tbunocontroller.cxx
 .

I would like to ask about how and where do I attach the drop-down handler
to the fontsizebox image in the vertical toolbar ?
Any sort of help is appreciated :-)

Regards ,
Rushi
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice