I was told that this question is better suited here at Stack Overflow ( and not ServerFault )
So here it goes:
I have this weird issue on my Mac OS X 10.7.5<
I figured out.
Just need to install the command line tools found in Xcode and the problems will be solved.
Cheers.