[OSM-dev-fr] osm2psql, problème de fichier.

Vincent Pottier vpottier at gmail.com
Jeu 21 Mar 15:42:21 UTC 2013


Le 21/03/2013 14:39, Eric Marsden a écrit :
>    vp> *[pid 25569] open("/home/vincent/tmp/france-latest.osm.pbf", O_RDONLY) = -1 EOVERFLOW (Value too
>    vp> large for defined data type)*
>    vp> [pid 25569] write(2, "Unable to open /home/vincent/tmp"..., 55Unable to open
>    vp> /home/vincent/tmp/france-latest.osm.pbf
>
>    C'est que le fichier est trop grand pour l'application (probablement
>    machine 32 bits et osm2pgsql compilé sans l'option
>    -D_FILE_OFFSET_BITS=64).
>
Probable !
Et ça se met où, l'option ?
Je ne suis pas champion de la compilation de programmes.
Et [1] ne donne pas beaucoup d'indications...
Il y a bien la ligne :

sed  -i  's/-g -O2/-O2 -march=native -fomit-frame-pointer/'  Makefile




[1] http://wiki.openstreetmap.org/wiki/Osm2pgsql#From_source_.28generic.29
--
Vincent



Plus d'informations sur la liste de diffusion dev-fr