install/Linux/OptEnv
編集   新規   履歴   最終更新者 lethevert   最終更新時刻 2007-08-01 14:16:52 UTC

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.


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