mesa demo installation
I got same problem here, I'm experimenting with mesa stuff and want to see how it works. I downloaded the mesa demo stuff and performed the installation routines. After that, just create the object file you want ex."make glxgear". then run glxgear. I pressumed you have configured, intalled and loaded the config in your system.
hope this help,