[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13789827#comment-13789827
 ] 

Raul Gutierrez Segales commented on ZOOKEEPER-1586:
---------------------------------------------------

Yes, I believe it is. Actually there are two issues: a) the tarball is created 
with missing source files and b) (more importantly) the BUILD path for the C 
libs is wrong.

Should be:

{noformat}
-AC_CHECK_LIB(zookeeper_mt, main, [ZOOKEEPER_LD="-L${ZOOKEEPER_PATH}/.libs 
-lzookeeper_mt"],,["-L${ZOOKEEPER_PATH}/.libs"])
+ZOOKEEPER_BUILD_PATH=${BUILD_PATH}/../../../build/c
+AC_CHECK_LIB(zookeeper_mt, main, 
[ZOOKEEPER_LD="-L${ZOOKEEPER_BUILD_PATH}/.libs 
-lzookeeper_mt"],,["-L${ZOOKEEPER_BUILD_PATH}/.libs"])
{noformat}

And the third thing would be the configure.ac doesn't state that boost is 
needed.

I'll update the patch. 

> tarballs for zkfuse don't compile out of tree
> ---------------------------------------------
>
>                 Key: ZOOKEEPER-1586
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1586
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: contrib-zkfuse
>    Affects Versions: 3.5.0
>            Reporter: Raul Gutierrez Segales
>            Assignee: Raul Gutierrez Segales
>         Attachments: ZOOKEEPER-1586.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to