root/documentation/ossie/user-guide-0.8.2/Installation.tex @ 10631

Revision 10631, 25.5 KB (checked in by iburbey, 2 years ago)

Minor typo change

Line 
1% ------------------------------------------------------------------
2%
3%   TITLE: OSSIE 0.8.2 Installation Guide
4% AUTHORS: Mike Ekoniak, Matt Carrick, Drew Cormier, Christopher Covington,
5%          Carl B. Dietrich, Joseph Gaeddert, Benjamin Hilburn,
6%          C. Ian Phelps, Shereef Sayed, Jason Snyder, Haris Volos
7% CREATED:
8% REVISED:
9% 23Mar11 IB Minor typo fixes.
10%     URL: http://ossie.wireless.vt.edu/
11%
12% ------------------------------------------------------------------
13
14\newpage
15\section{Installation}
16\label{section:installation}
17For users that do not have access to a Linux system, or are unfamiliar with Linux, we recommend
18that you use our pre-built VMWare images.  These images have OSSIE pre-installed on them, and are
19ready to use out-of-the-box. Using an OSSIE VMware image is described in
20Section~\ref{section:installation:vmware}.
21
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
30Although we do not yet provide and support binary installation packages for more Linux
31distributions, compiling OSSIE from source on them should be possible.
32
33To install OSSIE from source, follow the below instructions to install the OSSIE dependencies,
34and 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.
73
74\subsection{Installing OSSIE from Source}
75\label{section:installation:source}
76
77\subsubsection{Notes on OSSIE Installation from Source}
78\label{section:installation:source:notesonsource}
79This section assumes that the user is familiar with basic
80Linux commands such as {\tt cd} and {\tt ls}.
81Commands run with root permissions are prefixed with {\tt \#}, while others
82are prefixed with {\tt \$}.
83
84OSSIE depends on the following software packages:
85\begin{itemize}
86\item Boost - a C++ library of common mechanisms
87\item omniORB - a CORBA implementation
88\item omniORBpy - a Python interface for omniORB, necessary for the OSSIE tools and components
89\item wxPython - a Python interface for the wxWidgets graphical library, used by the OSSIE tools
90\item numpy - a Python numerical library used by the OSSIE tools
91\end{itemize}
92
93If you have an older version of OSSIE installed, then you will need to delete the contents of {\tt /sdr/}.
94\begin{lstlisting}[]
95 $ rm -rf /sdr/*
96\end{lstlisting}
97
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%
110This 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 \
113rpm-build cabextract glibc-devel \
114python-devel openssl-devel gcc gcc-c++ libtool
115\end{lstlisting}
116
117When installing OSSIE on Fedora, we recommend installing omniORB and omniORBpy
118from source. This should only be done for Fedora however. If installing on
119Ubuntu, follow the directions in
120section~\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
139If 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.
140Currently, Fedora and Ubuntu do not ship with this version, so you will need to install it.
141Whether 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
153If 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%
161\subsubsection{Installing Dependencies on Ubuntu}
162\label{section:installation:dependencies:ubuntu}
163
164This is the entire dependency list, so some of these packages may already be installed.
165Install all of the following packages:
166\begin{lstlisting}[]
167$ sudo aptitude install gcc build-essential
168$ sudo aptitude -y install omniorb4 libomniorb4-dev omniidl4-python \
169omniorb4-nameserver python-omniorb2 libgtk2.0-dev freeglut3-dev \
170python-wxgtk2.8 python-wxversion python-wxtools python-numpy \
171python-numpy-ext python-numpy-dev python-profiler g++ automake \
172libtool subversion python-dev fftw3-dev libcppunit-dev libboost-dev sdcc \
173libusb-dev libasound2-dev libsdl1.2-dev guile-1.8 libqt3-mt-dev swig \
174python-profiler automake1.9 python2.6-dev sdcc-libraries guile-1.8-dev \
175libqt4-dev ccache python-opengl libgsl0-dev python-lxml \
176doxygen qt4-dev-tools libqwt5-qt4-dev libqwtplot3d-qt4-dev \
177libboost-filesystem-dev libboost-system-dev libboost-thread-dev \
178libboost-program-options-dev
179\end{lstlisting}
180
181
182\subsubsection{Configure omniORB}
183\label{section:installation:source:dependencies:configomni}
184omniORB must be configured through the modification of a file. This file may be either \\
185{\tt /etc/omniORB.cfg} or {\tt /etc/omniORB4.cfg}, depending on the
186version of the omniORB dependency. If the file is not found, copy
187{\tt sample.cfg} from the omniORB-4.1.4 directory and rename it.
188\begin{lstlisting}[]
189 $ cd omniORB-4.1.4
190 # cp sample.cfg /etc/
191 # mv /etc/sample.cfg /etc/omniORB.cfg
192\end{lstlisting}
193Open the file as root, and search for the following line:
194\begin{lstlisting}[]
195 InitRef = NameService=corbaname::my.host.name
196\end{lstlisting}
197Uncomment the line by deleting the pound or hash character `\#' and change
198it to:
199\begin{lstlisting}[]
200 InitRef = NameService=corbaname::127.0.0.1
201\end{lstlisting}
202Before running the framework you will need to start the naming service. If you
203installed omniORB from source, you have to follow the instructions in
204Appendix~\ref{appendix:omninamessh}. When installing from yum
205{\tt omniNames} will automatically start when you restart your machine. Refer
206to Appendix~\ref{appendix:services} for instructions on how to start the
207omniNames service without restarting your machine or set whether the service
208starts automatically at boot.
209\footnote{You may also manually start a source-compiled tarball package of
210omniNames {\tt omniNames} with the script described in
211Appendix~\ref{appendix:omninamessh}}
212
213At this time it is a good idea to restart your machine.
214
215\subsubsection{Installing Portions of GNU Radio}
216\label{section:installation:source:dependencies:gnuradio}
217OSSIE uses a small subset of GNU Radio to communicate with and configure the USRP. The
218following steps will walk through installing portions of GNU Radio. OSSIE provides support
219for both the USRP and USRP2. If you would like to use the USRP2, then you will need to
220install GNURadio v3.2; otherwise, GNURadio v3.1 will work fine.
221
222First, we must install the GNU Radio firmware that can communicate with the USRP.
223
224If you are using Fedora 11, or Fedora 10 or lower and would like to use GNURadio v3.1, then:
225\begin{lstlisting}[]
226 # yum install gnuradio-devel usrp-devel
227\end{lstlisting}
228
229If you are using Ubuntu, and would like to use GNURadio v3.1 then:
230\begin{lstlisting}[]
231 $ sudo aptitude install libusrp0 libusrp-dev
232\end{lstlisting}
233
234If you would like to use GNURadio v3.2, and do not have Fedora 11 installed,
235then you must install from source:
236\begin{lstlisting}[]
237 $ wget ftp://ftp.gnu.org/gnu/gnuradio/gnuradio-3.2.2.tar.gz
238 $ tar -xvf gnuradio-3.2.2.tar.gz
239 $ cd gnuradio-3.2.2/
240 $ ./configure
241 $ make
242 $ sudo make install
243\end{lstlisting}
244
245% First, GNU Radio's dependencies must be installed. If you are using Ubuntu and followed
246% the instructions for installing the dependencies, skip down to checking out the source
247% code from the GNU Radio Subversion repository. If you are installing on Fedora 9,
248% proceed with the following directions.
249
250% Install the Engineering and Scientific packages as well as the Software Development
251% packages as root entering the command:
252
253% \begin{lstlisting}[]
254%  # yum groupinstall "Engineering and Scientific" "Development Tools"
255% \end{lstlisting}
256
257% Additional utilities such as the FFT library and the CPP Test Framework must also be
258% installed. As root, enter the following command
259
260% \begin{lstlisting}[]
261%  # yum install fftw-devel cppunit-devel wxPython-devel libusb-devel  \
262%    guile boost-devel alsa-lib-devel numpy
263% \end{lstlisting}
264
265% The Small Device C Compiler, SDCC, must be installed:
266
267% \begin{lstlisting}[]
268%  # yum install sdcc
269% \end{lstlisting}
270
271% The path for the SDCC must be set. Open the .bashrc file and add the path to the end
272% of the file. To open the file, enter the command:
273
274% \begin{lstlisting}[]
275%  $ vim ~/.bashrc
276% \end{lstlisting}
277
278% Add the following path to the end of the file:
279% \begin{lstlisting}[]
280%  export PATH=/usr/libexec/sdcc:$PATH
281% \end{lstlisting}
282
283% At this point, all of the GNU Radio dependencies have been installed. Now, the GNU Radio
284% software must be installed.
285
286% Download the GNU Radio source code by entering the command:
287% \begin{lstlisting}[]
288%  $ svn co http://gnuradio.org/svn/gnuradio/branches/releases/3.1 gnuradio
289% \end{lstlisting}
290
291% Move into the {\tt gnuradio} directory and start building the source code by entering the
292% following commands:
293
294% \begin{lstlisting}[]
295%  $ cd gnuradio/
296%  $ ./bootstrap
297%  $ ./configure --disable-all-components --enable-gnuradio-core \
298%    --enable-usrp --enable-gr-usrp --enable-omnithread
299% \end{lstlisting}
300
301% This sets up the install to only build resources for the USRP which OSSIE requires.
302% Compile the source code by entering the command:
303
304% \begin{lstlisting}[]
305%  $ make
306% \end{lstlisting}
307
308% Verify that the compile worked by running a check:
309
310% \begin{lstlisting}[]
311%  $ make check
312% \end{lstlisting}
313
314% Install the portions of GNU Radio by running the following command as root:
315
316% \begin{lstlisting}[]
317%  # make install
318% \end{lstlisting} 
319
320% The libraries installed by GNU Radio need to be linked:
321
322% \begin{lstlisting}[]
323%  # /sbin/ldconfig
324% \end{lstlisting}
325
326At this point, GNU Radio and its dependencies have been installed. Now setup the
327proper permissions for the USRP. As root, create a group which will have access
328to the USRP:
329
330\begin{lstlisting}[]
331 # /usr/sbin/groupadd usrp
332\end{lstlisting}
333
334Add users to the group which need access to the USRP:
335
336\begin{lstlisting}[]
337 # /usr/sbin/usermod -G usrp -a USERNAME
338\end{lstlisting}
339
340Now that users will have access to the USRP, read and write access to the device
341must be created. As root, create the file {\tt /etc/udev/rules.d/10-usrp.rules} in
342a text editor:
343
344in Fedora,
345\begin{lstlisting}[]
346 # vim /etc/udev/rules.d/10-usrp.rules
347\end{lstlisting}
348
349Some distributions such as Ubuntu do not have vim installed by default. If that is the case, use vi instead.
350
351Add the following text to the file:
352
353\begin{lstlisting}[]
354 ACTION=="add", BUS=="usb", SYSFS{idVendor}=="fffe", \
355 SYSFS{idProduct}=="0002", GROUP:="usrp", MODE:="0660"
356\end{lstlisting}
357
358The text above is displayed on two lines due to the contraints on page size, however
359the text must appear on a single line, without the backslash, in the file for the
360access to the USRP to work properly. You may also add the following comment lines to
361the file for future reference:
362
363\begin{lstlisting}[]
364 # rule to grant read/write access on USRP to group named usrp.
365 # to use, install this file in /etc/udev/rules.d/ as
366 # 10-usrp.rules
367\end{lstlisting}
368
369The USRP interface has now been created. As an optional test, connect the USRP
370to the computer and run the following command:
371
372\begin{lstlisting}[]
373 $ ls -lR /dev/bus/usb
374\end{lstlisting}
375
376The users root and usrp should now be listed under the user groups.
377
378If you are using the USRP2, it is necessary to have a gigabit ethernet interface and
379intruct the kernel to allow raw socket access to the ethernet port:
380\begin{lstlisting}[]
381 # chmod u+s /usr/local/bin/usrp2_socket_opener
382\end{lstlisting}
383
384This step is necessary every time you reinstall GNU Radio.
385
386
387\subsubsection{Install OSSIE}
388\label{section:installation:source:ossiecf}
389You are now ready to build and install OSSIE. 
390Note that installing by hand requires some knowledge of OSSIE, Linux, and software development.
391
392Download the latest tarball from
393\href{http://ossie.wireless.vt.edu/download/tarballs/\ossieversion/}{http://ossie.wireless.vt.edu/download/tarballs/\ossieversion/}
394\\ and unpack {\tt ossie-\ossieversion.tar.gz}.
395\begin{lstlisting}[]
396 $ wget http://ossie.wireless.vt.edu/download/tarballs/0.8.1/ \
397   ossie-0.8.1.tar.gz
398 $ tar -xvf ossie-0.8.1.tar.gz
399\end{lstlisting}
400
401By default, the installation directory of the OSSIE platform is {\tt /sdr}. In order to install new
402source code and binaries into this directory without root permissions, you need to create and change
403the ownership of {\tt /sdr}.
404\begin{lstlisting}[]
405 # sudo mkdir /sdr
406 # chown -R username.username /sdr
407\end{lstlisting}
408where {\tt username} is your user name.
409
410\subsubsection{Using Autoconf}
411\label{section:installation:source:ossiecf:autoconf}
412
413\begin{lstlisting}[]
414 $ cd ossie-0.8.1
415 $ ./configure --prefix=/sdr --libdir=/usr/local/lib/ \
416   --includedir=/usr/local/include/ --with-boost --with-boost-filesystem
417 $ make
418 $ sudo make install
419\end{lstlisting}
420
421If you prefer, or require, a different root directory, then change the '--prefix' flag to your appropriate absolute path.
422If you require the OSSIE libraries to be installed to a different location, then change the '--libdir' flag to your appropriate absolute path.
423For further 'configure' options, use {\tt configure --help}.
424
425If configure fails, use {\tt aptitude search <dependency name>}
426
427%\subsubsection{Using Installation Scripts}
428%\label{section:installation:source:ossiecf:buildpy}
429
430%The included {\tt build.py} and {\tt setup.py} scripts automate the building and installation of
431%the OSSIE packages. Because OSSIE is built as a set of dependent libraries it is
432%necessary to build and install each one separately so that
433%they can link properly. These scripts take care of that for you.
434
435%In order for the script to run uninterrupted, the {\tt sudo} command must be
436%able to execute {\tt make install}.
437%As root, edit the {\tt sudoers} file\footnote{By default the sudoers file must
438%be edited with the {\tt visudo} command}
439%\begin{lstlisting}[]
440% # /usr/sbin/visudo
441%\end{lstlisting}
442
443%At the end of the file, add the following line:
444%\begin{lstlisting}[]
445% ALL ALL = NOPASSWD: /usr/bin/make install
446%\end{lstlisting}
447
448%Save and quit ({\tt :wq}).  If you made an error, visudo will tell you. We
449%recommend that you comment this line out by putting a pound character (`\#') in
450%front of it once you have finished installing OSSIE.
451%%TODO: Have a more secure (wheel group only?) method
452
453%The {\tt setup.py} script installs the tools used for component and waveform development. To install the tools, move into the {\tt tools} directory and run the {\tt setup.py} script as follows \\(optionally, use {\tt su -c "<command>"} instead of {\tt sudo <command>}):
454
455%\begin{lstlisting}[]
456% $ cd /home/username/path_to_ossie/tools
457% $ python setup.py build && sudo python setup.py install
458%\end{lstlisting}
459
460%The {\tt build.py} script installs the core framework, components, devices and a few demonstration waveforms. This script should not be run as root.
461%To install, first exit out of root, then move into the directory where the OSSIE \ossieversion\ tarball has been unpacked and run the script:
462
463%\begin{lstlisting}[]
464% # exit
465% $ cd /home/username/path_to_ossie/
466% $ python build.py
467%\end{lstlisting}
468
469%Depending on the speed of your system this might take several minutes. You may
470%be asked for a password during the first {\tt make install} command. Because we
471%are using {\tt sudo}, this prompt is asking for your user password, not the
472%root password. If successful, the prompt should say:
473%\begin{lstlisting}[]
474%*********************************************************
475
476%  Complete installation of OSSIE 0.8.1 finished!
477
478%*********************************************************
479%\end{lstlisting}
480
481\subsubsection{Updating System Libraries}
482\label{section:installation:source:ossiecf:ldconfig}
483Once the OSSIE libraries are installed, they need to be linked.
484As root edit the file {\tt /etc/ld.so.conf}, adding the line
485\begin{lstlisting}[]
486 /usr/local/lib
487\end{lstlisting}
488Now run:
489\begin{lstlisting}[]
490 # /sbin/ldconfig
491\end{lstlisting}
492
493OSSIE should now be successfully installed on your system. You can skip to
494Section~\ref{section:runningwaveforms} to learn how to run waveforms.
495
496\subsection{Installation of OSSIE Eclipse Feature}
497\label{section:installation:alloefinstall}
498Installation of the OSSIE Eclipse Feature (OEF) requires the installation of OSSIE, Java, and Eclipse.
499
500\subsubsection{Installing Java}
501\label{section:installation:javainstall}
502Eclipse is written in Java, so you must have it installed to run Eclipse and OEF.
503We recommend using Sun's Java Development Kit. As of this writing, the GNU Compiler for Java (GCJ) will not work.
504
505Fedora Core 9 comes with the Sun JDK pre-installed but older versions require manual installation. On other distributions it is advisable to use the
506package manager to manage the installation, if possible.
507
508\subsubsection{Installing Java on Older Versions of Fedora}
509\label{section:installation:javafedora}
510Go to \href{http://java.sun.com/javase/downloads/index.jsp}{http://java.sun.com/javase/downloads/index.jsp}
511and click Download next to JDK 6 Update 6. Choose Linux in the platform drop down menu, click the check-box
512agreeing to the license agreement, and click continue. Download the Linux rpm in self extracting file,
513{\tt jdk-6u6-linux-i586-rpm.bin}.
514
515Open a terminal and navigate to the file. As root, execute the following command:
516\begin{lstlisting}[]
517 # sh jdk-u6-linux-i586-rpm.bin
518\end{lstlisting}
519
520Create {\tt java.sh} in {\tt /etc/profile.d/} with the following contents:
521\begin{lstlisting}[]
522 export JAVA_HOME="/usr/java/latest"
523 export JAVA_PATH="$JAVA_HOME"
524 export PATH="$PATH:$JAVA_HOME/bin"
525\end{lstlisting}
526
527Log out and back in to allow the changes to update.
528
529\subsubsection{Installing Java on Ubuntu}
530\label{section:installation:javaubuntu}
531
532Open /etc/apt/sources.list in an editor and add the following lines to the end of the file:
533\begin{lstlisting}[]
534 deb http://archive.canonical.com/ubuntu lucid partner
535 deb-src http://archive.canonical.com/ubuntu lucid partner
536\end{lstlisting}
537
538In a terminal, enter the following lines:
539\begin{lstlisting}[]
540 $ sudo apt-get update
541 $ sudo apt-get install sun-java6-jdk
542\end{lstlisting}
543
544\subsubsection{Installing Eclipse}
545\label{section:installation:eclipseinstall}
546Install the Eclipse IDE for Java Developers. Go to the \href{http://www.eclipse.org/downloads/}{Eclipse Download Center} and download an Eclipse distribution for your platform.
547
548Eclipse is distributed as a tarball archive that you can unpack to location of your choice. Pick a location that is appropriate for your platform and
549simply unpack the contents. There is no self-installer, just unpack the distribution. Do not install Eclipse in a directory that has spaces anywhere
550in its full path name.
551
552\subsubsection{Installing OEF}
553\label{section:installation:oefinstall}
554Now that the dependencies have been installed, OEF can be installed.
555
556Move into the unpacked eclipse directory, and start eclipse:
557\begin{lstlisting}[]
558$ cd /path/to/eclipse
559$ ./eclipse
560\end{lstlisting}
561
562After Eclipse starts, on the toolbar select {\tt Help}, {\tt Install New Software}.
563In the new window, select the ``Work with'' textbox and enter the URL: {\tt http://ossie.wireless.vt.edu/eclipse/}
564and select Add. Give a name, e.g., ``OEF''.
565
566The window will then add the URL, OSSIE, OSSIE Waveform Developer
567Feature to the list of available software. Place a check in the box next to OSSIE
568Waveform Developer Feature and click Next. Eclipse will show a window with more details, select Finish to complete the installation process.
569
570%Eclipse will bring up a window which will
571%resolve any dependencies and then start the install guide.
572
573%When the install window opens, make sure OSSIE Waveform Developer Feature is selected and click Next.
574
575%Accept the GNU license agreement and select Next. Eclipse will then begin to download the necessary files, which may take a few minutes.
576Allow Eclipse to restart when it prompts to do so. After it restarts, the OSSIE Eclipse Feature will be installed.
577
578Select the OSSIE perspective within Eclipse. On the toolbar, select {\tt Window},
579{\tt Open Perspective}, {\tt Other}. In the new window, select OSSIE which will then
580open the OSSIE perspective. On the toolbar, select {\tt File}, {\tt New}, {\tt OSSIE Waveform},
581or {\tt OSSIE Component} to start developing.
582
583These same instructions used for installing OEF can be used later to update it to newer versions.
584
585\subsection{Using a VMware Image on Any Platform}
586\label{section:installation:vmware}
587A VMware image of a complete Fedora Core 9-based Linux system with all necessary
588dependencies and a complete install of OSSIE \ossieversion\ is available at \\
589\href{http://ossie.wireless.vt.edu/trac/wiki/Downloads}{http://ossie.wireless.vt.edu/trac/wiki/Downloads}.
590All that is needed to run the virtual image is the VM­Ware Player, available
591for no fee from \\
592\href{http://www.vmware.com/download/player/}{http://www.vmware.com/download/player/}.
593Versions of the player are available for both Windows and Linux.
594
595Install VMware Player on your system, unzip the virtual image and open it.
596For full instructions on installing and using VMware player, please
597consult the VMWare Player User Guide~\cite{vmware:web}.
598
599It is recommended that you keep a copy of the zipped virtual image so that you do
600not need to download the image a second time to start with a fresh copy. Changes
601that you make from within the image will alter it, and in the event of drastic
602unwanted changes, starting afresh is easy if you have an extra copy of the image
603on your hard drive.
604
605% \subsection{Via Ebuild on Gentoo Linux}
606% Support for installation via Gentoo's Portage package management system has not
607% yet been thoroughly tested but ebuilds do exist.
608%
609% To access the ebuilds, install and configure layman if you haven't already:
610% \begin{figure}
611% \begin{lstlisting}[]
612% # emerge layman
613% # echo "source /usr/portage/local/layman/make.conf" >> /etc/make.conf
614% \end{lstlisting}
615% \end{figure}
616%
617% Then, add ossie-overlay to your locally-stored overlays:
618% \begin{figure}
619% \begin{lstlisting}[]
620% # layman -a -o https://ossie.wireless.vt.edu/repos/ossie/experimental/scripts/gentoo/ossie-overlay.xml
621% \end{lstlisting}
622% \end{figure}
623%
624% You can then proceed with installing OSSIE:
625% \begin{figure}
626% \begin{lstlisting}[]
627% # emerge -av ossie
628% \end{lstlisting}
629% \end{figure}
630%
631% After sucessful compiliation of the OSSIE framework and its dependencies, skip
632% to section X.
633
634%\subsection{Embedded Platforms}
635%While installation on embedded platforms is not officially supported in the
636%0.6.2 release, work has been done (MENTION WORK) on porting OSSIE to embedded
637%platforms and we are interested in promoting more work in this area.
638
639
Note: See TracBrowser for help on using the browser.