Difference between revisions of "Installation/MacOSX"

From PaparazziUAV
Jump to navigation Jump to search
Line 14: Line 14:
# make
# make
# sudo make install
# sudo make install
# cd <GIT>/paparazzi
# make clean
# make
# git clone git://github.com/esden/summon-arm-toolchain.git summon-arm-toolchain-git
# git clone git://github.com/esden/summon-arm-toolchain.git summon-arm-toolchain-git
# cd summon-arm-toolchain-git
# cd summon-arm-toolchain-git
# edit summon-arm-toolchain and update PREFIX=<your preferred install location>, USE_LINARO=1 and LIBSTM32_EN=1
# edit summon-arm-toolchain and update PREFIX=<your preferred install location>, USE_LINARO=1 and LIBSTM32_EN=1
# ./summon-arm-toolchain # Go have another coffee or lunch
# ./summon-arm-toolchain # Go have another coffee or lunch
# 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
# cd <GIT>/paparazzi
# make clean
# make

Revision as of 22:24, 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. cd <GIT>/paparazzi/sw/lib/ocaml/ivy
  10. make
  11. sudo make install
  12. git clone git://github.com/esden/summon-arm-toolchain.git summon-arm-toolchain-git
  13. cd summon-arm-toolchain-git
  14. edit summon-arm-toolchain and update PREFIX=<your preferred install location>, USE_LINARO=1 and LIBSTM32_EN=1
  15. ./summon-arm-toolchain # Go have another coffee or lunch
  16. 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
  17. cd <GIT>/paparazzi
  18. make clean
  19. make