zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Hunt (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-1034) perl bindings should automatically find the zookeeper c-client headers
Date Mon, 01 Aug 2011 19:31:09 GMT

    [ 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

        

Mime
View raw message