While cc
and gcc
are perfectly in their right path (/Developer/usr/bin
in OS X Lion), running ./configure
tries to compile it through a hard coded (I guess) path - /usr/bin
.
Where do I setup configure's paths?
The right answer is to install Xcode 4 from the App Store (free) and then run /Applications/Install Xcode.app. Then everything you need will be in /usr/.