This version (0.31) consists of two programs: a filter tool named aescm, and a CGI tool named aescm.cgi. By default only the filter tool will be compiled and installed. To install the CGI tool, see doc/cgi.html.
As this tool uses Autoconf
and Automake
,
the installation will be done as usual,
but you may have to specify --with-scheme
option. If you omit it, Guile will be used as the default
backend interpreter.
./configure --with-scheme="scheme -options
make
make install
The default language is Scheme
and its XML namespace is scm
.
But you can change the default interpreter language
by configuring with --with-default
option.
You must specify this option if your Scheme interpreter is SCM. The default language configuration file for Scheme does not work with this interpreter. The configuration file for scm is scm-scm. So run the configure script as follows:
./configure --with-default=scm-scm
The default language can be overridden
by environment variable ESCM_DEFAULT
and its default interpreter by ESCM_BACKEND
.
Most other Scheme interpreters than SCM
work with the default language configuration file,
but you may have to specify the program name and its option arguments
with --with-scheme
option.
You will find Information on some interpreters
in doc/interpreter.html.
The default interpreter is Guile,
for it seems to be installed most Unix or Linux boxes
due to dependecy of some GNU programes.
To use Gauche, a Scheme interpreter written by Kawai san who is the author of escm 1.1, as the default backend interpreter:
./configure --with-scheme="gosh -b"
or simply:
./configure --with-scheme"
The language configuration files, which are in src/lang
directory, will be installed in $(pkgdatadir)/lang
,
so in $(datadir)/aescm
.
To change $(pkgdatadir)
to elsewhere,
specify it in an argument of make
, for example:
make pkgdatadir=/opt/escm