unixbench

I order a USA VPS to play around with today, just for fun. No serious stuff on it. Decided to run Unixbench but hit with some minor problem.

./src/ubgears.c:641: warning: implicit declaration of function âevent_loopâ
./src/ubgears.c:643: warning: implicit declaration of function âglXDestroyContextâ
./src/ubgears.c:645: warning: implicit declaration of function âXDestroyWindowâ
./src/ubgears.c:646: warning: implicit declaration of function âXCloseDisplayâ
make: *** [pgms/ubgears] Error 1
 
**********************************************
Run: "make all" failed; aborting

This is due to some development tools not installed.
Solution:

yum install -y SDL-devel mesa-libGL-devel

Hope this helps someone out there …