What was the solution to this? I'm using the files from the wine.tar.gz archive, and have gcc, make and pkg-config installed (though slightly different versions) as suggested. I'm using orokusaki's instructions in the post above.