[
https://issues.apache.org/jira/browse/HDFS-12237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16118487#comment-16118487
]
James Clampffer commented on HDFS-12237:
----------------------------------------
I think the new approach is a pretty reasonable way of handling this. I
noticed you got rid of the PROTOBUF_LIBRARY requirement, was it breaking right
there before even trying to compile the test stub?
> libhdfs++: PROTOC_IS_COMPATIBLE check fails if protobuf library is built from
> source
> ------------------------------------------------------------------------------------
>
> Key: HDFS-12237
> URL: https://issues.apache.org/jira/browse/HDFS-12237
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: hdfs-client
> Reporter: Anatoli Shein
> Assignee: Anatoli Shein
> Attachments: HDFS-12237.HDFS-8707.000.patch,
> HDFS-12237.HDFS-8707.001.patch, HDFS-12237.HDFS-8707.002.patch
>
>
> Looks like the PROTOC_IS_COMPATIBLE check fails when Protobuf library is
> built from source. This happens because the check if performed during the
> cmake phase, and the protobuf library needed for this test is build from
> source only during the make phase, so the check fails with "ld: cannot find
> -lprotobuf" because it was not built yet. We should probably restrict this
> test to run only in cases when Protobuf library is already present and not
> being built from source.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]