Not able to build cppUnit on cygwin

forumer
2006-07-24
2013-04-22
  • forumer

    forumer - 2006-07-24

    I'll like to start using cppunit-1.10.2 on cygwin. I use g++ 3.4.4, but I am having problems building it. I ran ./configure and everything seemed to go OK. Then when I run "make", I get the following build
    errros. These .plo files are actually missing. I'd appreciate help very much.... Thanks

    ----

    $ make
    Making all in src
    make[1]: Entering directory `/cygdrive/c/cppunit-1.10.2/src'
    Making all in cppunit
    make[2]: Entering directory `/cygdrive/c/cppunit-1.10.2/src/cppunit'
    Makefile:361: .deps/Asserter.Plo: No such file or directory
    Makefile:362: .deps/BeOsDynamicLibraryManager.Plo: No such file or
    directory
    Makefile:363: .deps/BriefTestProgressListener.Plo: No such file or
    directory
    Makefile:364: .deps/CompilerOutputter.Plo: No such file or directory
    Makefile:365: .deps/DefaultProtector.Plo: No such file or directory
    Makefile:366: .deps/DynamicLibraryManager.Plo: No such file or
    directory
    Makefile:367: .deps/DynamicLibraryManagerException.Plo: No such file or
    directory
    Makefile:368: .deps/Exception.Plo: No such file or directory
    Makefile:369: .deps/Message.Plo: No such file or directory
    Makefile:370: .deps/PlugInManager.Plo: No such file or directory
    Makefile:371: .deps/PlugInParameters.Plo: No such file or directory
    Makefile:372: .deps/Protector.Plo: No such file or directory
    Makefile:373: .deps/ProtectorChain.Plo: No such file or directory
    Makefile:374: .deps/RepeatedTest.Plo: No such file or directory
    Makefile:375: .deps/ShlDynamicLibraryManager.Plo: No such file or
    directory
    Makefile:376: .deps/SourceLine.Plo: No such file or directory
    Makefile:377: .deps/StringTools.Plo: No such file or directory
    Makefile:378: .deps/SynchronizedObject.Plo: No such file or directory
    Makefile:379: .deps/Test.Plo: No such file or directory
    Makefile:380: .deps/TestAssert.Plo: No such file or directory
    Makefile:381: .deps/TestCase.Plo: No such file or directory
    Makefile:382: .deps/TestCaseDecorator.Plo: No such file or directory
    Makefile:383: .deps/TestComposite.Plo: No such file or directory
    Makefile:384: .deps/TestDecorator.Plo: No such file or directory
    Makefile:385: .deps/TestFactoryRegistry.Plo: No such file or directory
    Makefile:386: .deps/TestFailure.Plo: No such file or directory
    Makefile:387: .deps/TestLeaf.Plo: No such file or directory
    Makefile:388: .deps/TestNamer.Plo: No such file or directory
    Makefile:389: .deps/TestPath.Plo: No such file or directory
    Makefile:390: .deps/TestPlugInDefaultImpl.Plo: No such file or
    directory
    Makefile:391: .deps/TestResult.Plo: No such file or directory
    Makefile:392: .deps/TestResultCollector.Plo: No such file or directory
    Makefile:393: .deps/TestRunner.Plo: No such file or directory
    Makefile:394: .deps/TestSetUp.Plo: No such file or directory
    Makefile:395: .deps/TestSuccessListener.Plo: No such file or directory
    Makefile:396: .deps/TestSuite.Plo: No such file or directory
    Makefile:397: .deps/TestSuiteBuilderContext.Plo: No such file or
    directory
    Makefile:398: .deps/TextOutputter.Plo: No such file or directory
    Makefile:399: .deps/TextTestProgressListener.Plo: No such file or
    directory
    Makefile:400: .deps/TextTestResult.Plo: No such file or directory
    Makefile:401: .deps/TextTestRunner.Plo: No such file or directory
    Makefile:402: .deps/TypeInfoHelper.Plo: No such file or directory
    Makefile:403: .deps/UnixDynamicLibraryManager.Plo: No such file or
    directory
    Makefile:404: .deps/Win32DynamicLibraryManager.Plo: No such file or
    directory
    Makefile:405: .deps/XmlDocument.Plo: No such file or directory
    Makefile:406: .deps/XmlElement.Plo: No such file or directory
    Makefile:407: .deps/XmlOutputter.Plo: No such file or directory
    Makefile:408: .deps/XmlOutputterHook.Plo: No such file or directory
    make[2]: *** No rule to make target `.deps/XmlOutputterHook.Plo'.
    Stop.
    make[2]: Leaving directory `/cygdrive/c/cppunit-1.10.2/src/cppunit'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/cygdrive/c/cppunit-1.10.2/src'
    make: *** [all-recursive] Error 1

    ----

     
    • john_1726

      john_1726 - 2006-11-21

      I have been able to install cppunit-1.12.0 into cygwin, and it compiles fine after I make use of the correct patch file.  See the web page below for details,

      http://gnuradio.utah.edu/trac/wiki/CppUnitInstallCygwin

      The installation works great; however, when I try to compile the example money I receive the following errors,

      make[1]: Entering directory `/usr/src/cppunit-1.12.0/examples/money'
      if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKA
      GE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"cppunit-cookbook\" -DVERSION
      =\"1.6.2\" -I. -I. -I./include -I./include   -I/usr/local/include -g -O2 -MT Mon
      eyApp-MoneyTest.o -MD -MP -MF ".deps/MoneyApp-MoneyTest.Tpo" -c -o MoneyApp-Mone
      yTest.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 `Mone
      yApp.exe'.  Stop.
      make[1]: Leaving directory `/usr/src/cppunit-1.12.0/examples/money'
      make: *** [check-am] Error 2

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks