[ gpsdrive ] Ubuntu svn dependencies

stan stan.distortion at gmail.com
Mon Aug 11 13:24:50 AKDT 2008


Ok, followed this:
http://kevb.net/lurker/message/20080604.232600.8d971519.ja.html
which got me sorted out with mapnik and the icons.
Then got this:
Error: Could not find provider PostgreSQL in the current setup
Which was a missing libgda package. No idea which one, bad habit of throwing 
packages at a problem.
Now getting this:
Read 577 POI-Types from geoinfo.db
 got exception ...
terminate called after throwing an instance of 'std::ios_base::failure'
  what():  failed opening file: Bad file descriptor
Aborted

and I'm stumped :( The gpsdrive-update-mapnik-poitypes.pl script threw up a 
couple of errors, line 94 was pointing to the wrong location:
 my $db_file = '/usr/share/gpsdrive/geoinfo.db';
should have been:
 my $db_file = '/usr/local/share/gpsdrive/geoinfo.db';
And line 123 was giving up with:
stan at virus:~/src/svn/gpsdrive-trunk/scripts$ ./gpsdrive-update-mapnik-
poitypes.pl 
DBD::Pg::st execute failed: ERROR:  column "poi" of relation 
"planet_osm_point" already exists at ./gpsdrive-update-mapnik-poitypes.pl line 
123.                                                                              
DBD::Pg::st execute failed: ERROR:  column "poi" of relation 
"planet_osm_point" already exists at ./gpsdrive-update-mapnik-poitypes.pl line 
123. 
I commented out that section to get past it and it ran through the db. I've 
messed things up somewhere, any ideas?
cheers



More information about the GPSdrive mailing list