Hey, kind of topic.. but I can't build the last release from github(commit#1860) . There's the need of GLEW lib :} .
So on my debian:
$ sudo apt-get install libglew-dev
Fixed the dependency wanted by cmake. Just to reference for plp who came on forum wanting help on building from source.
Btw, git submodule is needed, as other repositories are linked... so if someone came across that: $ cd rpcs3; git submodule update --init