Did this to build scribe-2.2.tar.gz
Get thrift 0.5.0 instead of 0.6.1/0:
sudo apt-get install php5-dev
sudo apt-get install php-config # *-php=no didn't quite work out for me
sudo ./configure --with-haskell=no # with-haskell=for-great-good did NOT work
and then configure/make/install thrift and fb303