Menu

Build in OS X

Help
Sotiris
2007-01-12
2013-04-22
  • Sotiris

    Sotiris - 2007-01-12

    I read through the INSTALL file and followed the instructions. When I get to Make Install I get the following error. 

    /Users/smitropa/Projects/cppunit/cppunit> make install
    Making install in src
    Making install in cppunit
    /bin/sh ../../config/mkinstalldirs /usr/local/lib
    ../../config/mkinstalldirs: ../../config/mkinstalldirs: No such file or directory
    make[3]: *** [install-libLTLIBRARIES] Error 127
    make[2]: *** [install-am] Error 2
    make[1]: *** [install-recursive] Error 1
    make: *** [install-recursive] Error 1

    Any help would be greatly appreciated.

    Thank you.

     
    • didyeah

      didyeah - 2007-04-25

      Hi,
      I have the same problem too, i am using cppunit-1.10.2 with mac os x 10.4.9.
      There's an error when running 'make check'. Here's the end of the log :

      Making check in examples
      Making check in hierarchy
      make  hierarchy
      if g++ -DHAVE_CONFIG_H -I. -I. -I../../config -I../../include -I../../include    -g -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" \   -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; \ else rm -f ".deps/main.Tpo"; exit 1; \ fi
      ChessTest.h: In member function 'void ChessTest<GAMECLASS>::testNumberOfPieces()':
      ChessTest.h:19: error: 'm_game' was not declared in this scope
      ChessTest.h:19: error: no matching function for call to 'CppUnit::Asserter::failIf(<type error>, CppUnit::Message&, CppUnit::SourceLine&)'
      ../../include/cppunit/Asserter.h:66: note: candidates are: static void CppUnit::Asserter::failIf(bool, const CppUnit::Message&, const CppUnit::SourceLine&)
      ../../include/cppunit/Asserter.h:77: note:                 static void CppUnit::Asserter::failIf(bool, std::string, const CppUnit::SourceLine&)
      make[3]: *** [main.o] Error 1
      make[2]: *** [check-am] Error 2
      make[1]: *** [check-recursive] Error 1
      make: *** [check-recursive] Error 1

      thx for help
      Did

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.