Ldp
2
You appear to have recompiled mapnik, and are still on svn trunk. This now holds the development code, nicknamed Mapnik2, that will become version 0.8 at a later stage. This version has some changes to the stylesheet syntax. You ran into one. To make your stylesheet work, you encapsulate a value you want to fill in from the Datasource, like name, in []. So you now write “TextSymbolizer name=”[name]" … />.
Or, do what we all do to keep compatible with 0.6.1, and switch over to the 0.7 branch. 
See http://lists.berlios.de/pipermail/mapnik-users/2009-December/002645.html