egallesio / STklos

STklos Scheme
http://stklos.net
GNU General Public License v2.0
70 stars 17 forks source link

build error #552

Closed bentxt closed 1 year ago

bentxt commented 1 year ago

the last part of the error after

./configure && make

my host (macos)

Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: x86_64-apple-darwin22.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Error

....
for d in refman; do (cd $d; /Applications/Xcode.app/Contents/Developer/usr/bin/make all); done
../../src/stklos -q -I ../../lib -f ../../utils/stklos-pp.stk -- -D "doc-fmt: 'html" stklos.adoc > tmp-html.txt
doc for bytevector-u8-ref requested whereas main entry is bytevector-s8-ref
doc for bytevector-u8-set! requested whereas main entry is bytevector-s8-set!
*** Undocumented procedures/syntaxes:
    time-difference
    time>?
    time-resolution
    bytevector-sint-set!
    bytevector-s8-set!
    bytevector-s8-ref
    bytevector-fill!
    bytevector=?
    native-endianness
    endianness
    output-port-open?
    bytevector-u8-set!
    bytevector-u8-ref
    autoload
    require-for-syntax
    syntax-error
    compiler:unroll-iterations
    compile-file
    include
    define-constant
    with-mutex
    declare-new-error
    setter
    pause
    hash-mutable?
    hash-immutable!
    symbol-bound?
    symbol-immutable!
    symbol-mutable?
*** Uninserted symbols in documentation: 29
mkdir -p ../HTML/images
cp -a images/hierarchy.png ../HTML/images
../adoc-fake.sh -v -o ../HTML/stklos-ref.html tmp-html.txt
***
*** You need to install the asciidoctor package to rebuild the documentation.
***
Making all in tests
Use "make test" for testing STklos.
make[1]: Nothing to be done for `all-am'.
jpellegrini commented 1 year ago

Hello @bentxt

If you're tanking about this:

***
*** You need to install the asciidoctor package to rebuild the documentation.
***

then it just means the documentation was not built because you don't have asciidoctor installed; but STklos was built successfully, as far as I can tell (end of compilation was reached normally).

Did you try make test after that? And then, make install?

After make install, does stklos work?

bentxt commented 1 year ago

*** You need to install the asciidoctor package to rebuild the documentation.

Sorry I somehow missed the asciidoctor hint

Did you try make test after that? And then, make install?

Yes that worked thanks

And I also installed asciidoctor and that worked as well with make

egallesio commented 1 year ago

Yep, the message is perhaps a bit misleading. Something like, “Documentation was not rebuilt (install the asciidoctor package if you need to rebuild it)” would be probably less worrying.