|
From: | Anant M. Khadkikar |
Subject: | [Paparazzi-devel] Installing Paparazzi on RaspberryPi |
Date: | Thu, 23 Jan 2014 15:00:29 +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.list and add thes lines: deb http://www.cl.cam.ac.uk/~lpw25/ocaml-rpi/ wheezy main deb-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.git cd opam git checkout -b latest origin/latest ./configure && make sudo make install opam init eval `opam config env` done Update your shell environment as per opam init's instructions. E.g. add to your ~/.profile: eval `opam config env` done sudo apt-get install libglade2-dev libgnomeui-dev libgnomecanvas2-dev librsvg2-dev libgtkspell-dev libcanberra-gtk-dev done opam install ocamlfind xml-light pcre-ocaml opam install -v lablgtk opam install -v ocamlnet done 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-dev done 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**.deb done Ivy-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.deb done Building Paparazzi $ git clone https://github.com/paparazzi/paparazzi.git $ cd paparazzi $ git checkout master $ make ground_segment $ make ground_segment.opt done Everything went OK, but when trying out I got following error: error: cannot load shared library dlllablgtk2 and now I’m back to my initial problem :-( Can anyone help me with this? Thank you. |
[Prev in Thread] | Current Thread | [Next in Thread] |