Commit 775259be authored by Elemer Lelik's avatar Elemer Lelik
Browse files

Update README.linux

added section about setting environment variables
parent 60f48d67
......@@ -75,38 +75,30 @@ GEN_PDF := no
make
4. Run make install
4. Set environment variables
make install
This will install Titan into /home/<user id>/titan/Install
setenv TTCN3_DIR /home/<user id>/titan/Install
setenv PATH /home/<userid>/titan.core/Install/bin/:${PATH}
setenv LD_LIBRARY_PATH /home/<userid>/titan.core/Install/lib:${LD_LIBRARY_PATH}
Note: If make install fails with something like:
for csh
make[2]: Leaving directory '/path/to/install/titan/demo'
/bin/sh: line 4: ttcn3_start: command not found
kMakefile:25: recipe for target 'install' failed
make[1]: *** [install] Error 127
make[1]: Leaving directory '/home/user/3rdPartyApps/titan/hello'
Makefile:53: recipe for target 'install' failed
make: *** [install] Error 2
or
then add /path/to/install/titan/bin/ to PATH and retry:
PATH=/path/to/install/titan/bin/:${PATH}
make install
export TTCN3_DIR=/home/<user id>/titan/Install
export PATH=/home/<userid>/titan.core/Install/bin/:${PATH}
export LD_LIBRARY_PATH=/home/<userid>/titan.core/Install/lib:${LD_LIBRARY_PATH}
for bash
5. Run make install
make install
5. Optionally , run function/regression tests
set environment variable TTCN3_DIR to /home/<user id>/titan/Install
(setenv TTCN3_DIR /home/<user id>/titan/Install for csh,
export TTCN3_DIR=/home/<user id>/titan/Install for bash )
This will install Titan into /home/<user id>/titan/Install
6. Optionally , run function/regression tests
cd /home/<user id>/titan/function_test
......@@ -131,6 +123,7 @@ make run
These tests might run for half an hour (regr.tests) to two hours (func.tests)
6. Optionally , copy Titan into its' final directory.
From here on, you can continue with the Titan installation guide, see /Install/docs, to set environment variables etc.
7. Optionally , copy Titan into its final directory.
From here on, you can continue with the Titan installation guide, see /Install/docs,
to set/change environment variables etc.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment