Difference between revisions of "Installation/MacOSX"

From PaparazziUAV
Jump to navigation Jump to search
Line 11: Line 11:
# cd ~/ivy-c
# cd ~/ivy-c
# sudo make -f Makefile.osx PREFIX=/opt/local install
# sudo make -f Makefile.osx PREFIX=/opt/local install
# cd <GIT>/paparazzi/sw/lib/ocaml/ivy
# svn co http://svn.tls.cena.fr/svn/ivy/ivy-ocaml/trunk ~/ivy-ocaml
# cd ~/ivy-ocaml
# make
# make
# sudo make install
# sudo make install

Revision as of 21:30, 7 January 2011

The task of building Paparazzi on for Apple MacOS X is on going. The current installation instructions are as follows. As the process evolves and the more people begin to use it the process will become easier and more simplified.

Installation

  1. Latest XCode http://developer.apple.com
  2. MacPorts http://www.macports.org/install.php
  3. sudo port install git-core xml-light caml-ocamlnet libftdi lablgtk2 gmp mpfr libmpc # Go get a coffee… have a sleep. this takes quite long time
  4. sudo port upgrade --enforce-variants libftdi +universal
  5. git clone -o <username> git@github.com:<your github username>/paparazzi.git <-- See the Paparazzi GIT page
  6. svn co http://svn.tls.cena.fr/svn/ivy/ivy-c/trunk ~/ivy-c
  7. cd ~/ivy-c
  8. sudo make -f Makefile.osx PREFIX=/opt/local install
  9. svn co http://svn.tls.cena.fr/svn/ivy/ivy-ocaml/trunk ~/ivy-ocaml
  10. cd ~/ivy-ocaml
  11. make
  12. sudo make install
  13. git clone git://github.com/esden/summon-arm-toolchain.git summon-arm-toolchain-git
  14. cd summon-arm-toolchain-git
  15. edit summon-arm-toolchain and update PREFIX=<your preferred install location>, USE_LINARO=1 and LIBSTM32_EN=1
  16. ./summon-arm-toolchain # Go have another coffee or lunch
  17. edit /etc/profile and add the install bin path to the PATH and MANPATH (PATH=$PATH:<any other stuff>:<PREFIX>/bin and MANPATH=$MANPATH:<any other stuff>:<PREFIX>/share/man
  18. cd <GIT>/paparazzi
  19. make clean
  20. make