skribilo-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem using character literals


From: Michael Vehrs
Subject: Re: Problem using character literals
Date: Sun, 17 Jan 2021 07:49:27 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

On 1/14/21 3:21 PM, Ludovic Courtès wrote:
Hi,

Michael Vehrs <Michael.Burschik@gmx.de> skribis:

If I use hexadecimal character literals (e.g. #\x250F) in a skribilo
engine definition, compilation fails with this error message:
It could be that the character reader in Guile-Reader does not recognize
everything Guile’s built-in reader recognizes.  For instance, I had to
work around that in c9dc5ba5fcb9cef8f4a7bb87211e8e90bd87a9fc.

Could you check if that is the case?

;;; compiling skribilo/engine/plain-text.scm
That sounds interesting and would be a welcome addition!  :-)

Thanks,
Ludo’.

OK. First, I looked at reader/skribe.scm. The definition of
&sharp-reader looks good to me, since it includes the predefined reader
"character", which sounds like it should accept all characters guile
recognizes.

So I decided to take a closer look at Guile Reader. I cloned the
Skribilo repo and the Guile Reader repo and attempted to rebuild from
source. First of all, I noticed that the INSTALL file of both projects
does not explain how to do that. You can't run ./configure because there
is no such file. So I tried autoconf. That failed. The internet told me
that autoreconf is the thing to use these days. I tried, but that failed
with this error:

libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:29: installing 'build-aux/compile'
configure.ac:109: error: required file 'build-aux/config.rpath' not found
configure.ac:9: installing 'build-aux/missing'
src/Makefile.am: installing 'build-aux/depcomp'
autoreconf: automake failed with exit status: 1


Regards

Michael




reply via email to

[Prev in Thread] Current Thread [Next in Thread]