adrian-thurston / colm

The Colm Programming Language
MIT License
164 stars 31 forks source link

b: command not found #132

Closed AaronNGray closed 3 years ago

AaronNGray commented 3 years ago
make[2]: Entering directory '/mnt/c/Users/aaron/GitHub/colm/doc/colm'
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 0_00_welcome.html 0_00_welcome.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 0_00_welcome.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 0_06_scope.html 0_06_scope.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 0_06_scope.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 1_05_variables.html 1_05_variables.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 1_05_variables.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 3_00_language_transformation.html 3_00_language_transformation.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 3_00_language_transformation.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 8_00_advanced_topics.html 8_00_advanced_topics.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 8_00_advanced_topics.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 9_00_q_and_a.html 9_00_q_and_a.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 9_00_q_and_a.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 0_01_installing.html 0_01_installing.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 0_01_installing.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 1_00_language_overview.html 1_00_language_overview.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 1_00_language_overview.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 1_06_iterators.html 1_06_iterators.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 1_06_iterators.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 3_01_lex.html 3_01_lex.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 3_01_lex.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 8_01_embedding.html 8_01_embedding.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 8_01_embedding.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 0_02_vim_syntax.html 0_02_vim_syntax.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 0_02_vim_syntax.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 1_01_statements.html 1_01_statements.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 1_01_statements.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 2_00_types.html 2_00_types.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 2_00_types.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 3_02_parse.html 3_02_parse.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 3_02_parse.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 8_02_modularity.html 8_02_modularity.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 8_02_modularity.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 0_03_commandline.html 0_03_commandline.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 0_03_commandline.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 1_02_expressions.html 1_02_expressions.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 1_02_expressions.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 2_01_basic.html 2_01_basic.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 2_01_basic.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 3_03_match.html 3_03_match.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 3_03_match.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 8_03_performance.html 8_03_performance.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 8_03_performance.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 0_04_hello_world.html 0_04_hello_world.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 0_04_hello_world.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 1_03_control_flow.html 1_03_control_flow.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 1_03_control_flow.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 2_02_list_map_struct_alias.html 2_02_list_map_struct_alias.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 2_02_list_map_struct_alias.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 3_04_undo.html 3_04_undo.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 3_04_undo.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 8_04_error_handling.html 8_04_error_handling.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 8_04_error_handling.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 0_05_fizzbuzz.html 0_05_fizzbuzz.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 0_05_fizzbuzz.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 1_04_functions.html 1_04_functions.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 1_04_functions.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 2_03_def.html 2_03_def.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 2_03_def.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 3_05_reduction.html 3_05_reduction.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 3_05_reduction.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 8_05_contributing.html 8_05_contributing.adoc
/bin/bash: b: command not found
make[2]: [Makefile:568: 8_05_contributing.html] Error 127 (ignored)
make[3]: Entering directory '/mnt/c/Users/aaron/GitHub/colm/doc/colm'
make[3]: Nothing to be done for 'install-exec-am'.
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 0_00_welcome.html 0_00_welcome.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 0_00_welcome.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 0_06_scope.html 0_06_scope.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 0_06_scope.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 1_05_variables.html 1_05_variables.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 1_05_variables.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 3_00_language_transformation.html 3_00_language_transformation.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 3_00_language_transformation.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 8_00_advanced_topics.html 8_00_advanced_topics.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 8_00_advanced_topics.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 9_00_q_and_a.html 9_00_q_and_a.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 9_00_q_and_a.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 0_01_installing.html 0_01_installing.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 0_01_installing.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 1_00_language_overview.html 1_00_language_overview.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 1_00_language_overview.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 1_06_iterators.html 1_06_iterators.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 1_06_iterators.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 3_01_lex.html 3_01_lex.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 3_01_lex.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 8_01_embedding.html 8_01_embedding.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 8_01_embedding.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 0_02_vim_syntax.html 0_02_vim_syntax.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 0_02_vim_syntax.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 1_01_statements.html 1_01_statements.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 1_01_statements.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 2_00_types.html 2_00_types.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 2_00_types.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 3_02_parse.html 3_02_parse.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 3_02_parse.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 8_02_modularity.html 8_02_modularity.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 8_02_modularity.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 0_03_commandline.html 0_03_commandline.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 0_03_commandline.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 1_02_expressions.html 1_02_expressions.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 1_02_expressions.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 2_01_basic.html 2_01_basic.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 2_01_basic.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 3_03_match.html 3_03_match.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 3_03_match.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 8_03_performance.html 8_03_performance.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 8_03_performance.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 0_04_hello_world.html 0_04_hello_world.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 0_04_hello_world.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 1_03_control_flow.html 1_03_control_flow.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 1_03_control_flow.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 2_02_list_map_struct_alias.html 2_02_list_map_struct_alias.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 2_02_list_map_struct_alias.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 3_04_undo.html 3_04_undo.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 3_04_undo.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 8_04_error_handling.html 8_04_error_handling.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 8_04_error_handling.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 0_05_fizzbuzz.html 0_05_fizzbuzz.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 0_05_fizzbuzz.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 1_04_functions.html 1_04_functions.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 1_04_functions.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 2_03_def.html 2_03_def.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 2_03_def.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 3_05_reduction.html 3_05_reduction.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 3_05_reduction.html] Error 127 (ignored)
b html5 -a icons -a iconsdir=/usr/share/asciidoc/icons -a max-width=800px -a source-highlighter=pygments -o 8_05_contributing.html 8_05_contributing.adoc
/bin/bash: b: command not found
make[3]: [Makefile:568: 8_05_contributing.html] Error 127 (ignored)
jengelh commented 3 years ago

configure.ac fails to handle the absence of asciidoc.

AaronNGray commented 3 years ago

@jengelh you obviously must have the 'b' command avaliable on your platform. I cannot seem to find which package it is in. I was wondering if you know what package it is in using dpkg -S b failing that could give me the results of running a which b please.

jengelh commented 3 years ago

'b' is not a command. You will find that, because ./configure has not found any asciidoc, the @ASCIIDOC@ autoconf-level variable is empty, hence doc/colm/Makefile.am's ASCIIDOC = @ASCIIDOC@ also leads to ${ASCIIDOC} (make-level variable) being empty, and with that,

.adoc.html:
        $(ASCIIDOC) -b $(OUTPUT) $(OPTIONS) -o $@ $<

this rule obviously does not execute anything sensible when ASCIIDOC is empty.

AaronNGray commented 3 years ago

@jengelh cool thank you, building and installing now.

jengelh commented 3 years ago

I mean the bug is still there (configure.ac should error out unless --disable-manual or something is given), so perhaps keep the issue open. (Me I'm just a passer-by)

AaronNGray commented 3 years ago

Okay reopened, I am just using Colm for another of Adrian's Projects.

Jakub41 commented 3 years ago

Hello, in a project I have the same issue with Colm. What should I do to make it work? Thanks

AaronNGray commented 3 years ago

If you are on Linux install the 'asciidoc' package.

Tom-python0121 commented 3 years ago

@AaronNGray You're right, and I did address my question: image

rmosolgo commented 2 years ago

I don't see it mentioned above, so I'll share it here. On mac, I fixed this by installing asciidoc with homebrew:

brew install asciidoc

After that, colm installed successfully.