Menu

install CppUnit on macOs X

Help
Anonymous
2001-12-03
2001-12-14
  • Anonymous

    Anonymous - 2001-12-03

    Hi,

    Since I'm trying to install CppUnit under MacOS X  I can't  build some files Plaese take a look of my console display
    --------------------------------------------------------------
    [macbruegge41:cppunit-1.6.2/src/cppunit] winterm% c++ -shared .libs/NotEqualException.o .libs/RepeatedTest.o .libs/TestAssert.o .libs/TestCase.o .libs/TestSuite.o .libs/TestResult.o .libs/TestFailure.o .libs/TestRegistry.o .libs/Exception.o .libs/TextTestResult.o .libs/TextTestRunner.o .libs/TestFactoryRegistry.o .libs/TypeInfoHelper.o -lc -o .libs/libcppunit-1.6.0.0.2.dylib -lcc_dynamic
    /usr/bin/ld: Undefined symbols:
    _main
    ___builtin_vec_new
    ___udivdi3
    ___umoddi3
    restFP
    saveFP
    [macbruegge41:cppunit-1.6.2/src/cppunit] winterm%
    --------------------------------------------------------------
    Can you tell how to buid it or do you now  anybody who already install it on MacOS
    Note: I didn't have this probleme with Linux

    Regards

     
    • Anonymous

      Anonymous - 2001-12-14

      the solution of the problem:
      follow the installation instructions('INSTALL'-file):
      1. configure
      2. // here it changes:
      edit the 'libtool' file:
      change 'archive_cmds="\$CC -shared '...
      to     'archive_cmds="\$CC -dynamiclib '...

      continue the installation process...   

       

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.