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

Hudson commented on AVRO-2425:
------------------------------

SUCCESS: Integrated in Jenkins build AvroJava #687 (See 
[https://builds.apache.org/job/AvroJava/687/])
AVRO-2425: CMake error message for C bindings is misleading (#547) (fokko: 
[https://github.com/apache/avro/commit/fcffe2f11fd65f3a2e6ec369dadaaf3a6da9bf40])
* (edit) lang/c/docs/CMakeLists.txt


> 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
>             Fix For: 1.10.0
>
>
> 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)

Reply via email to