[English][Japanese]

How to install

The PEACE Project, since Feb. 2000

1. Kernel

The kernel must have 'options INSECURE' and 'options USER_LDT'. The GENERIC kenrnel has them. There are two methods to enable the kernel to support PECOFF.

Rebuilding the kernelLKM

Recompile the kernel with 'options COMPAT_PECOFF', install and reboot.

Make sure the kernel has no 'options COMPAT_PECOFF.' Type the following by root:

# modload /usr/lkm/compat_pecoff.o
# modload /usr/lkm/exec_pecoff.o

2. Dynamic Linker, DLLs and Tools

We have two ways to install PEACE and dependent libraries.

a) Build by pkgsrc

Run `make' in pkgsrc/emulators/peace. It automatically builds all dependent programs.

b) Install binary packages

Get the binary packages of peace, ICU, and Freetype from SourceForge. Then, run the following as the root:

  1. pkg_add icu-<version>.tgz
  2. pkg_add freetype2-<version>.tgz
  3. pkg_add peace-0.0.<version>.tgz

3. Settings

Set 'PEACE_FONTPATH' and `DLLPATH' environment variables. We need /emul/pecoff/usr/lib for PEACE DLLs, /usr/lib for libc/libm/libpthread, /usr/X11R6/lib for libX11/libXext, /usr/pkg/lib/ for ICU in DLLPATH. e.g.

DLLPATH=/emul/pecoff/usr/lib:/usr/lib:/usr/X11R6/lib:/usr/pkg/lib:/win/WINDOWS/SYSTEM
export DLLPATH
PEACE_FONTPATH=/win/WINDOWS/Fonts:/usr/X11R6/lib/X11/fonts/TrueType
export PEACE_FONTPATH

So far, other environment variables are:

You need not to define these variables. If you like, set a reasonable value.


$Id: install.html,v 1.19 2006/07/04 06:57:52 tkent Exp $