Hi Rafael, > I googled around and people say you need the "-dev" package of mysql > in order to have the C headers...where can you download this for mac > os? > PS I am running XAMPP (http://www.keitr.com/tutorials/xampp) if that > changes anything
Ok, here my solution to the problem (Mac OS X 10.4, Xampp and MySQLdb) 1) install Xcode from apple (for gcc, need free account for that, http://developer.apple.com/) 2) get Mac binary tar from MySQL (http://dev.mysql.com/downloads/mysql/ 5.0.html#macosx) 3) edit site.cfg (mysql_config = /Applications/xampp/xamppfiles/bin/ mysql_config) 4) copy include dir from MySQL package to /Applications/xampp/ xamppfiles/include/mysql I bet downloading the same version from MySQL as installed from Xampp could help. And yes, you only need the include folder from the MySQL binary package, do not install it. Peace, Zaphot -- http://mail.python.org/mailman/listinfo/python-list