[dev] Re: about oov build
Am Wed, 16 Jun 2010 15:32:54 +0800 schrieb wangxiang wangxian...@gmail.com: *But another question comes back : I can't find the .o or .so libs in the folder /opt/openoffice.org3/program (There's only an libnpsoplugin.so in the folder )* Is that right ? Yes, most libs are in /opt/openoffice (the middle layer, see http://wiki.services.openoffice.org/wiki/ODF_Toolkit/Efforts/Three-Layer_OOo) *Because I want to build the sw module with debug information, and replace the existing libs with the new build libs* Well, you should not need to do that with a machine-wide installation. You can either set: export FORCE2ARCHIVE=true or export PKGFORMAT=installed to get a tarball that you can simply unpack an run anywhere, or to get an runnable installation directly in the output tree of instsetoo_native (http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Linux#cite_note-Foot6-5.) Best Regards, Bjoern - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Re: about oov build
Thanks, I just want to build some modules like SW with the debug partial build, and replace existing libs to get some debugging But I can't find the .o or .so in the installation folders. In my fedora12, it's /opt/openoffice.org3/program/ and i follow your suggestions and find the programs in the output tree sub-folders openoffice.org3/program/ But there're still no other libs in the folder *My question actually is If someone wrote an extension/plugin for OOo, Can he debug his code with just replacing some existing libs of OOo? * 2010/6/16 Bjoern Michaelsen bjoern.michael...@gmail.com Am Wed, 16 Jun 2010 15:32:54 +0800 schrieb wangxiang wangxian...@gmail.com: *But another question comes back : I can't find the .o or .so libs in the folder /opt/openoffice.org3/program (There's only an libnpsoplugin.so in the folder )* Is that right ? Yes, most libs are in /opt/openoffice (the middle layer, see http://wiki.services.openoffice.org/wiki/ODF_Toolkit/Efforts/Three-Layer_OOo ) *Because I want to build the sw module with debug information, and replace the existing libs with the new build libs* Well, you should not need to do that with a machine-wide installation. You can either set: export FORCE2ARCHIVE=true or export PKGFORMAT=installed to get a tarball that you can simply unpack an run anywhere, or to get an runnable installation directly in the output tree of instsetoo_native ( http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Linux#cite_note-Foot6-5 .) Best Regards, Bjoern - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org -- Xiang Wang Institue Of Acoustics, CAS
[dev] Re: about oov build
Am Wed, 16 Jun 2010 16:22:13 +0800 schrieb wangxiang wangxian...@gmail.com: Thanks, I just want to build some modules like SW with the debug partial build, and replace existing libs to get some debugging But I can't find the .o or .so in the installation folders. In my fedora12, it's /opt/openoffice.org3/program/ and i follow your suggestions and find the programs in the output tree sub-folders openoffice.org3/program/ But there're still no other libs in the folder /opt/openoffice3/ is the brand layer, you need to find the basis layer. On my machine (gentoo) it is at /usr/lib/openoffice/basis3.2/program on other distro it might be a different location. Ask your friendly package manager. Best Regards, Bjoern - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] Re: about oov build
On 16/06/2010 10:22, wangxiang wrote: Thanks, I just want to build some modules like SW with the debug partial build, and replace existing libs to get some debugging But I can't find the .o or .so in the installation folders. In my fedora12, it's /opt/openoffice.org3/program/ and i follow your suggestions and find the programs in the output tree sub-folders openoffice.org3/program/ But there're still no other libs in the folder you're still looking in the wrong directory: it's opt/openoffice.org/program/, with no 3 in it! openoffice.org3 is the brand layer, and contains little of interest (just the soffice.bin program that actually starts OOo). -- We are sorry, you have dialed an imaginary number. Please rotate your phone ninety degrees and try again. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Re: about oov build
Thanks, i got it! 2010/6/16 Michael Stahl michael.st...@sun.com On 16/06/2010 10:22, wangxiang wrote: Thanks, I just want to build some modules like SW with the debug partial build, and replace existing libs to get some debugging But I can't find the .o or .so in the installation folders. In my fedora12, it's /opt/openoffice.org3/program/ and i follow your suggestions and find the programs in the output tree sub-folders openoffice.org3/program/ But there're still no other libs in the folder you're still looking in the wrong directory: it's opt/openoffice.org/program/, with no 3 in it! openoffice.org3 is the brand layer, and contains little of interest (just the soffice.bin program that actually starts OOo). -- We are sorry, you have dialed an imaginary number. Please rotate your phone ninety degrees and try again. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org -- Xiang Wang Institue Of Acoustics, CAS