Alpine support
I am trying to compile unsyntax on Alpine edge (aka. Alpine testing / unstable), I have several problems:
- Running
bootstrap
will update the filebootstrap
in place, and changem4/gnulib-cache.m4
- I think
README-hacking
is missing some required dependencies, here is what I noted:
commit 2949a3e2b6b21285e3e8120d7a461539bc42edbb
Author: Amirouche <amirouche@hyper.dev>
Date: Fri Dec 10 09:12:06 2021 +0100
wip
diff --git a/README-hacking b/README-hacking
index bd22c80..4e785d4 100644
--- a/README-hacking
+++ b/README-hacking
@@ -17,7 +17,7 @@ If you're using a GNU/Linux distribution, the easiest way to install these
packages depends on your system. The following shell command should work
for Debian-based systems such as Ubuntu:
- $ sudo apt-get install autoconf automake help2man
+ $ sudo apt-get install build-essential autoconf automake help2man help2text texinfo gettext
** Chibi-Scheme
But I did not test it as of yet on Debian.
- After installing a few packages on alpine, configure runs fine, but
make
fails with the following error:
make all-am
make[1]: Entering directory '/home/amirouche/src/scheme/unsyntax'
MAKEINFO doc/unsyntax.info
GEN man/unsyntax-scheme.1
help2man: no locale support (Locale::gettext required)
`help2man' generates a man page out of `--help' and `--version' output.
Usage: help2man [OPTION]... EXECUTABLE
-n, --name=STRING description for the NAME paragraph
-s, --section=SECTION section number for manual page (1, 6, 8)
-m, --manual=TEXT name of manual (User Commands, ...)
-S, --source=TEXT source of program (FSF, Debian, ...)
-L, --locale=STRING select locale (default "C")
-i, --include=FILE include material from `FILE'
-I, --opt-include=FILE include material from `FILE' if it exists
-o, --output=FILE send output to `FILE'
-p, --info-page=TEXT name of Texinfo manual
-N, --no-info suppress pointer to Texinfo manual
-l, --libtool exclude the `lt-' from the program name
--help print this help, then exit
--version print version number, then exit
EXECUTABLE should accept `--help' and `--version' options and produce output on
stdout although alternatives may be specified using:
-h, --help-option=STRING help option string
-v, --version-option=STRING version option string
--version-string=STRING version string
--no-discard-stderr include stderr when parsing option output
Report bugs to <bug-help2man@gnu.org>.
make[1]: *** [Makefile:2082: man/unsyntax-scheme.1] Error 255
make[1]: Leaving directory '/home/amirouche/src/scheme/unsyntax'
make: *** [Makefile:944: all] Error 2
I will look into how to disable building documentation with gnulib.