BEST idea for getting all needed dependencies is to use command that will install development dependencies for given package. Oh howto there should be so example for it.
If you do not know how, than you can still try to find source package for mesa, and read dependencies and install them manually. (Did so on fedora!)
EDIT:
For ubuntu it should be:
sudo apt-get build-dep <package>
Change <package> for EVERY package starting with mesa in your system.
If you do not know how, than you can still try to find source package for mesa, and read dependencies and install them manually. (Did so on fedora!)
EDIT:
For ubuntu it should be:
sudo apt-get build-dep <package>
Change <package> for EVERY package starting with mesa in your system.
Comment