I am running into the same problem when installing in a fresh Ubu 14.04 install. I ran apt-get install individually for each of the prerequisite packages. I got hung up on the last 2 (libgl1-mesa-dev and libglu1-mesa-dev). When I locate and install the appropriate .deb files, I get the error that the unresolved dependency is because of mesa-common-dev. However, that package is already installed.
No time now to look further, but may have time later today (teaching would be so much better without all those pesky students).