Here's how I made it:
wget http://download.geofabrik.de/osm/europe/italy.osm.bz2
bunzip2 italy.osm.bz2
(this might not be needed)- setup mapnik; the instructions for sid worked on my lenny/testing system.
osm2pgsql -c /store/italy.osm
(you should not use -m with gpsdrive)- start gpsdrive and turn on mapnik mode. Originally it did not work for me,
until I deleted
~/.gpsdrive/osm.xml
.
This makes gpsdrive not only more useful, but also completely Free.