Commit Graph

43 Commits

Author SHA1 Message Date
Peter Barker 5f44327dab Tools: install-prereqs-ubuntu: only install realpath package if available
This has been rolled into coreutils in more recent Ubuntus
2018-05-15 12:52:03 +10:00
Buzz 0f39c4da80 Tools: install-prereqs-ubuntu.sh: increase verbosity
Make it a bit more verbose in regard to which script is running, helpful for new user/s especially.
2018-05-15 12:09:32 +10:00
Pierre Kancir cc50fff51f Tools: install-prereqs-ubuntu: add xterm to SITL install list 2018-05-09 13:38:36 +10:00
Peter Barker 9138c07fc5 Tools: install-prereqs-ubuntu: install wx for python on older Ubuntus
This installs wx on Trusty, so graphing from sim_vehicle.py works.
2018-04-04 07:58:23 +10:00
Peter Barker 0a7ae22398 Tools: Vagrant: use install-prereqs-ubuntu for installation 2018-02-13 13:49:41 +09:00
Andrew Tridgell 619cdbe065 Tools: fixed bash syntax error in install-prereqs-ubuntu.sh 2016-11-27 06:27:15 +11:00
Pierre Kancir 75a2a1cd6c Tools: Don't install libc6-i386 on 32bit Ubuntu 2016-11-21 17:03:04 +00:00
Peter Barker e8fc5b9552 Tools: add set -x to install-prereqs scripts 2016-11-07 08:17:41 +11:00
mirkix 0638ec7dfe Tools: add pkg-config-arm-linux-gnueabihf package 2016-11-03 17:29:44 -03:00
mirkix 25f6d29d97 Tools: rename BEBOP to generic ARM_LINUX 2016-11-03 17:29:44 -03:00
Lucas De Marchi 0c1f2ba144 scripts: add cmake to install-prereq scripts 2016-10-31 09:49:40 -07:00
Andrew Tridgell bd0d37e2fd Tools: added cmake to ububtu prereqs install
this fixes waf build for ubuntu 14.04 LTS
2016-10-20 16:29:51 +11:00
Pierre Kancir f7d19a6cd7 Tools: update ubuntu install script 2016-10-16 13:02:48 -02:00
Pierre Kancir 08cf58a027 Tools: update ubuntu install script 2016-10-15 09:23:10 -03:00
Andrew Tridgell b66c3d3915 Tools: added lxml and future for ubuntu users 2016-10-12 21:40:48 +11:00
Tom Pittenger ed7af8c717 scripts: Add libc6-i386 to px4 package install.
Fixes https://github.com/ArduPilot/ardupilot/issues/4316
2016-06-16 08:06:06 -07:00
Lucas De Marchi b8cb88092f Tools: install-prereqs-ubuntu: fix exporting PATH
Since we escape $PATH, we can't just try to export that way. Since PATH
is unset if we do this, we end up with things like :

./Tools/scripts/install-prereqs-ubuntu.sh: line 101: apt-cache: command
not found
2016-04-19 00:14:09 -03:00
Lucas De Marchi 0fae368635 Tools: install-prereqs-ubuntu: allow to run from repository
If we are running the script, we are likely inside the repository, in
which case the script would fail while searching for a directory named
ardupilot. Derive the root directory from the script location.
2016-04-19 00:14:09 -03:00
Lucas De Marchi 757f48ff83 Tools: install-prereqs-ubuntu: fix return code checking
We are running the script with -e so we can't check the return code like
that.
2016-04-19 00:14:09 -03:00
Lucas De Marchi 4c6dac2d5d Tools: install-prereqs-ubuntu: install python-setuptools 2016-04-19 00:14:09 -03:00
Lucas De Marchi 03f5362538 Tools: install-prereqs-ubuntu: remove 32-bit variants
These are not necessary and cause trouble in Ubuntu 16.04.
2016-04-19 00:14:09 -03:00
Lucas De Marchi 1a24a3174f Tools: install-prereqs-ubuntu: fix string concatenation
ubuntu@ubuntu-xenial:~/ardupilot$ ./Tools/scripts/install-prereqs-ubuntu.sh
./Tools/scripts/install-prereqs-ubuntu.sh: line 19:  python-wxgtk3.0: command not found

