Changeset 10985

Show
Ignore:
Timestamp:
12/16/11 14:16:07 (17 months ago)
Author:
mcarrick
Message:

removing fedora installation instructions, starting to add ubuntu 11.04

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • ossiedev/branches/mcarrick/user-guide-0.8.3/Installation.tex

    r10745 r10985  
    11% ------------------------------------------------------------------ 
    22% 
    3 %   TITLE: OSSIE 0.8.2 Installation Guide 
     3%   TITLE: OSSIE 0.8.3 Installation Guide 
    44% AUTHORS: Mike Ekoniak, Matt Carrick, Drew Cormier, Christopher Covington, 
    55%          Carl B. Dietrich, Joseph Gaeddert, Benjamin Hilburn, 
     
    2020Section~\ref{section:installation:vmware}. 
    2121 
    22 % NOTE: We lack yum install at the moment 
    23  
    24 % For most users on Fedora systems, installing OSSIE and its dependencies via yum is the best 
    25 % route.  The only reason not to install via yum is if you plan on doing active 
    26 % development \emph{on} OSSIE, and need access to the source code.  Note that this 
    27 % does not include application/waveform developers who are developing \emph{with} 
    28 % OSSIE, as they do not need access to the OSSIE source code. 
    29  
    3022Although we do not yet provide and support binary installation packages for more Linux 
    3123distributions, compiling OSSIE from source on them should be possible. 
     
    3325To install OSSIE from source, follow the below instructions to install the OSSIE dependencies, 
    3426and then compile and install the source code.  
    35  
    36 % \subsection{Installing OSSIE via Yum} 
    37 % \label{section:installation:yum} 
    38  
    39 % Note:  At the time this guide was compiled, the latest version of OSSIE available by Yum was 0.7.0.  Version 0.7.1 is expected to be available by Yum in late 2008 or early 2009. 
    40  
    41 % \subsubsection{Add OSSIE Repository to Yum} 
    42 % \label{section:installation:yum:ossierepo} 
    43 % In order to install OSSIE via the YUM repository, you must first edit your `/etc/yum.conf' to  
    44 % add the OSSIE repository to the YUM search list. In this example, we use {\tt nano}, but you may use 
    45 % whatever editor you wish ({\tt vim}, {\tt emacs}, etc). Unless your nanorc has already been configured to not 
    46 % wrap lines, the `-w' flag is necessary to prevent {\tt nano} from adding line breaks to the file. 
    47 % \begin{lstlisting}[] 
    48 % $ su - 
    49 % # nano -w /etc/yum.conf 
    50 % \end{lstlisting} 
    51 % Add the following lines at the bottom of the file: 
    52 % \begin{lstlisting}[] 
    53 % [ossie-vt] 
    54 % name = OSSIE-VT 
    55 % baseurl=http://ossie.wireless.vt.edu/yum/ossie-vt/ 
    56 % gpgcheck=0 
    57 % \end{lstlisting} 
    58 % Now update your system. This will refresh your yum package cache.  It is also always smart to have 
    59 % a fully updated system before installing new software anyways. 
    60 % \begin{lstlisting}[] 
    61 % # yum update 
    62 % \end{lstlisting} 
    63 %  
    64 % \subsubsection{Install OSSIE} 
    65 % \label{section:installation:yum:installviayum} 
    66 % Now install OSSIE and its dependencies via yum by typing: 
    67 % \begin{lstlisting}[] 
    68 % # yum install ossie 
    69 % # exit 
    70 % \end{lstlisting} 
    71  
    72 % Congratulations!  You should now have a fully-operable OSSIE installation. 
    7327 
    7428\subsection{Installing OSSIE from Source} 
     
    9650\end{lstlisting} 
    9751 
    98 % OSSIE \ossieversion\  is packaged with a convenient Python script called {\tt build.py} to automatically 
    99 % configure and build the packages necessary for the framework, tools, and other 
    100 % libraries. Use of this script is not mandatory, and you can manually compile and install all/part of 
    101 % OSSIE as you wish. 
    102  
    103 \subsubsection{Installing Dependencies on Fedora} 
    104 \label{section:installation:source:dependencies:fedora} 
    105  On Fedora systems, the dependencies can be installed via {\tt yum}.  
    106 %  
    107 % First, add the OSSIE yum repository to your yum.conf.  This is described in 
    108 % Section~\ref{section:installation:yum:ossierepo} 
    109 %  
    110 This is the entire dependency list, so some of these packages may already be installed. 
    111 \begin{lstlisting}[] 
    112 # yum -y install wxPython wxPython-devel numpy \ 
    113 rpm-build cabextract glibc-devel \ 
    114 python-devel openssl-devel gcc gcc-c++ libtool 
    115 \end{lstlisting} 
    116  
    117 When installing OSSIE on Fedora, we recommend installing omniORB and omniORBpy 
    118 from source. This should only be done for Fedora however. If installing on 
    119 Ubuntu, follow the directions in 
    120 section~\ref{section:installation:dependencies:ubuntu}.  
    121 \begin{lstlisting}[]  
    122 $ wget http://omniorb.sourceforge.net/releases/omniORB-4.1.4.tar.gz  
    123 $ wget http://omniorb.sourceforge.net/releases/omniORBpy-3.4.tar.gz  
    124 $ tar -xvf omniORB-4.1.4.tar.gz $ tar -xvf omniORBpy-3.4.tar.gz 
    125 $ cd omniORB-4.1.4/ 
    126 $ mkdir build 
    127 $ cd build 
    128 $ ../configure 
    129 $ make 
    130 $ sudo make install 
    131 $ cd ../../omniORBpy-3.4/ 
    132 $ mkdir build 
    133 $ cd build 
    134 $ ../configure 
    135 $ make 
    136 $ sudo make install 
    137 \end{lstlisting} 
    138  
    139 If you plan on using GNURadio 3.2 or higher, or the USRP2, as part of your work, then you will need to install Boost v1.35 or higher.  
    140 Currently, Fedora and Ubuntu do not ship with this version, so you will need to install it. 
    141 Whether you are using Fedora or Ubuntu, we recommend that you install Boost from source. Download Boost from 
    142 \href{http://sourceforge.net/projects/boost/files/boost/1.37.0/boost\_1\_37\_0.tar.bz2/download}{http://sourceforge.net/projects/boost/} and unpack {\tt boost\_1\_37\_0.tar.bz2}. 
    143 \begin{lstlisting}[] 
    144  $ wget http://sourceforge.net/projects/boost/files/boost/1.37.0/ \  
    145        boost_1_37_0.tar.bz2/download 
    146  $ tar -xvf boost_1_37_0.tar.bz2 
    147  $ cd boost_1_37_0/ 
    148  $ ./configure --prefix=/usr/ 
    149  $ make 
    150  $ sudo make install 
    151 \end{lstlisting} 
    152  
    153 If you are using Fedora Core 10 or higher, you will need to download the RPM for the SDL library in order to user the JPEGVideoViewer component. 
    154 \begin{lstlisting}[] 
    155  $ wget http://www.libsdl.org/release/SDL-devel-1.2.13-1.i386.rpm 
    156  $ rpm -Ui SDL-devel-1.2.13-1.i386.rpm 
    157 \end{lstlisting} 
    158 %  
    159 % Now move onto Section~\ref{section:installation:source:dependencies:gnuradio} 
    160 %  
     52%\subsubsection{Installing Dependencies on Fedora} 
     53%\label{section:installation:source:dependencies:fedora} 
     54 
     55%If you plan on using GNURadio 3.2 or higher, or the USRP2, as part of your work, then you will need to install Boost v1.35 or higher.  
     56%Currently, Fedora and Ubuntu do not ship with this version, so you will need to install it. 
     57%Whether you are using Fedora or Ubuntu, we recommend that you install Boost from source. Download Boost from 
     58%\href{http://sourceforge.net/projects/boost/files/boost/1.37.0/boost\_1\_37\_0.tar.bz2/download}{http://sourceforge.net/projects/boost/} and unpack {\tt boost\_1\_37\_0.tar.bz2}. 
     59%\begin{lstlisting}[] 
     60% $ wget http://sourceforge.net/projects/boost/files/boost/1.37.0/ \  
     61%       boost_1_37_0.tar.bz2/download 
     62% $ tar -xvf boost_1_37_0.tar.bz2 
     63% $ cd boost_1_37_0/ 
     64% $ ./configure --prefix=/usr/ 
     65% $ make 
     66% $ sudo make install 
     67%\end{lstlisting} 
     68 
     69\subsubsection{Installing Dependencies} 
     70Ubuntu is the main supported operating system for OSSIE, and Ubuntu 11.04, 10.10 and 10.04 all  
     71have a different list of dependencies that must be installed. After following the instructions 
     72for your respective operating system, jump to  
     73Section~\ref{section:installation:source:dependencies:configomni} to continue the install. 
     74 
     75\subsubsection{Installing Dependencies on Ubuntu 10.10} 
     76A few of the dependencies changed with Ubuntu 10.10, specifically omniidl4-python is now omniid-python, and python-omniorb2 is now python-omniorb. The updated dependency list is below. 
     77\begin{lstlisting}[] 
     78$ sudo aptitude install gcc build-essential 
     79$ sudo aptitude -y install omniorb4 libomniorb4-dev omniidl-python \ 
     80omniorb4-nameserver python-omniorb libgtk2.0-dev freeglut3-dev \ 
     81python-wxgtk2.8 python-wxversion python-wxtools python-numpy \ 
     82python-numpy-ext python-numpy-dev python-profiler g++ automake \ 
     83libtool subversion python-dev fftw3-dev libcppunit-dev libboost-dev sdcc \ 
     84libusb-dev libasound2-dev libsdl1.2-dev guile-1.8 libqt3-mt-dev swig \ 
     85python-profiler automake1.9 python2.6-dev sdcc-libraries guile-1.8-dev \ 
     86libqt4-dev ccache python-opengl libgsl0-dev python-lxml \ 
     87doxygen qt4-dev-tools libqwt5-qt4-dev libqwtplot3d-qt4-dev \ 
     88libboost-filesystem-dev libboost-system-dev libboost-thread-dev \ 
     89libboost-program-options-dev 
     90\end{lstlisting} 
     91 
    16192\subsubsection{Installing Dependencies on Ubuntu up to version 10.04} 
    16293\label{section:installation:dependencies:ubuntu} 
     
    179110\end{lstlisting} 
    180111 
    181 \subsubsection{Installing Dependencies on Ubuntu 10.10 and up} 
    182 A few of the dependencies changed with Ubuntu 10.10, specifically omniidl4-python is now omniid-python, and python-omniorb2 is now python-omniorb. The updated dependency list is below. 
    183 \begin{lstlisting}[] 
    184 $ sudo aptitude install gcc build-essential 
    185 $ sudo aptitude -y install omniorb4 libomniorb4-dev omniidl-python \ 
    186 omniorb4-nameserver python-omniorb libgtk2.0-dev freeglut3-dev \ 
    187 python-wxgtk2.8 python-wxversion python-wxtools python-numpy \ 
    188 python-numpy-ext python-numpy-dev python-profiler g++ automake \ 
    189 libtool subversion python-dev fftw3-dev libcppunit-dev libboost-dev sdcc \ 
    190 libusb-dev libasound2-dev libsdl1.2-dev guile-1.8 libqt3-mt-dev swig \ 
    191 python-profiler automake1.9 python2.6-dev sdcc-libraries guile-1.8-dev \ 
    192 libqt4-dev ccache python-opengl libgsl0-dev python-lxml \ 
    193 doxygen qt4-dev-tools libqwt5-qt4-dev libqwtplot3d-qt4-dev \ 
    194 libboost-filesystem-dev libboost-system-dev libboost-thread-dev \ 
    195 libboost-program-options-dev 
    196 \end{lstlisting} 
    197  
    198112 
    199113\subsubsection{Configure omniORB} 
     
    411325\\ and unpack {\tt ossie-\ossieversion.tar.gz}. 
    412326\begin{lstlisting}[] 
    413  $ wget http://ossie.wireless.vt.edu/download/tarballs/0.8.2/ \  
    414    ossie-0.8.2.tar.gz 
    415  $ tar -xvf ossie-0.8.2.tar.gz 
     327 $ wget http://ossie.wireless.vt.edu/download/tarballs/0.8.3/ \  
     328   ossie-0.8.3.tar.gz 
     329 $ tar -xvf ossie-0.8.3.tar.gz 
    416330\end{lstlisting} 
    417331 
     
    429343 
    430344\begin{lstlisting}[] 
    431  $ cd ossie-0.8.2 
     345 $ cd ossie-0.8.3 
    432346 $ ./configure --prefix=/sdr --libdir=/usr/local/lib/ \ 
    433347   --includedir=/usr/local/include/ --with-boost --with-boost-filesystem 
     
    491405%********************************************************* 
    492406 
    493 %  Complete installation of OSSIE 0.8.2 finished! 
     407%  Complete installation of OSSIE 0.8.3 finished! 
    494408 
    495409%*********************************************************