I've just started using cppunit, and I've downloaded version 1.12.0. Configure and make runs fine, but when I run make check I receive the following output,
Making check in src
make[1]: Entering directory `/usr/src/cppunit-1.12.0/src'
Making check in cppunit
make[2]: Entering directory `/usr/src/cppunit-1.12.0/src/cppunit'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/usr/src/cppunit-1.12.0/src/cppunit'
Making check in DllPlugInTester
make[2]: Entering directory `/usr/src/cppunit-1.12.0/src/DllPlugInTester'
make DllPlugInTesterTest.exe
make[3]: Entering directory `/usr/src/cppunit-1.12.0/src/DllPlugInTester'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../config -I../../include -I../../include -g -O2 -MT DllPlugInTesterTest.o -MD -MP -MF ".deps/DllPlugInTesterTest.Tpo" -c -
o DllPlugInTesterTest.o DllPlugInTesterTest.cpp; \
then mv -f ".deps/DllPlugInTesterTest.Tpo" ".deps/DllPlugInTesterTest.Po"; else rm -f ".deps/DllPlugInTesterTest.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../config -I../../include -I../../include -g -O2 -MT CommandLineParserTest.o -MD -MP -MF ".deps/CommandLineParserTest.Tpo"
-c -o CommandLineParserTest.o CommandLineParserTest.cpp; \
then mv -f ".deps/CommandLineParserTest.Tpo" ".deps/CommandLineParserTest.Po"; else rm -f ".deps/CommandLineParserTest.Tpo"; exit 1; fi
/bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -o DllPlugInTesterTest.exe -ldl DllPlugInTesterTest.o CommandLineParser.o CommandLineParserTest.o ../../
src/cppunit/libcppunit.la
g++ -g -O2 -o .libs/DllPlugInTesterTest.exe DllPlugInTesterTest.o CommandLineParser.o CommandLineParserTest.o -ldl ../../src/cppunit/.libs/libcppunit.dll.a -L/us
r/local/lib
creating DllPlugInTesterTest.exe
make[3]: Leaving directory `/usr/src/cppunit-1.12.0/src/DllPlugInTester'
make check-TESTS
make[3]: Entering directory `/usr/src/cppunit-1.12.0/src/DllPlugInTester'
....FAIL: DllPlugInTesterTest
===================
1 of 1 tests failed
===================
make[3]: Leaving directory `/usr/src/cppunit-1.12.0/src/DllPlugInTester'
make[2]: Leaving directory `/usr/src/cppunit-1.12.0/src/DllPlugInTester'
make[1]: Leaving directory `/usr/src/cppunit-1.12.0/src'
Could you please tell me what's wrong?
Thank you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For the above problem, I found on gnuradio the cppunit_dll_string.patch solved the problem with make check, but now I am receiving the following error on make check. Does anyone have any ideas? TIA.
When I reach the point of trying to build the money example, I receive the following error,
Mad Monk@abbot /usr/src/cppunit-1.12.0/examples/money
$ make check
make: *** No rule to make target `config/ac_create_prefix_config_h.m4', needed by `Makefile.in'. Stop.
Please give suggestions, TIA.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Now when I try to build the money example, I receive an error about src/cppunit/libcppunit.la, but I've checked at libcppunit.la certainly exists in the cppunit directory!
Mad Monk@abbot /usr/src/cppunit-1.12.0/examples/money
$ make check
make MoneyApp.exe
make[1]: Entering directory `/usr/src/cppunit-1.12.0/examples/money'
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"cppunit-c"1.6.2\" -I. -I. -I./include -I./include -I/usr/local/include -g -O2 -MT MoneyApp-MoneyTest.o -MD -MP -MF ".deps/MoneyApp-MoneyTest.Tpo" -ct.o `test -f 'MoneyTest.cpp' || echo './'`MoneyTest.cpp; \
then mv -f ".deps/MoneyApp-MoneyTest.Tpo" ".deps/MoneyApp-MoneyTest.Po"; else rm -f ".deps/MoneyApp-MoneyTest.Tpo"; exit 1; fi
make[1]: *** No rule to make target `src/cppunit/libcppunit.la', needed by `MoneyApp.exe'. Stop.
make[1]: Leaving directory `/usr/src/cppunit-1.12.0/examples/money'
make: *** [check-am] Error 2
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've just started using cppunit, and I've downloaded version 1.12.0. Configure and make runs fine, but when I run make check I receive the following output,
Making check in src
make[1]: Entering directory `/usr/src/cppunit-1.12.0/src'
Making check in cppunit
make[2]: Entering directory `/usr/src/cppunit-1.12.0/src/cppunit'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/usr/src/cppunit-1.12.0/src/cppunit'
Making check in DllPlugInTester
make[2]: Entering directory `/usr/src/cppunit-1.12.0/src/DllPlugInTester'
make DllPlugInTesterTest.exe
make[3]: Entering directory `/usr/src/cppunit-1.12.0/src/DllPlugInTester'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../config -I../../include -I../../include -g -O2 -MT DllPlugInTesterTest.o -MD -MP -MF ".deps/DllPlugInTesterTest.Tpo" -c -
o DllPlugInTesterTest.o DllPlugInTesterTest.cpp; \ then mv -f ".deps/DllPlugInTesterTest.Tpo" ".deps/DllPlugInTesterTest.Po"; else rm -f ".deps/DllPlugInTesterTest.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../config -I../../include -I../../include -g -O2 -MT CommandLineParserTest.o -MD -MP -MF ".deps/CommandLineParserTest.Tpo"
-c -o CommandLineParserTest.o CommandLineParserTest.cpp; \ then mv -f ".deps/CommandLineParserTest.Tpo" ".deps/CommandLineParserTest.Po"; else rm -f ".deps/CommandLineParserTest.Tpo"; exit 1; fi
/bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -o DllPlugInTesterTest.exe -ldl DllPlugInTesterTest.o CommandLineParser.o CommandLineParserTest.o ../../
src/cppunit/libcppunit.la
g++ -g -O2 -o .libs/DllPlugInTesterTest.exe DllPlugInTesterTest.o CommandLineParser.o CommandLineParserTest.o -ldl ../../src/cppunit/.libs/libcppunit.dll.a -L/us
r/local/lib
creating DllPlugInTesterTest.exe
make[3]: Leaving directory `/usr/src/cppunit-1.12.0/src/DllPlugInTester'
make check-TESTS
make[3]: Entering directory `/usr/src/cppunit-1.12.0/src/DllPlugInTester'
....FAIL: DllPlugInTesterTest
===================
1 of 1 tests failed
===================
make[3]: Leaving directory `/usr/src/cppunit-1.12.0/src/DllPlugInTester'
make[2]: Leaving directory `/usr/src/cppunit-1.12.0/src/DllPlugInTester'
make[1]: Leaving directory `/usr/src/cppunit-1.12.0/src'
Could you please tell me what's wrong?
Thank you.
For the above problem, I found on gnuradio the cppunit_dll_string.patch solved the problem with make check, but now I am receiving the following error on make check. Does anyone have any ideas? TIA.
XmlUniformiserTest::testElementsHierarchyWithContents : OK
XmlUniformiserTest::testAssertXmlEqual/bin/sh: line 4: 2968 Aborted (core dumped) ${dir}$tst
FAIL: cppunittestmain
===================
make[3]: *** [check-TESTS] Error 1
1 of 1 tests failed
===================
make[3]: Leaving directory `/usr/src/cppunit-1.12.0/examples/cppunittest'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/usr/src/cppunit-1.12.0/examples/cppunittest'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/usr/src/cppunit-1.12.0/examples'
make: *** [check-recursive] Error 1
When I reach the point of trying to build the money example, I receive the following error,
Mad Monk@abbot /usr/src/cppunit-1.12.0/examples/money
$ make check
make: *** No rule to make target `config/ac_create_prefix_config_h.m4', needed by `Makefile.in'. Stop.
Please give suggestions, TIA.
Now when I try to build the money example, I receive an error about src/cppunit/libcppunit.la, but I've checked at libcppunit.la certainly exists in the cppunit directory!
Mad Monk@abbot /usr/src/cppunit-1.12.0/examples/money
$ make check
make MoneyApp.exe
make[1]: Entering directory `/usr/src/cppunit-1.12.0/examples/money'
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"cppunit-c"1.6.2\" -I. -I. -I./include -I./include -I/usr/local/include -g -O2 -MT MoneyApp-MoneyTest.o -MD -MP -MF ".deps/MoneyApp-MoneyTest.Tpo" -ct.o `test -f 'MoneyTest.cpp' || echo './'`MoneyTest.cpp; \ then mv -f ".deps/MoneyApp-MoneyTest.Tpo" ".deps/MoneyApp-MoneyTest.Po"; else rm -f ".deps/MoneyApp-MoneyTest.Tpo"; exit 1; fi
make[1]: *** No rule to make target `src/cppunit/libcppunit.la', needed by `MoneyApp.exe'. Stop.
make[1]: Leaving directory `/usr/src/cppunit-1.12.0/examples/money'
make: *** [check-am] Error 2