[
https://issues.apache.org/jira/browse/ZOOKEEPER-2265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14732480#comment-14732480
]
Raul Gutierrez Segales commented on ZOOKEEPER-2265:
---------------------------------------------------
Thanks for the patch [~arshad.mohammad], though -1.
Without create-cppunit-configure, package builders (i.e.: RPMs) wouldn't be
able to build the C library from the tarball (i.e.: no configure script).
If anything, we could make ant tar fail with a more obvious message if you are
missing autoreconf. But I think tarballs should always allow you to build the C
library without having to install autoreconf... (that step definitely belongs
to the building the tarball step).
> zookeeper build fails while doing configuration for cppunit test
> ----------------------------------------------------------------
>
> Key: ZOOKEEPER-2265
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2265
> Project: ZooKeeper
> Issue Type: Bug
> Components: build
> Affects Versions: 3.5.1
> Reporter: Arshad Mohammad
> Assignee: Arshad Mohammad
> Priority: Minor
> Fix For: 3.5.2
>
> Attachments: ZOOKEEPER-2265-01.patch
>
>
> running {color:red}ant tar{color} gives following error
> {code}
> D:\gitHome\zookeeper-trunk\build.xml:1432: Execute failed:
> java.io.IOException: Cannot run program "autoreconf" (in directory
> "D:\gitHome\zookeeper-trunk\src\c"):
> {code}
> This error is purely environment error and it can be fixed by installing
> appropriate software package.
> But does it really required to configure the cpp unit as {color:red}ant
> tar{color} target flow does not run cppunit test cases. Then why to configure?
> There should be no cppunit configurations for {color:red}ant tar{color}
> target flow.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)