diff -r 0baa4454074d src/mapnik2/utils.py
--- a/src/mapnik2/utils.py	Mon Oct 11 18:50:16 2010 +0000
+++ b/src/mapnik2/utils.py	Sun Oct 31 17:11:45 2010 -0700
@@ -26,7 +26,7 @@
             return fp
         if (sys.platform.startswith('win') or sys.platform.startswith('cyg'))  and os.path.exists(fp+'.exe'):
             return fp+'.exe'
-    raise IOError('Program not fond: %s in %s ' % (program, PATH))
+    raise IOError('Program not found: %s in %s ' % (program, PATH))
 
 def get_config_output(exe, args):
     cmd = which(exe)
@@ -64,7 +64,9 @@
             suffix = 'so'
             if sys.platform == 'cygwin':
                 prefix = 'cyg'
-            if 'win' in sys.platform:
+            if sys.platform == 'darwin':
+                suffix = 'dylib'
+            elif os.name == 'nt':
                 suffix = 'dll'
             pretendants = libraries_pretendants[p]
             while(len(pretendants)):
@@ -86,6 +88,8 @@
         'extra_link_args': [],
     }
     bf = get_boost_flags()
+    if not bf['libraries']:
+        sys.stderr.write('Warning: libboost_python not found')
     compilation_flags['includes'].extend(bf['includes'])
     compilation_flags['libraries'].extend(bf['libraries'])
     compilation_flags['includes'].extend(mapnik_config(["--cflags"]).split())
