I installed navit (0.5.6-6) on my pinephone pro under manjaro linux. It works, but the position by GPS does not work (so no GPS for navit)... However it works perfectly with gnome-maps...
Does anyone have a solution to this, if so thank you very much in advance, Pierre.
#navit #linux #manjaro
@PierreBucheli which vehicle have you configured? Try the geoclue vehicle if it works with gnome maps.

@jkoan How to do this?

extra geoclue 2.7.1-2 [installed]
extra geoclue1 0.12.99.8-2

@PierreBucheli You need to configure navit's settings in navit.xml see the documentation here: https://navit.readthedocs.io/en/v0.5.6/configuration/index.html#vehicle

The entry should be:
<vehicle name="Geoclue" profilename="car" enabled="yes" source="geoclue://" active="1"/>

4. Configuration — navit documentation

@jkoan

navit.xml:

<vehicle name="Local GPS" profilename="car" enabled="yes" active="1" source="geoclue://">

Here's the error log from navit when I launch it:

error:navit:vehicle_new:invalid source 'geoclue://': unknown type 'geoclue'

@PierreBucheli probably the packager hasn't included the plugin :(

So you would need to compile yourself unfortunately

@jkoan Hello,

I have compiled navit and indeed the GPS localization by geoclue works...

Unfortunately my favorites are no longer visible and the calculation of the route makes navit crash...

Should I install gdb?

@PierreBucheli If you install gdb we would at least see the stacktrace of what's breaking