How to installThe PEACE Project, since Feb. 2000
|
How to install
Application survey
|
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 kernel | LKM |
|---|---|
|
Recompile the kernel with ' |
Make sure the kernel has no ' # modload /usr/lkm/compat_pecoff.o
# modload /usr/lkm/exec_pecoff.o
|
We have two ways to install PEACE and dependent libraries.
Run `make' in pkgsrc/emulators/peace. It automatically builds all dependent programs.
Get the binary packages of peace, ICU, and Freetype from SourceForge. Then, run the following as the root:
pkg_add icu-<version>.tgzpkg_add freetype2-<version>.tgzpkg_add peace-0.0.<version>.tgz
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:
PEACE_LOCALE:
locale name, "ja_JP", "en_US" and so on are available. (default: ja_JP)PEACE_DEFAULTFONT: default font namePEACE_DISABLE_SHM: Disable X11 MIT-SHM extension if definedPEACE_FS_ENCODING: ?PEACE_VOLUME_LABEL: volume label stringPEACE_CDDA_DEVICE: CD-DA device name (default: /dev/rcd0a)PEACE_AUDIODEVICE: Audio device name (default: /dev/audio)You need not to define these variables. If you like, set a reasonable value.