[OSM-dev] How to compile osm2pgsql without persistent node cache?
Kai Krueger
kakrueger at gmail.com
Sun Sep 2 17:09:11 BST 2012
Hi,
on what platform are you trying to compile osm2pgsl?
Some systems that don't have lseek64 seem to use a 64bit off_t pointer
anyway. So the normal lseek is fine for large files. I have added a
compile check for this condition a couple of days ago [1].
If your system doesn't support large files at all, then one would indeed
have to disable the compilation of the persistent node cache. This
currently isn't possible, but shouldn't be difficult to add.
Kai
[1]
https://github.com/openstreetmap/osm2pgsql/commit/74873cfed07ab3fd8d21cf266ba7075ec9bc6a1e
On 9/2/12 3:03 AM, Steven te Brinke wrote:
> Hi,
>
> Since I do not have lseek64 on the system that runs osm2pgsql, I cannot compile the latest version
> that uses a flat file persistent node cache. However, I do not care about the persistent node cache,
> since I'm only importing extracts and it's not well suited for that. So can anyone tell me how I can
> compile osm2pgsql without the flat node cache?
>
> Cheers,
> Steven
>
>
More information about the dev
mailing list