You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Matthew Rathbone (Created) (JIRA)" <ji...@apache.org> on 2012/01/27 18:26:10 UTC

[jira] [Created] (MESOS-136) Zookeeper's CPPUnit dependency doesn't have access to required macro on Red-Hat

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

                 Key: MESOS-136
                 URL: https://issues.apache.org/jira/browse/MESOS-136
             Project: Mesos
          Issue Type: Bug
          Components: build
         Environment: Red-Hat (amazon's AMI)



            Reporter: Matthew Rathbone
            Priority: Minor


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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MESOS-136) Zookeeper's CPPUnit dependency doesn't have access to required macro on Red-Hat

Posted by "Matthew Rathbone (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13194964#comment-13194964 ] 

Matthew Rathbone commented on MESOS-136:
----------------------------------------

Including a tar instead of the source makes a lot of sense. In the mean-time this is a totally fine workaround (now that I know about it!), so hopefully google will help others who are having this issue.
                
> Zookeeper's CPPUnit dependency doesn't have access to required macro on Red-Hat
> -------------------------------------------------------------------------------
>
>                 Key: MESOS-136
>                 URL: https://issues.apache.org/jira/browse/MESOS-136
>             Project: Mesos
>          Issue Type: Bug
>          Components: build
>         Environment: Red-Hat (amazon's AMI)
>            Reporter: Matthew Rathbone
>            Priority: Minor
>              Labels: build-failure, zookeeper
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (MESOS-136) Zookeeper's CPPUnit dependency doesn't have access to required macro on Red-Hat

Posted by "Charles Reiss (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MESOS-136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles Reiss resolved MESOS-136.
---------------------------------

    Resolution: Fixed

Now that we build zookeeper by unpacking the tarball, this issue shouldn't happen.
                
> Zookeeper's CPPUnit dependency doesn't have access to required macro on Red-Hat
> -------------------------------------------------------------------------------
>
>                 Key: MESOS-136
>                 URL: https://issues.apache.org/jira/browse/MESOS-136
>             Project: Mesos
>          Issue Type: Bug
>          Components: build
>         Environment: Red-Hat (amazon's AMI)
>            Reporter: Matthew Rathbone
>            Priority: Minor
>              Labels: build-failure, zookeeper
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MESOS-136) Zookeeper's CPPUnit dependency doesn't have access to required macro on Red-Hat

Posted by "Charles Reiss (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13194956#comment-13194956 ] 

Charles Reiss commented on MESOS-136:
-------------------------------------

That aclocal is being run at all for third_party/zookeeper... is a bug. (Timestamp problem?) Hopefully, the way we are fixing MESOS-120 (which should change how third_party is built) will fix that incidentally.
                
> Zookeeper's CPPUnit dependency doesn't have access to required macro on Red-Hat
> -------------------------------------------------------------------------------
>
>                 Key: MESOS-136
>                 URL: https://issues.apache.org/jira/browse/MESOS-136
>             Project: Mesos
>          Issue Type: Bug
>          Components: build
>         Environment: Red-Hat (amazon's AMI)
>            Reporter: Matthew Rathbone
>            Priority: Minor
>              Labels: build-failure, zookeeper
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira