Closed VonTalavang closed 7 years ago
The problem is that the man pages aren't generated from adoc, yet. You can generate them by running make man
in your build directory. After that it should work,
Normally it should automatically get generated, could you tell us, which commands you exactly executed to create the install?
ok... but...
/alacarte/build$ make man
[ 0%] Building manpage /home/ntala/alacarte/build/manpages/alacarte-maps-importer.1
make[3]: A2X_EXECUTABLE-NOTFOUND: Command not found
manpages/CMakeFiles/man.dir/build.make:74: recipe for target 'manpages/alacarte-maps-importer.1' failed
make[3]: *** [manpages/alacarte-maps-importer.1] Error 127
CMakeFiles/Makefile2:1476: recipe for target 'manpages/CMakeFiles/man.dir/all' failed
make[2]: *** [manpages/CMakeFiles/man.dir/all] Error 2
CMakeFiles/Makefile2:1484: recipe for target 'manpages/CMakeFiles/man.dir/rule' failed
make[1]: *** [manpages/CMakeFiles/man.dir/rule] Error 2
Makefile:733: recipe for target 'man' failed
make: *** [man] Error 2
UPDATE: its a Debian jessie issue ?
It looks like it doesn't find asciidoc. As far as I see, there is a package for it in Debian Jessie. Could you install asciidoc
and try again?
@Semoar do we really want to depend on asciidoc?
I think it would be sensible to only install the manpages if they can be generated. And if they can't be generated only issue a warning and not an error.
Ok... so this what i did: installed asciidoc...and then checked:
$type -a a2x
a2x is /usr/bin/a2x
no luck !
export A2X_EXECUTABLE=/usr/bin/a2x (just in case !)
make[3]: A2X_EXECUTABLE-NOTFOUND: Command not found
manpages/CMakeFiles/man.dir/build.make:74: recipe for target 'manpages/alacarte-maps-importer.1' failed
Im willing to help
Just to be sure, could you throw away your build
directory and re-run cmake
etc. to clear the CMake cache?
ok... that works for me so theres a clear dependency of asciidoc
thanks
Thanks alot for pointing us at this issue!
We really just forgot to mention this in the Readme. dafa288 mentions asciidoc as optional dependency for manpage generation, and we're working on making it actually optional e.g. for Windows users atm.
Hello people
I was trying to create the install and this jumps:
CMake Error at manpages/cmake_install.cmake:36 (file): file INSTALL cannot find "/home/XXXXXXX/alacarte/build/manpages/alacarte-maps-importer.1.gz".
content of the build folder:
~/alacarte/build/manpages$ ls alacarte-maps-importer.1.adoc CMakeFiles CMakeLists.txt Makefile alacarte-maps-server.1.adoc cmake_install.cmake CTestTestfile.cmake
thanks for this project