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.
so apparently for some reason having *two* lines with symlink: in it
with the same target breaks (which is news to me). Someone should have a
look at deliver in the solenv to find what it does on seeing a
"symlink:" line and try and fix it to do the right thing.
C.
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.