mod_tile compilation is not working

Hello,

I’ve encoutered some problems compiling mod_tile, with the command “make”.
Indeed, when the compiler is focusing on gen_tile.cpp, the console gives me those errors :

g++ -DHAVE_CONFIG_H -I.  -I/usr/include/freetype2 -pthread -I/usr/include -D_REENTRANT  -I/usr/local/include    -g -O2 -MT gen_tile.o -MD -MP -MF .deps/gen_tile.Tpo -c -o gen_tile.o gen_tile.cpp
In file included from gen_tile.cpp:5:
/usr/local/include/mapnik/filter_factory.hpp:1:2: warning: #warning "filter_factory.hpp" is now called "expression.hpp"
gen_tile.cpp: In function ‘protoCmd render(mapnik::Map&, char*, mapnik::projection&, int, int, int, unsigned int, metaTile&)’:
gen_tile.cpp:445: error: variable ‘mapnik::image_32 buf’ has initializer but incomplete type
gen_tile.cpp:453: error: ‘image_view’ was not declared in this scope
gen_tile.cpp:453: error: expected primary-expression before ‘>’ token
gen_tile.cpp:453: error: ‘vw’ was not declared in this scope
make[2]: *** [gen_tile.o] Error 1
make[2]: Leaving directory `/home/direst/osm/mod_tile'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/direst/osm/mod_tile'
make: *** [all] Error 2

Apparently, the value of “buf” can’t be instantiate and I don’t understand why.
My OS is Debian 6 Squeeze and I’ve installed Mapnik properly, according to the following site :
https://github.com/mapnik/mapnik/wiki/Mapnik2
The libboost version I have is 1.49 and I’ve also the latest ICU version.
In order to install mod_tile, I’ve performed those operations :

cd ~/osm/
svn co http://svn.openstreetmap.org/applications/utils/mod_tile
cd mod_tile
./autogen.sh
./configure
make
sudo make install
sudo make install-mod_tile

But the “make” and “sudo make install” commands are not working, whereas “sudo make install-mod_tile” is working.
If I can’t compile, I will not be able to perform this command : " ./renderd -f"
So if anyone has a solution…
Thanks

It seems to be a problem with compiling against the latest version of Mapnik. See http://help.openstreetmap.org/questions/13689/problem-with-mod_tile-make