summaryrefslogtreecommitdiff
path: root/contrib/Vagrantfile
diff options
context:
space:
mode:
authorjfarrell <jfarrell@apache.org>2013-06-21 14:53:39 -0500
committerjfarrell <jfarrell@apache.org>2013-06-21 14:53:39 -0500
commit9753cde10d4b30ad45912842c374d0b7b4747a7e (patch)
tree5a82cf694b2398cf4c4e2abd02b599487757cb22 /contrib/Vagrantfile
parent0f0558ab1f6a5e240094cc4fee6f2c2689711f55 (diff)
downloadthrift-9753cde10d4b30ad45912842c374d0b7b4747a7e.tar.gz
Thrift-2057:Vagrant fails on php tests
Client: build Patch: Jake Farrell Removes phpunit package and installs phpunit from pear
Diffstat (limited to 'contrib/Vagrantfile')
-rw-r--r--contrib/Vagrantfile12
1 files changed, 11 insertions, 1 deletions
diff --git a/contrib/Vagrantfile b/contrib/Vagrantfile
index cf54311bd..9a0ba94c0 100644
--- a/contrib/Vagrantfile
+++ b/contrib/Vagrantfile
@@ -28,12 +28,22 @@ sudo apt-get install -qq libboost-dev libboost-test-dev libboost-program-options
sudo apt-get install -qq ant openjdk-7-jdk
sudo apt-get install -qq python-all python-all-dev python-all-dbg
sudo apt-get install -qq libbit-vector-perl
-sudo apt-get install -qq php5-dev php5-cli phpunit
+sudo apt-get install -qq php5-dev php5-cli
sudo apt-get install -qq libglib2.0-dev
sudo apt-get install -qq git erlang-base erlang-eunit erlang-dev
sudo apt-get install -qq mono-gmcs mono-devel libmono-system-web2.0-cil
#sudo apt-get install -qq ghc6 cabal-install libghc6-binary-dev libghc6-network-dev libghc6-http-dev
sudo apt-get install -qq mingw32 mingw32-binutils mingw32-runtime
+
+# PHPUnit package broken in ubuntu. see https://bugs.launchpad.net/ubuntu/+source/phpunit/+bug/701544
+sudo apt-get upgrade pear
+sudo pear channel-discover pear.phpunit.de
+sudo pear channel-discover pear.symfony.com
+sudo pear channel-discover components.ez.no
+sudo pear update-channels
+sudo pear upgrade-all
+sudo pear install --alldeps phpunit/PHPUnit
+
echo I am building Apache Thrift ...
cd /thrift
sh bootstrap.sh