You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Mahadev konar (JIRA)" <ji...@apache.org> on 2009/02/17 20:03:00 UTC

[jira] Created: (ZOOKEEPER-316) configure option --without-cppunit does not work

configure option --without-cppunit does not work
------------------------------------------------

                 Key: ZOOKEEPER-316
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-316
             Project: Zookeeper
          Issue Type: Bug
            Reporter: Mahadev konar


configure option --without-cppunit does not work.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-316) configure option --without-cppunit does not work

Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674407#action_12674407 ] 

Mahadev konar commented on ZOOKEEPER-316:
-----------------------------------------


./configure --without-cppunit
make

...
aclocal:configure.ac:36: warning: macro `AM_PATH_CPPUNIT' not found in library
...
Makefile.am:68: wildcard tests/*.cc: non-POSIX variable name
Makefile.am:68: (probably a GNU make extension)
Makefile.am:68: wildcard tests/*.h: non-POSIX variable name
Makefile.am:68: (probably a GNU make extension)
Makefile.am:77: shell cat tests/wrappers.opt: non-POSIX variable name
Makefile.am:77: (probably a GNU make extension)
Makefile.am:90: shell cat tests/wrappers-mt.opt: non-POSIX variable name
Makefile.am:90: (probably a GNU make extension)
...
configure.ac:36: error: possibly undefined macro: AM_PATH_CPPUNIT
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
make: *** [configure] Error 1

here is the trace provided by chris.



> configure option --without-cppunit does not work
> ------------------------------------------------
>
>                 Key: ZOOKEEPER-316
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-316
>             Project: Zookeeper
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>            Reporter: Mahadev konar
>
> configure option --without-cppunit does not work.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-316) configure option --without-cppunit does not work

Posted by "Chris Darroch (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Darroch updated ZOOKEEPER-316:
------------------------------------

    Attachment:     (was: ZOOKEEPER-316.patch)

> configure option --without-cppunit does not work
> ------------------------------------------------
>
>                 Key: ZOOKEEPER-316
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-316
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client, tests
>    Affects Versions: 3.1.0
>            Reporter: Mahadev konar
>
> configure option --without-cppunit does not work.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-316) configure option --without-cppunit does not work

Posted by "Chris Darroch (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699766#action_12699766 ] 

Chris Darroch commented on ZOOKEEPER-316:
-----------------------------------------

One step forward (not a complete solution) would be to add cppunit.m4 to svn.  For example, src/c/m4/cppunit.m4 can then be included when building from scratch with trunk using "aclocal -I m4".  That gets rid of the "undefined macro" error for AM_PATH_CPPUNIT if you don't have cppunit installed in a default location.

> configure option --without-cppunit does not work
> ------------------------------------------------
>
>                 Key: ZOOKEEPER-316
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-316
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client, tests
>    Affects Versions: 3.1.0
>            Reporter: Mahadev konar
>
> configure option --without-cppunit does not work.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-316) configure option --without-cppunit does not work

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated ZOOKEEPER-316:
-----------------------------------

    Component/s: tests
                 c client

> configure option --without-cppunit does not work
> ------------------------------------------------
>
>                 Key: ZOOKEEPER-316
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-316
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client, tests
>    Affects Versions: 3.1.0
>            Reporter: Mahadev konar
>
> configure option --without-cppunit does not work.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-316) configure option --without-cppunit does not work

Posted by "Chris Darroch (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12731012#action_12731012 ] 

Chris Darroch commented on ZOOKEEPER-316:
-----------------------------------------

I'm moving the patch file to ZOOKEEPER-469 because it's really a separate issue; sorry for any confusion.

> configure option --without-cppunit does not work
> ------------------------------------------------
>
>                 Key: ZOOKEEPER-316
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-316
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client, tests
>    Affects Versions: 3.1.0
>            Reporter: Mahadev konar
>
> configure option --without-cppunit does not work.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-316) configure option --without-cppunit does not work

Posted by "Chris Darroch (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Darroch updated ZOOKEEPER-316:
------------------------------------

    Attachment: ZOOKEEPER-316.patch

This patch makes sure CPPUNIT_CFLAGS isn't overwritten; if one has cppunit in a non-standard location it's important to have the -I flags passed into the compiler.

> configure option --without-cppunit does not work
> ------------------------------------------------
>
>                 Key: ZOOKEEPER-316
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-316
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client, tests
>    Affects Versions: 3.1.0
>            Reporter: Mahadev konar
>         Attachments: ZOOKEEPER-316.patch
>
>
> configure option --without-cppunit does not work.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-316) configure option --without-cppunit does not work

Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699768#action_12699768 ] 

Mahadev konar commented on ZOOKEEPER-316:
-----------------------------------------

cppunit is under GNU license so we cannot include the cppunit.m4. I am still finding my way throguh auto tools. Is their some other way we can do it ?

> configure option --without-cppunit does not work
> ------------------------------------------------
>
>                 Key: ZOOKEEPER-316
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-316
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client, tests
>    Affects Versions: 3.1.0
>            Reporter: Mahadev konar
>
> configure option --without-cppunit does not work.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-316) configure option --without-cppunit does not work

Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mahadev konar updated ZOOKEEPER-316:
------------------------------------

    Affects Version/s: 3.1.0

> configure option --without-cppunit does not work
> ------------------------------------------------
>
>                 Key: ZOOKEEPER-316
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-316
>             Project: Zookeeper
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>            Reporter: Mahadev konar
>
> configure option --without-cppunit does not work.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-316) configure option --without-cppunit does not work

Posted by "Chris Darroch (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699774#action_12699774 ] 

Chris Darroch commented on ZOOKEEPER-316:
-----------------------------------------

I don't know about cppunit.m4, but AM_PATH_CPPUNIT isn't available without it -- maybe it's installed by default on some systems, but not any of mine, at least.

> configure option --without-cppunit does not work
> ------------------------------------------------
>
>                 Key: ZOOKEEPER-316
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-316
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client, tests
>    Affects Versions: 3.1.0
>            Reporter: Mahadev konar
>         Attachments: ZOOKEEPER-316.patch
>
>
> configure option --without-cppunit does not work.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.