Compiling osm2pgsql on OSX 10.7.4
I was following this guide, but when I ran into the osm2pgsql compilation issue with the latest version of osm2pgsql.
With much help from apmon in #osm on irc.oftc.net, he was able to add a number of configure checks to get it to compile in OSX.
That said, it’s been merged into HEAD, and it should now work again from within Homebrew, or by compiling from source. Here’s what I did:
> brew install –HEAD osm2pgsql
> make install (optional)
Let me know how it goes for you!