<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.paparazziuav.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ismac</id>
	<title>PaparazziUAV - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.paparazziuav.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ismac"/>
	<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/wiki/Special:Contributions/Ismac"/>
	<updated>2026-04-07T16:39:31Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Installation/Manual&amp;diff=18444</id>
		<title>Installation/Manual</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Installation/Manual&amp;diff=18444"/>
		<updated>2014-04-08T16:34:28Z</updated>

		<summary type="html">&lt;p&gt;Ismac: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;categorytree style=&amp;quot;float:right; clear:right; margin-left:1ex; border: 1px solid gray; padding: 0.7ex;&amp;quot; mode=pages&amp;gt;Installation&amp;lt;/categorytree&amp;gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
'''Users of recent Debian/Ubuntu distributions are advised to use the binary packages as described in [[Installation/Linux]].'''&lt;br /&gt;
&lt;br /&gt;
Users of other Linux flavors or anyone needing manual control of each individual package can install them independently.  The list of dependencies of the Debian package is located in the [https://github.com/paparazzi/paparazzi-portability-support/blob/master/debian/paparazzi-dev/debian/control &amp;lt;tt&amp;gt;debian/control&amp;lt;/tt&amp;gt;] file and may help users of other distributions.&lt;br /&gt;
&lt;br /&gt;
Some corresponding source tarballs can be downloaded from [https://launchpad.net/~paparazzi-uav/+archive/ppa/+packages paparazzi-uav ppa] on launchpad.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For distributions using RPM packaging, the [http://packages.debian.org/unstable/source/alien alien] tool can be used to translate a .deb package into a .rpm package.&lt;br /&gt;
&lt;br /&gt;
For Fedora (Core8) users, you can install the following packages from standard repository:&lt;br /&gt;
* ocaml.i386&lt;br /&gt;
* ocaml-camlimages-devel.i386&lt;br /&gt;
* ocaml-lablgtk-devel.i386&lt;br /&gt;
* ocaml-xml-light-devel.i386&lt;br /&gt;
* boa.i386&lt;br /&gt;
* libgnomecanvas-devel.i386&lt;br /&gt;
* libusb-devel.i386&lt;br /&gt;
* pcre-devel.i386&lt;br /&gt;
* arm-gp2x-linux-gcc.i386&lt;br /&gt;
* arm-gp2x-linux-binutils.i386&lt;br /&gt;
* glade2.i386&lt;br /&gt;
* and gcc, make, subversion, gnuplot, imagemagik...&lt;br /&gt;
&lt;br /&gt;
Note that ocaml-xml-light version 2.2 in its official source release and in some distribution packages requires a patch in order to function properly with paparazzi. Find patch [https://github.com/OCamlPro/opam-repository/blob/master/packages/xml-light.2.2/files/fix_dtd_trace.patch here].&lt;br /&gt;
&lt;br /&gt;
Then you need [http://packages.debian.org/unstable/source/alien alien] tool to convert packages from the paparazzi repository:&lt;br /&gt;
* ivy-c&lt;br /&gt;
* ivy-c-dev&lt;br /&gt;
* ivy-ocaml (WARNING: debian and fedora have different path for ocaml (/usr/lib/ocaml/&amp;lt;version&amp;gt; vs. /usr/lib/ocaml), so you need to move by hand the files in /usr/lib/ocaml/&amp;lt;version&amp;gt; to /usr/lib/ocaml)&lt;br /&gt;
* lpc21isp&lt;br /&gt;
&lt;br /&gt;
These Ivy binary packages will only work with the corresponding version of ocaml. Ivy repository is located [http://www.eei.cena.fr/products/ivy/download/packages/ here].&lt;br /&gt;
&lt;br /&gt;
== Using 32Bit on 64Bit ==&lt;br /&gt;
&lt;br /&gt;
If you want to run the 32bit versions on a 64bit machine for whatever reason...&lt;br /&gt;
&lt;br /&gt;
In these cases, a chroot is a good compromise, while avoiding the overhead of a virtual machine (and USB device problems which may occur).&lt;br /&gt;
Initial instructions are here for now: https://help.ubuntu.com/community/DebootstrapChroot&lt;br /&gt;
The command you use for the bootstrap needs to reflect your architecture - I used&lt;br /&gt;
&lt;br /&gt;
  sudo debootstrap --variant=buildd --arch i386 lucid /var/chroot/lucid http://gb.archive.ubuntu.com/ubuntu/&lt;br /&gt;
&lt;br /&gt;
The format for schroot config files has changed as of lucid however - here is mine:&lt;br /&gt;
&lt;br /&gt;
  $ cat /etc/schroot/chroot.d/lucid-i386 &lt;br /&gt;
  [lucid]&lt;br /&gt;
  description=Ubuntu 10.04 Lucid for i386&lt;br /&gt;
  directory=/var/chroot/lucid&lt;br /&gt;
  personality=linux32&lt;br /&gt;
  root-users=my_user&lt;br /&gt;
  type=directory&lt;br /&gt;
  users=my_user&lt;br /&gt;
&lt;br /&gt;
Once you've installed the ubuntu minimal package, make sure you also enable the uni- and multiverse repos (the easiest way for me is to simply copy my host's /etc/apt/sources.lst to /var/chroot/lucid/etc/apt/sources.lst).&lt;br /&gt;
Then follow the standard instructions above.  You may need to manually set the PAPARAZZI_HOME and PAPARAZZI_SRC environment variables. You will also have to set the DISPLAY environment variable to :0.0 like so:&lt;br /&gt;
&lt;br /&gt;
  export DISPLAY=:0.0&lt;br /&gt;
&lt;br /&gt;
Please note, this is more advanced than the standard paparazzi installation and therefore you may encounter strange problems.&lt;br /&gt;
&lt;br /&gt;
== Installation on Fedora 19 (Update) ==&lt;br /&gt;
&lt;br /&gt;
To build paparazzi-uav on Fedora 19, you must install the next packages from the official repository:&lt;br /&gt;
* ocaml&lt;br /&gt;
* ocaml-findlib&lt;br /&gt;
* ocaml-xml-light&lt;br /&gt;
* ocaml-ocamlnet&lt;br /&gt;
* ocaml-lablgtk-devel&lt;br /&gt;
* libxml2-devel&lt;br /&gt;
* SDL-devel&lt;br /&gt;
* libusb-devel&lt;br /&gt;
&lt;br /&gt;
Paparazzi-uav needs to include some ocaml headers when it compiles the simulator, then please be sure that they are included. If not, edit sw/simulator/Makefile and add:&lt;br /&gt;
&lt;br /&gt;
  CAML_CFLAGS = -I/usr/lib64/ocaml&lt;br /&gt;
&lt;br /&gt;
The following packages must be built from source code (they are not included in the official repository): &lt;br /&gt;
* ivy-c &lt;br /&gt;
* ivy-ocaml &lt;br /&gt;
&lt;br /&gt;
Paparazzi-uav was successfully compiled using ivy-c 3.14 (downloaded from SVN repository, revision #3602) and ivy-ocaml 1.2. Please note that the ivy-c version is an unstable version!&lt;br /&gt;
&lt;br /&gt;
Additionally, you need install the next RPMs to build ivy-c:&lt;br /&gt;
* pcre-devel&lt;br /&gt;
* libXt-devel&lt;br /&gt;
* tcl-devel&lt;br /&gt;
* glib2-devel&lt;br /&gt;
&lt;br /&gt;
Don't forget to set the environment variable PKG_CONFIG before building ivy-ocaml, e.g:&lt;br /&gt;
&lt;br /&gt;
  $ export PKG_CONFIG = /usr/local/lib/pkgconfig&lt;br /&gt;
&lt;br /&gt;
Finally, install the cross compiler as described at http://wiki.paparazziuav.org/wiki/Installation/FromScratch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]] [[Category:User_Documentation]] [[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Ismac</name></author>
	</entry>
</feed>