Installation issue (asciidoc error)

161 views
Skip to first unread message

Rajesh Shan

unread,
Mar 9, 2017, 3:01:05 AM3/9/17
to Ansible Project
I tried to install Ansible in RHEL 7.2 server. But it give the following error :

[root@ip-172-31-23-152 ansible]# make rpm
sed "s/%VERSION%/2.3.0/" docs/man/man1/ansible.1.asciidoc.in > docs/man/man1/ansible.1.asciidoc
ERROR: AsciiDoc 'a2x' command is not installed but is required to build docs/man/man1/ansible.1 docs/man/man1/ansible-playbook.1 docs/man/man1/ansible-pull.1 docs/man/man1/ansible-doc.1 docs/man/man1/ansible-galaxy.1 docs/man/man1/ansible-vault.1
make: *** [docs/man/man1/ansible.1] Error 1
rm docs/man/man1/ansible.1.asciidoc


Could you please send us docs or steps to resolve this error.

Dick Visser

unread,
Mar 9, 2017, 9:07:31 AM3/9/17
to ansible...@googlegroups.com
hi

You're missing the asciidoc package, which provides the a2x command.
Did you install that (as per docs at
http://docs.ansible.com/ansible/intro_installation.html#latest-release-via-yum)?

Dick
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-proje...@googlegroups.com.
> To post to this group, send email to ansible...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/78a8c037-f6a1-4a03-84e8-918dfd9ac293%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Dick Visser
Sr. System & Network Engineer
GÉANT

Want to join us? We're hiring: https://www.geant.org/jobs
Reply all
Reply to author
Forward
0 new messages