Installing FreeTDS on OS X Mountain Lion
If you get an error like this:
In file included from gdataset.c:47: glib_trace.h:33:25: error: glib_probes.h: No such file or directory make: *** [gdataset.lo] Error 1
Error: Failed executing: make (pkg-config.rb:21)
Make sure you install the XCode Command Line Tools for Mountain Lion. Go to http://connect.apple.com, sign in with your Apple ID, search for “command” and you should see an item called “XCode 4.4”. Click on it and you should see a list of things to download, click on “XCode 4.4 Command Line Tools for OS X 10.8” at the bottom.
Also a good idea is to install GCC by using osx-gcc-installer.
(And because I always forget, the freetds.conf file is in “/usr/local/etc/freetds.conf”)