Are you trying to install it manually or through fink? if manually, try Fink. Often a source file needs to be patched to get it to compile/operate properly in OS X, and fink takes care of this. Although to be honest, I have seen errors like what you are getting even when using Fink, and have...