|
From: | Felix Ruess |
Subject: | Re: [Paparazzi-devel] Installing Paparazzi on RaspberryPi |
Date: | Fri, 24 Jan 2014 01:55:46 +0100 |
Dear all,I’m trying to install Paparazzi on a RaspberryPi. First I was a bit confused about hard and soft float, but then I tried to install Paparazzi with soft float. I got an error with installing liblablgtk2 package. It said that it has dependencies to ocaml-nox-3.12.1, ocaml-nox 4.00.0-1 is installed, and as I understand ocaml-nox-3.12.1 is a virtual package of version 4.00.0-1. As I was not able to solve this, I tried to install Paparazzi with hard-float.Here the steps I did:Raspbian “wheezy”
$ sudo apt-get install bzip2 git-core make gcc g++ gnuplot glade imagemagick libpcre3-dev libusb-dev python-usb python-lxml python-wxgtk2.8 speech-dispatcher libgnomecanvas2-dev m4 libsdl1.2-dev
done
OCaml 4
$ sudo nano /etc/apt/sources.listand add thes lines:
deb http://www.cl.cam.ac.uk/~lpw25/ocaml-rpi/ wheezy maindeb-src http://www.cl.cam.ac.uk/~lpw25/ocaml-rpi/ wheezy main
$ sudo apt-get update$ sudo apt-get install ocaml ocaml-native-compilers
done
OPAM
git clone https://github.com/OCamlPro/opam.gitcd opamgit checkout -b latest origin/latest./configure && makesudo make installopam initeval `opam config env`doneUpdate your shell environment as per opam init's instructions. E.g. add to your ~/.profile: eval `opam config env`
donesudo apt-get install libglade2-dev libgnomeui-dev libgnomecanvas2-dev librsvg2-dev libgtkspell-dev libcanberra-gtk-devdone
opam install ocamlfind xml-light pcre-ocamlopam install -v lablgtkopam install -v ocamlnetdone
Building Ivy
$ cd paparazzi-portability-support/debian$ sudo ./develenv.sh$ sudo apt-get install devscripts debhelper quilt fakeroot dh-ocaml automake git subversion$ sudo apt-get install libxt-dev tcl-devdone
Ivy-C
$ svn checkout https://svn.tls.cena.fr/svn/ivy/ivy-c/trunk ivy-c$ cd ivy-c$ dpkg-checkbuilddeps$ debuild -i -uc -us -b$ dpkg-buildpackage -rfakeroot -us -uc$ cd ..$ sudo dpkg -i ivy-c_3.12.1-1_arm**.deb ivy-c-dev_3.12.1-1_arm**.debdoneIvy-ocaml
chose the second way
building and installing via OPAM (with ocaml libraries installed via OPAM on raspbian/hardfloat)
ivy-ocaml via OPAM
$ opam repo add flixr git://github.com/flixr/opam-repository.git$ opam update$ opam install ivy-ocaml
done
Ivy-python
$ cd ~/paparazzi-portability-support/debian/ivy/ivy-python$ uscan --force-download$ dpkg-buildpackage -rfakeroot -us -uc$ sudo dpkg -i ivy-python_2.2-3~ppa1_all.debdoneBuilding Paparazzi
$ git clone https://github.com/paparazzi/paparazzi.git$ cd paparazzi$ git checkout master$ make ground_segment$ make ground_segment.optdoneEverything went OK, but when trying out I got following error:error: cannot load shared library dlllablgtk2and now I’m back to my initial problem :-(Can anyone help me with this?Thank you.
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
[Prev in Thread] | Current Thread | [Next in Thread] |