Skip to content
Snippets Groups Projects
Commit 5d5e56c5 authored by Jeno Attila Balasko's avatar Jeno Attila Balasko
Browse files

Merge pull request #76 from balaskoa/master

modified after internal review
parents c0a1b93a 8cf2a5e5
No related branches found
No related tags found
No related merge requests found
...@@ -15,19 +15,19 @@ Cygwin setup ...@@ -15,19 +15,19 @@ Cygwin setup
Start the Cygwin setup utility (see below), it will refresh your Start the Cygwin setup utility (see below), it will refresh your
installed Cygwin packages to the newest versions. installed Cygwin packages to the newest versions.
- If Cygwin is not installed yet: - If Cygwin is not installed yet:
(A) Download and execute the latest cygwin installer utility, (A) Download and execute the latest cygwin installer utility,
please use the 64-bit version installer: please use the 64-bit version installer:
https://cygwin.com/setup-x86_64.exe https://cygwin.com/setup-x86_64.exe
(B) Select Install from Internet (recommended to save local disk space) (B) Select Install from Internet (recommended to save local disk space)
(C) Choose Cygwin installation root directory (C:\cygwin is recommended) (C) Choose Cygwin installation root directory (C:\cygwin is recommended)
Select All Users, or Just Me. Select All Users, or Just Me.
(D) Select "Local Package Directory" (typically the same directory, (D) Select "Local Package Directory" (typically the same directory,
where the setup....exe Cygwin installer utility is stored). where the setup....exe Cygwin installer utility is stored).
(E) Use Internet Explorer Proxy Settings (recommended). (E) Use Internet Explorer Proxy Settings (recommended).
(F) Select a download mirror site. (F) Select a download mirror site.
...@@ -41,35 +41,35 @@ Cygwin setup ...@@ -41,35 +41,35 @@ Cygwin setup
Note: Cygwin installer will automatically select the packages the Note: Cygwin installer will automatically select the packages the
manually selected ones are depending on; do NOT deselect manually selected ones are depending on; do NOT deselect
any automatically selected package! any automatically selected package!
a) Test execution ONLY (command line or from Eclipse Executor): a) Test execution ONLY (command line or from Eclipse Executor):
Base: <all packages> (Default setting of the installer) Base: <all packages> (Default setting of the installer)
Net: openssl Net: openssl
Tcl: expect Tcl: expect
b) Test case development: in addition to the above select the b) Test case development: in addition to the above select the
following packages: following packages:
Devel: binutils Devel: binutils
Devel: gcc-g++ Devel: gcc-g++
Devel: make Devel: make
Libs: libxml2-devel Libs: libxml2-devel
Net: openssl-devel (automatically installs Net:openssl Net: openssl-devel (automatically installs Net:openssl
as well, if selected) as well, if selected)
c) To compile your own Titan Cygwin binary: in addition to the c) To compile your own Titan Cygwin binary: in addition to the
above, select the following packages: above, select the following packages:
Devel: bison Devel: bison
Devel: ctags Devel: ctags
Devel: cygwin32-expat Devel: cygwin32-expat
Devel: diffstat Devel: diffstat
Devel: flex Devel: flex
Devel: gcc-core Devel: gcc-core
Editors: <any editor of your preference> (optional) Editors: <any editor of your preference> (optional)
Libs: libncurses-devel Libs: libncurses-devel
Libs: libreadline-devel Libs: libreadline-devel
If, after selecting the required packages and clicking on the If, after selecting the required packages and clicking on the
"Next" button, a "Resolving Dependcies" window lists further "Next" button, a "Resolving Dependcies" window lists further
required packages, ensure that the "Select required packages required packages, ensure that the "Select required packages
(RECOMMENDED)" checkbox is checked and click the "Next" button. (RECOMMENDED)" checkbox is checked and click the "Next" button.
(H) Select the Create icon on Desktop checkbox (H) Select the Create icon on Desktop checkbox
(I) (Optional) (I) (Optional)
...@@ -92,38 +92,40 @@ Cygwin setup ...@@ -92,38 +92,40 @@ Cygwin setup
"/cygdrive/c/Users/<yourUserId>/Documents/My_Home" "/cygdrive/c/Users/<yourUserId>/Documents/My_Home"
WARNING: The path of your "unix" home directory shall not contain WARNING: The path of your "unix" home directory shall not contain
any space! any space!
(I1) If you are working with Titan plugins for Eclipse or any Windows based program
using cygwin commands, insert the Windows equivalent path of cygwin folders "/bin" or/and "/usr/bin" (I1)If you are working with Titan plugins for Eclipse or any Windows based program
into the Windows environment variable "Path". For example if the cygwin root is "C:\cygwin64" then using cygwin commands, insert the Windows equivalent path of cygwin folders "/bin" or/and "/usr/bin"
Path should contain "C:\cygwin64\bin;C:\cygwin64\usr\bin". into the Windows environment variable "Path". For example if the cygwin root is "C:\cygwin64" then
Path should contain "C:\cygwin64\bin;C:\cygwin64\usr\bin".
(J) Using the binary Titan package: download the Titan package for from (J) Using the binary Titan package: download the Titan package for from
GitHub. Unpack the Titan package into a folder of your choice. GitHub. Unpack the Titan package into a folder of your choice.
Note: It is not a requirement, but is a kind of best practice to Note: It is not a requirement, but is a kind of best practice to
place Titan into a subfolder within your "unix" home directory. place Titan into a subfolder within your "unix" home directory.
Edit the <your cygwin installation directory>/home/<yourUserId>/.bashrc Edit the <your cygwin installation directory>/home/<yourUserId>/.bashrc
file. Add these lines to it: file. Add these lines to it:
export PATH=${TTCN3_DIR}/bin:${PATH} export PATH=${TTCN3_DIR}/bin:${PATH}
export LD_LIBRARY_PATH=${TTCN3_DIR}/lib:${LD_LIBRARY_PATH} export LD_LIBRARY_PATH=${TTCN3_DIR}/lib:${LD_LIBRARY_PATH}
(K) Compile Titan with Cygwin: (K) Compile Titan with Cygwin:
Get the latest source code from GitHub. Get the latest source code from GitHub.
Download and install JDK from Oracle's download site: Download and install JDK from Oracle's download site:
http://www.oracle.com/technetwork/java/javase/downloads/index.html http://www.oracle.com/technetwork/java/javase/downloads/index.html
Edit the <your cygwin installation directory>/home/<yourUserId>/.bashrc Edit the <your cygwin installation directory>/home/<yourUserId>/.bashrc
as above. as above.
Create titan/Makefile.personal with the following content: Create titan/Makefile.personal with the following content:
TTCN3_DIR := /home/<user id>/git/titan/Install TTCN3_DIR := /home/<user id>/git/titan/Install
JDKDIR := /home/<user id>/jdk JDKDIR := /home/<user id>/jdk
JNI := no JNI := no
GUI := no GUI := no
GEN_PDF := no GEN_PDF := no
DEBUG := no DEBUG := no
Compile Titan: Compile Titan:
cd titan cd titan
make -j make -j
make install make install
The compiled files will be placed into the titan/Install directory. The compiled files will be placed into the titan/Install directory.
(L) If you want to use graphical tools (like nedit for example), then you need to install the Cygwin/X (L) If you want to use graphical tools (like nedit for example), then you need to install the Cygwin/X
component too. The install procedure can be found at the homepage: component too. The install procedure can be found at the homepage:
http://x.cygwin.com/docs/ug/cygwin-x-ug.html http://x.cygwin.com/docs/ug/cygwin-x-ug.html
No preview for this file type
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