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

[jira] [Updated] (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:all-tabpanel ]

Nicholas Harteau updated ZOOKEEPER-1034:
----------------------------------------

    Attachment: ZOOKEEPER-1034-trunk.patch

src/contrib/zkperl now both checks to see if it can find zookeeper_version.h in some sane places, and the Makefile.PL compiles and prints the client version, warning if it's not 3.x

this could be a fatal error but we have only been checking to see if '#include "zookeeper_version.h"' works for some time now, so warning seemed safer.

this change sorta-depends on ZOOKEEEPER-1033 putting stuff into a sane location, but the failure mode without ZOOKEEPER-1033 is the same, as users today need to tweak Makefile.PL options in order to get the perl module to install.

zkperl test suite passes.

> 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
>            Priority: Minor
>         Attachments: ZOOKEEPER-1034-trunk.patch
>
>
> 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