While at each, change to use lsb_release like the other scripts.
2016-04-19 00:14:09 -03:00
Andre Kjellstrup b6b593b6fb Tools: install-prereqs-ubuntu: update for Ubuntu 16.x
No older versions of Ubuntu is affected by this script.
2016-04-19 00:14:09 -03:00
Andrew Tridgell dea708b368 Tools: switch to ardupilot.org for firmware and autotest 2016-03-25 16:46:11 +11:00
Fredrik Hedberg e88e8835b1 Tools: Use GCC 4.9 as an Ubuntu prereq as older version is no longer available. 2016-02-29 16:58:48 -03:00
Lucas De Marchi d16a924a15 scripts: don't install avr tools 2015-11-04 12:14:16 +11:00
Andrew Tridgell 16bc7d8b2e Tools: fixed datestamp on compiler download 2015-10-20 15:54:44 +11:00
Andrew Tridgell 279a320f44 Tools: switch autobuild to 4.9 compiler 2015-10-20 15:28:13 +11:00
Philippe Hamelin 3af95cc3da scripts: add catkin_pkg and python-empy to Ubuntu prerequisites 2015-10-08 15:30:10 +09:00
Lucas De Marchi a2d17b87c7 Tools: add realpath to ubuntu prerequisites
The realpath tool may be missing on a Ubuntu distro and we use it in
sim_vehicle.sh.  Make sure it's also installed as part of sitl packages.

On Archlinux it's part of the coreutils package which is part of the
base group. Therefore it's guaranteed to be available.

Fix #2730.
2015-08-23 11:14:53 +09:00
squilter c5550329a3 Tools: fix ubuntu prereqs script to force python2 2015-07-18 13:48:29 +09:00
squilter 506970fbd3 Tools: Add Bebop prereqs to Ubuntu script 2015-07-14 18:10:56 +09:00
Andrew Tridgell 28ffd9d4ed travis: setup for git submodules 2015-06-09 16:51:55 +10:00
Andrew Tridgell 094910d7e4 Travis: more debugging code 2015-04-05 21:17:20 -07:00
Andrew Tridgell 494789054e travis: enable wide range of builds in Travis-CI 2015-01-01 09:32:25 +11:00
Arthur Benemann 14c77adca9 Tools: Updated gcc-arm compiler to version 4_7-2014q2
As suggested in the thread at the following link:
https://groups.google.com/forum/#!topic/drones-discuss/hiD23c3w6xQ
2014-11-14 10:47:19 +11:00
Markus Koetter e06b3f3ff6 Travis-CI: add vrubrain-v51 target (Copter) 2014-07-15 11:50:09 +10:00
Arthur Benemann ff11b13f9c tools: In install-prereqs-ubuntu.sh add support for relative paths
Install the required projects (PX4*) in the same folder from where the script is called.
Install the arm toolchain at /opt
2014-07-15 11:47:01 +10:00
Arthur Benemann b76b090acd tools: Make install-prereqs-ubuntu.sh work with newer versions of Ubuntu
* Install libraries for 64bit Ubuntu systems.
* Less noise apt-get output
* Install packages required for SITL simulation
* Install pymavlink, MAVProxy and droneapi
* Remove modemmanager package
* Add autotest/ to the path
2014-07-15 11:46:58 +10:00
Matthew Lloyd 15b99300a2 build: fix paths in install-prereqs-ubuntu.sh
Also upgrade to the latest 2013q4 "GNU Tools for ARM
Embedded Processors" toolchain since the 2012q2 release
is no longer available for download.
2014-04-07 13:54:59 +10:00
Chris Mansley f9d262278f Tools: Update gcc-arm version from q2 to q4
This fixes the installation script since version q2 has been removed
from launchpad.
2014-04-07 13:47:14 +10:00
wiseman 4aa7badd98 Updated build instructions & script.
Updated the README and the install-prereqs-ubuntu.sh script to reflect
changes in the PX4 build steps and the PX$ & NuttX repository used to
build ardupilot.
2013-10-22 00:33:45 -07:00
John Wiseman 8eb097a53c Added Vagrantfile to define a standardized Ubuntu 12.04 32-bit
development environment.

Added a script, install-prereqs-ubuntu.sh, that installs all packages
and software required for development on AVR and PX4 platforms.

pch: rebased pullreq 183
2013-04-07 11:05:33 -07:00