Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-136

Zookeeper's CPPUnit dependency doesn't have access to required macro on Red-Hat

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • build
    • Red-Hat (amazon's AMI)

    Description

      Firstly the readme should probably state that to build with zookeeper you need to have CPPUNIT installed
      on Red hat:
      sudo yum install cppunit-devel

      However, the zookeeper cofigure script assumes access to the macro:
      AM_PATH_CPPUNIT(<version>)

      All this does is check to see if the currently installed cppunit version is >= whatever is required, in this case 1.10.2. On red-hat, for whatever reason, the script does not have access to this macro.

      I fixed this issue by commenting out the offending line in the zookeeper configure script, and everything built fine. I think the manual inclusion of /usr/share/aclocal/ccpunit.m4 will also fix the problem (this is where the macro is defined), although I haven't tested this assertion.

      This seems related to: https://issues.apache.org/jira/browse/ZOOKEEPER-316

      Attachments

        Activity

          People

            Unassigned Unassigned
            rathboma Matthew Rathbone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: