Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
If you have gotten far enough to get the error in login2.cpp that you described then the solution is most likely described in the other posts in the Linux forum. Most of those solutions deal with PostgreSQL configuration and apply to Windows and Mac OSX as well as Linux.
Have you tried following the advice in those other posts?
Please visit: http://www.xtuple.org/phpBB3/viewtopic.php?f=&t=3533&p=0 for the changed document