[OSRM-talk] File is incompatible with this version of OSRM (v5.28.0)
Paul
paul at metaclarity.com
Sun Nov 26 16:43:51 UTC 2023
Hi and thanks again for your help with this and the useful info for future reference.
As you mentioned the 'sudo apt-get remove osrm' didn't do anything.
In the end I deleted the osrm-backed directory and enclosed files and reinstalled again after checking for the v5.27.1 tag from the git repo.
There were no errors reported on installation and so far all seems to be working as expected.
I did try docker on a development setup sometime back and it seemed to work well. But I never managed to process the .pbf files with docker due to memory constraints so had to fall back to a source install for this. I may re-visit the docker option at some point for the portability advantages.
Cheers
Paul
> On 26 Nov 2023, at 09:36, Nils Nolde <nils at gis-ops.com> wrote:
>
> I wrote this yesterday, but it exceeded the mailing list's max size, so here is the scrubbed version:)
>
> Since you installed from source, apt-get has no idea of OSRM. I'm not even sure what it'd really do in this case, likely nothing.
>
> It should generally be fine to simply install over the current installation with https://github.com/Project-OSRM/osrm-backend/wiki/Building-OSRM#building (after installing all dependencies), I do that all the time with other projects, but it's probably not "best practice" if you don't know the project too well. I just had a quick look: OSRM has an uninstall target, you can try "(sudo) make -C build uninstall" (if you did follow those instructions). By default everything should be installed to /usr/local/<include/lib/share/etc>, I'd have a look if everything was really removed. Those convenience (likely untested) targets tend to get stale after some while.
>
> In case you're more familiar with Docker and it's fine by your IT, I'd go that route. Makes you independent of the host OS.
> _______________________________________________
> OSRM-talk mailing list
> OSRM-talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20231126/36c8fcdc/attachment.htm>
More information about the OSRM-talk
mailing list