Kengo Seki created AVRO-2425:
--------------------------------
Summary: 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
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)