From 9753cde10d4b30ad45912842c374d0b7b4747a7e Mon Sep 17 00:00:00 2001 From: jfarrell Date: Fri, 21 Jun 2013 14:53:39 -0500 Subject: [PATCH] Thrift-2057:Vagrant fails on php tests Client: build Patch: Jake Farrell Removes phpunit package and installs phpunit from pear --- contrib/Vagrantfile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/contrib/Vagrantfile b/contrib/Vagrantfile index cf54311b..9a0ba94c 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 -- 2.17.1