Skip to content
Snippets Groups Projects
Commit 775259be authored by Elemer Lelik's avatar Elemer Lelik
Browse files

Update README.linux

added section about setting environment variables
parent 60f48d67
No related branches found
No related tags found
No related merge requests found
...@@ -75,38 +75,30 @@ GEN_PDF := no ...@@ -75,38 +75,30 @@ GEN_PDF := no
make make
4. Run make install 4. Set environment variables
make install setenv TTCN3_DIR /home/<user id>/titan/Install
setenv PATH /home/<userid>/titan.core/Install/bin/:${PATH}
This will install Titan into /home/<user id>/titan/Install 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' or
/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
then add /path/to/install/titan/bin/ to PATH and retry: export TTCN3_DIR=/home/<user id>/titan/Install
export PATH=/home/<userid>/titan.core/Install/bin/:${PATH}
PATH=/path/to/install/titan/bin/:${PATH} export LD_LIBRARY_PATH=/home/<userid>/titan.core/Install/lib:${LD_LIBRARY_PATH}
make install
for bash
5. Run make install
make install
5. Optionally , run function/regression tests This will install Titan into /home/<user id>/titan/Install
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 )
6. Optionally , run function/regression tests
cd /home/<user id>/titan/function_test cd /home/<user id>/titan/function_test
...@@ -131,6 +123,7 @@ make run ...@@ -131,6 +123,7 @@ make run
These tests might run for half an hour (regr.tests) to two hours (func.tests) These tests might run for half an hour (regr.tests) to two hours (func.tests)
6. Optionally , copy Titan into its' final directory. 7. 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. From here on, you can continue with the Titan installation guide, see /Install/docs,
to set/change environment variables etc.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment