Version 4.2, Cant compile on OSX

afaik, It should still work on 10.6 as long as you use C++98 and libstdc++. It will not be supported anymore in the future, though.
Why do you need to support 10.6, and exactly what issues are you experiencing?