There are lots of ways to build Cairo. Near infinite really. Below, is a list of build "recipes." Pick the one that fits you best and enjoy building Cairo.
End to end build for Mac OS X
End to end build for Win32
Building cairo with jhbuild on Win32