[
https://issues.apache.org/jira/browse/AVRO-2425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16873050#comment-16873050
]
ASF subversion and git services commented on AVRO-2425:
-------------------------------------------------------
Commit fcffe2f11fd65f3a2e6ec369dadaaf3a6da9bf40 in avro's branch
refs/heads/master from Kengo Seki
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=fcffe2f ]
AVRO-2425: CMake error message for C bindings is misleading (#547)
> CMake error message for C bindings is misleading
> ------------------------------------------------
>
> Key: AVRO-2425
> URL: https://issues.apache.org/jira/browse/AVRO-2425
> Project: Apache Avro
> Issue Type: Improvement
> Components: c
> Reporter: Kengo Seki
> Assignee: Kengo Seki
> Priority: Minor
>
> I tried to build C bindings and got the following error:
> {code}
> $ cd lang/c
> $ ./build.sh dist
> (snip)
> -- Searching for asciidoc...
> CMake Warning at docs/CMakeLists.txt:51 (message):
> asciidoc not found. HTML documentation will *NOT* be built.
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /home/sekikn/repo/avro/build/c
> cp: cannot stat '../../build/c/docs/*.html': No such file or directory
> {code}
> So I checked if asciidoc was installed, but I couldn't see any problem. After
> all, the actual lacked package was source-highlight. I think the above
> message is misleading.
> {code:title=lang/c/docs/CMakeLists.txt}
> find_program(ASCIIDOC_EXECUTABLE asciidoc)
> find_program(SOURCE_HIGHLIGHT_EXECUTABLE source-highlight)
> if (ASCIIDOC_EXECUTABLE AND SOURCE_HIGHLIGHT_EXECUTABLE)
> (snip)
> else(ASCIIDOC_EXECUTABLE AND SOURCE_HIGHLIGHT_EXECUTABLE)
> message(WARNING "asciidoc not found. HTML documentation will *NOT* be
> built.")
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)