[Libreoffice] Problem with sal/cppunittester

Miklos Vajna vmiklos at frugalware.org
Fri Nov 5 18:17:29 PDT 2010


On Fri, Nov 05, 2010 at 09:36:40PM +0000, Caolán McNamara <caolanm at redhat.com> wrote:
> On Fri, 2010-11-05 at 21:10 +0000, Wols Lists wrote:
> > Just doing an emerge cppunit.
> 
> It shouldn't be necessary to use system cppunit, cppunit should be built
> as part of the build.
> 
> So, lets just document debugging this...
> 
> sal/cppunittester/makefile.mk has 
> 
> APP1STDLIBS = $(CPPUNITLIB) $(SALLIB)
> 
> in it, 
> 
> solenv/inc/libs.mk 
> has 
> 
> CPPUNITLIB = -lcppunit
> 
> for the case where we build our own cppunit
> 
> check your solver/330/unxlng*.pro/lib/ and see is there a libcppunit.so
> in there. You'll probably find that there isn't, but that there is a
> libcppunit-1.12.so.1 but no libcppunit.so. Missing link maybe. Because
> I'm not building from scratch everytime I happen to have the link from
> earlier, which is probably also why a lot of other people don't see this
> yet.
> 
> hmm, so cd cppunit and see what changed recently, 
> 
> git log -n 10
> 
> one of them (11c3398a91d7f65a45e08ad4ee33bdb5a7355111) says something a
> modifications to "cppunit library name", hum ho, that sounds likely
> 
> git show 11c3398a91d7f65a45e08ad4ee33bdb5a7355111
> 
> shows a change to the prj/d.lst i.e.
> 
> +..\%__SRC%\lib\libcppunit-1.12.so.1.0 %_DEST%\lib%_EXT%
> \libcppunit-1.12.so.1.0
> +symlink: %_DEST%\lib%_EXT%\libcppunit-1.12.so.1.0 %_DEST%\lib%_EXT%
> \libcppunit.so
> 
> revert that chunk, i.e. remove the symlink: line which mentions
> libcppunit-1.12.so.1.0 (not the one that says libcppunit-1.12.so.1) and
> it should work.

That's right, I got the same failure, once I revert Robert's patch,
and build & deliver in cppunit, I no longer get the error in sc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20101106/79757bdb/attachment.pgp>


More information about the LibreOffice mailing list