summaryrefslogtreecommitdiffstats
path: root/vorlagen/thesis/src/kapitel_A.tex
blob: a58cda385e9f89c9b9df3163daa2f27aa31e511f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
\addchap{Appendix}
\section{Installation guide}
In order to evaluate the localization system, it is required to install OpenBSC
and to modify the proper source files and compile the system. The aim of this
section is to describe that process in such detail that the presented material is
sufficient to reproduce equivalent or similar results. The guide 
was successfully tested out on the following operating systems: 
Ubuntu 10.04 LTS 64 bit and Ubuntu 12.04 LTS 64 bit. A self-bootable test 
USB system is supplied with the thesis and it can be evaluated without executing
the given steps in A.1.
\subsection{Installation of OpenBSC}
In order to compile OpenBSC it is required to install the following precompiled
packages\footnote{If more details are required for the installation process a guide can be found at \citep{openbscInstall}.}:

\begin{itemize}\addtolength{\itemsep}{-0.8\baselineskip}
\item libdbi0
\item libdbi0-dev
\item libdbd-sqlite3
\item libortp-dev
\item build-essential
\item libtool
\item autoconf
\item automake
\item git-core
\item pkg-config
\end{itemize}

Before installing the required packages and libraries, to keep the
installation process clean and free of modifying other files , the
author will create a new directory. 
\begin{lstlisting}[backgroundcolor=\color{light-gray}]
mkdir gsm_localization
cd gsm_localization
\end{lstlisting}


By executing the following instructions the required libraries will be installed. 
\begin{lstlisting}[backgroundcolor=\color{light-gray}]
sudo apt-get install libdbi0-dev libdbd-sqlite3 build-essential
sudo apt-get install libtool autoconf automake git-core
sudo apt-get install pkg-config libortp-dev
\end{lstlisting}

After the packages were installed, $libosmocore$ library should be downloaded, compiled and installed.
By executing the following instructions: 
\begin{lstlisting}[backgroundcolor=\color{light-gray}][numbers = none]
git clone git://git.osmocom.org/libosmocore.git
cd libosmocore
autoreconf -fi
./configure
make
sudo make install
sudo ldconfig
cd ..
\end{lstlisting}

In the next step $libosmo-abis$ will be installed. 
\begin{lstlisting}[backgroundcolor=\color{light-gray}][numbers = none]
git clone git://git.osmocom.org/libosmo-abis.git
cd libosmo-abis
autoreconf -fi
./configure
make
sudo make install
sudo ldconfig
\end{lstlisting}

After the previous steps have finished successfully, the author will
proceed with downloading, compiling and installing OpenBSC.
\begin{lstlisting}[backgroundcolor=\color{light-gray}][numbers = none]
git clone git://git.osmocom.org/openbsc.git
cd openbsc/openbsc
autoreconf -i
sudo export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
./configure
make
\end{lstlisting}



\section{Sourcecode}
Beispiel:
\lstset{%
caption=,%
label=lst:example,%
}
\begin{lstlisting}
#include <stdio.h>
 
int main(void)
{
    printf("Hallo Welt!\n");
    return 0;
}
\end{lstlisting}