install/Linux/OptEnv
This document is to explain how to install OptEnv library.
Get the latest source code
Check out from subversion repository at 'https://cleanoptenv.svn.sourceforge.net/svnroot/cleanoptenv/trunk/OptEnv' to '~/lib/clean2.2/OptEnv.'
Build object files
Change directory to '~/lib/clean2.2/OptEnv/Foreign.' Then type 'make.' It produces the following files.
- OptEnv/OptOS.icl
- OptEnv/Clean System Files/opt_c.o
- OptEnv/Clean System Files/opterrno_c.o
- OptEnv/Clean System Files/optprocess_c.o
Modify environment variables
Append the library directory to 'CLEANPATH' environment variable.
If the previous state is the following,
CLEANDIR=~/lib/clean2.2 export CLEANPATH=$CLEANDIR/stdenv:$CLEANDIR/StdLib:$CLEANDIR/ArgEnv:$CLEANDIR/Generics
then modify it as the following.
CLEANDIR=~/lib/clean2.2 export CLEANPATH=$CLEANDIR/stdenv:$CLEANDIR/StdLib:$CLEANDIR/ArgEnv:$CLEANDIR/Generics:$CLEANDIR/OptEnv
