|
xindy Build Process by Thomas Henlich
| |
|
How to build xindy from sources
-
Get CLISP and the xindy clisp modules; as well as a xindy
distribution: platform-independent package and one of the binary
packages xindy-2.1-<platform>.tar.gz (it doesn't
matter which one you get).
-
Create a development directory, e.g.
mkdir ~/xindy-dev
-
Unpack CLISP and the modules:
cd ~/xindy-dev
gtar -xjf clisp-<version>.tar.bz2
cd clisp<version>
gtar -xjf xindy-clisp-modules-<version>.tar.bz2
-
Configure CLISP (for Linux):
./configure --without-unicode --with-dynamic-ffi --with-noreadline \
--with-module=regexp-in-libc --with-module=ordrules-regexp-in-libc
cd src
./makemake --without-unicode --with-dynamic-ffi --with-noreadline \
--with-module=regexp-in-libc --with-module=ordrules-regexp-in-libc \
> Makefile
-
Configure CLISP (for systems other than Linux):
./configure --without-unicode --with-dynamic-ffi --with-noreadline \
--with-module=regexp --with-module=ordrules
cd src
./makemake --without-unicode --with-dynamic-ffi --with-noreadline \
--with-module=regexp --with-module=ordrules > Makefile
-
Build and check CLISP:
make config.lisp
make
make check
-
If all goes well, you end up with the two files we need:
~/xindy-dev/clisp/src/full/lisp.run and
~/xindy-dev/clisp/src/full/lispinit.mem.
-
Unpack the platform-independent and the binary distribution you
downloaded earlier:
cd ~/xindy-dev
gtar -xzvf ~/xindy-2.1.tar.gz
cd xindy
ln -s xindy-2.1 current
gtar -xzvf ~/xindy-2.1-<platform>.tar.gz
-
Rename the binary directory to the name of your hardware architecture, OS,
vendor, version etc.:
cd ~/xindy-dev/xindy/binaries
mv <oldplatform> <platform>
cd <platform>
echo '<platform>' > PLATFORM
-
Copy the CLISP files here:
cp ~/xindy-dev/clisp/src/full/lisp.run xindy.run
cp ~/xindy-dev/clisp/src/full/lispinit.mem base.mem
-
Modify the Makefiles according to your needs and make a new binary
package:
cd ~/xindy-dev/xindy
gtar -czf ~/xindy-2.1-<platform>.tar.gz ./binaries/<platform>
-
Now it's time to actually test xindy, isn't it? Installation instructions,
once you got to this point, are included in
~/xindy-dev/xindy/current/INSTALL.
cd ~/xindy-dev/xindy/binaries/<platform>
make all
If something fails here, go back to the previous step.
|
|
« Download Source |
|