Mountain Lion: Problem With Permissions
Looking at the first error message from make it seems as if the paths got configured wrongly by configure. So just rerun it and make sure to specify any required paths in full (without ~).