You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2011/08/01 21:31:09 UTC
[jira] [Commented] (ZOOKEEPER-1034) perl bindings should
automatically find the zookeeper c-client headers
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13073676#comment-13073676 ]
Patrick Hunt commented on ZOOKEEPER-1034:
-----------------------------------------
I'm having trouble following the readme:
"The path supplied to the --zookeeper-include option should
identify the directory that contains the zookeeper.h and other
ZooKeeper C include files."
{noformat}
perl Makefile.PL --zookeeper-lib=/home/phunt/dev/zookeeper/build/test/test-cppunit/.libs --zookeeper-include=/home/phunt/dev/zookeeper/src/c/include
Could not determine ZooKeeper version:
build/check_zk_version.c:21:41: fatal error: zookeeper/zookeeper_version.h: No such file or directory
compilation terminated.
{noformat}
I think I can get past this, but the docs should reflect.
> perl bindings should automatically find the zookeeper c-client headers
> ----------------------------------------------------------------------
>
> Key: ZOOKEEPER-1034
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1034
> Project: ZooKeeper
> Issue Type: Bug
> Components: contrib
> Affects Versions: 3.3.3
> Reporter: Nicholas Harteau
> Assignee: Nicholas Harteau
> Priority: Minor
> Fix For: 3.4.0
>
> Attachments: ZOOKEEPER-1034-trunk.patch, ant.test-1034, ant.test-nopatch
>
>
> Installing Net::ZooKeeper from cpan or the zookeeper distribution tarballs will always fail due to not finding c-client header files. In conjunction with ZOOKEEPER-1033 update perl bindings to look for c-client header files in INCDIR/zookeeper/
> a.k.a. make installs of Net::ZooKeeper via cpan/cpanm/whatever *just work*, assuming you've already got the zookeeper c client installed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira