Difference between revisions of "Installation/Manual"
m (mention patch needed in xml-light 2.2) |
(fix link to debian/control file) |
||
Line 3: | Line 3: | ||
'''Users of recent Debian/Ubuntu distributions are advised to use the binary packages as described in [[Installation/Linux]].''' | '''Users of recent Debian/Ubuntu distributions are advised to use the binary packages as described in [[Installation/Linux]].''' | ||
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/ | 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 <tt>debian/control</tt>] file and may help users of other distributions. | ||
Some corresponding source tarballs can be downloaded from [https://launchpad.net/~paparazzi-uav/+archive/ppa/+packages paparazzi-uav ppa] on launchpad. | Some corresponding source tarballs can be downloaded from [https://launchpad.net/~paparazzi-uav/+archive/ppa/+packages paparazzi-uav ppa] on launchpad. |
Revision as of 10:25, 13 November 2013
Users of recent Debian/Ubuntu distributions are advised to use the binary packages as described in Installation/Linux.
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 debian/control file and may help users of other distributions.
Some corresponding source tarballs can be downloaded from paparazzi-uav ppa on launchpad.
For distributions using RPM packaging, the alien tool can be used to translate a .deb package into a .rpm package.
For Fedora (Core8) users, you can install the following packages from standard repository:
- ocaml.i386
- ocaml-camlimages-devel.i386
- ocaml-lablgtk-devel.i386
- ocaml-xml-light-devel.i386
- boa.i386
- libgnomecanvas-devel.i386
- libusb-devel.i386
- pcre-devel.i386
- arm-gp2x-linux-gcc.i386
- arm-gp2x-linux-binutils.i386
- glade2.i386
- and gcc, make, subversion, gnuplot, imagemagik...
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 here.
Then you need alien tool to convert packages from the paparazzi repository:
- ivy-c
- ivy-c-dev
- ivy-ocaml (WARNING: debian and fedora have different path for ocaml (/usr/lib/ocaml/<version> vs. /usr/lib/ocaml), so you need to move by hand the files in /usr/lib/ocaml/<version> to /usr/lib/ocaml)
- lpc21isp
These Ivy binary packages will only work with the corresponding version of ocaml. Ivy repository is located here.
Using 32Bit on 64Bit
If you want to run the 32bit versions on a 64bit machine for whatever reason...
In these cases, a chroot is a good compromise, while avoiding the overhead of a virtual machine (and USB device problems which may occur). Initial instructions are here for now: https://help.ubuntu.com/community/DebootstrapChroot The command you use for the bootstrap needs to reflect your architecture - I used
sudo debootstrap --variant=buildd --arch i386 lucid /var/chroot/lucid http://gb.archive.ubuntu.com/ubuntu/
The format for schroot config files has changed as of lucid however - here is mine:
$ cat /etc/schroot/chroot.d/lucid-i386 [lucid] description=Ubuntu 10.04 Lucid for i386 directory=/var/chroot/lucid personality=linux32 root-users=my_user type=directory users=my_user
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). 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:
export DISPLAY=:0.0
Please note, this is more advanced than the standard paparazzi installation and therefore you may encounter strange problems.