maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Navit on N900 (https://talk.maemo.org/showthread.php?t=38800)

sulu 2012-03-29 13:57

Re: Navit on N900
 
There is a non-https version which google translates willingly:
http://translate.google.com/translat...Navit_auf_n900

gianko 2012-03-31 10:29

Re: Navit on N900
 
Quote:

Originally Posted by dragonteeth (Post 1184704)
I'm afraid I'm a bit of a n00b and my learning curve is very steep. I do try to read things before asking for help and I've managed reasonably well so far, but this one's got me. The more I read about the different installations the more confused I'm getting.

If I understand it at all, I need to install the "libgarmin" before I can install the main "Navit" application, and I also need a map package. Is that right?

The problem is that I'm seeing several references of places to go to get the packages and some of them are old ones and some of them don't seem to work at all.

I did find this page...

http://maemo.org/downloads/product/OS2008/navit/

But that doesn't seem to be quite right, (maybe it doesn't have the "lib" package) but I'm not sure how to fix that or even if it is still the correct current version.

I've found this one...

http://maps5.navit-project.org/

For the maps (I think), and at least I have found my home etc.

I can't find the "lib" things (libgarmin?), is there an alternative lib or am I missing something?

Would someone be kind enough to point me to the right things, and give me some tips on getting it working smoothly?

Many thanks

Charles

i got everything working following this page: http://talk.maemo.org/showthread.php?t=38800&page=52

arne.anka 2012-04-11 22:38

Re: Navit on N900
 
did anyone ever get that qml gui working?
i try every few months and it's alwys crashing on my because of some missing symbols.
most recently even the qt painter crashes with a missing symbol, but from the bugtracker that at least should be solved since february.

Hiro P. 2012-04-12 15:57

Re: Navit on N900
 
There is a new build on bokmoko, but the symbol is still missing:

Code:

navit:plugin_load:can't load '/opt/navit/lib/navit/graphics/libgraphics_qt_qpainter.so', Error '/opt/navit/lib/navit/graphics/libgraphics_qt_qpainter.so: undefined symbol: _ZTV14EmbeddedWidget'

dragonteeth 2012-04-12 19:05

Re: Navit on N900
 
With apologies for the delay, I've been away (was hoping to have this sorted before I went but never mind) I tried this this afternoon and didn't have much luck.

Quote:

Originally Posted by magic_doc (Post 1185588)
No problem, then I try to explain step by step:

1. You have to add the repository in the application-manager (wether the original one or Faster Application Manager that I prefer):

Code:

Name: navit
URL: http://www.chollya.org/navit/
Distribution: /
Components:

Then update the package list.

2. Then install the package navit (Version 0.5.0 is the latest one), the libgarmin will be installed too cause it is included in the repos.

I got this far, and got an error that said something was "broken".

Quote:

Originally Posted by magic_doc (Post 1185588)
3. Then you will have to install librsvg2-2 and librsvg2-common too because otherwise there will be no icons in the main menu :mad:

I thought this might be what was causing the "Broken" problem but I couldn't find these files at all.

Quote:

Originally Posted by magic_doc (Post 1185588)
4. Now you have to copy the configuration template to your home. Open the xterm and do this:

Code:

cd /home/user
mkdir .navit
cp /etc/navit/navit.xml /home/user/.navit/navit.xml

You will find my configuration files as an example here.

Of cause you will need a map a place it where you have specified it in the config.

I hope this will help you and feel free to ask for further information.

CU Michael


I didn't get to the "Configuration Files, but the link to the "example" led to a directory of XML files and I don't know how to view those.

Your help is hugely appreciated, I'm sorry I'm not getting the hang of it.

C

arne.anka 2012-04-12 20:23

Re: Navit on N900
 
1 Attachment(s)
the chollya repo seems to be dead for some time now - latest packages are from july 2011.
the only one still being updated i know of, is bokomoko (search the forum for instructions on how to install the repo):
http://bokomoko.de/~rd/maemo unstable/

i attach my configurations, unzip those three files into folder /home/user/.navit/
these three files are:
- navit.xml -- general navit configuration (and references the next two files)
- OSD.xml -- on screen display configuration
- maps.xml -- maps files location

you may want to change two settings:
- in navit.xml in line 9 the language attribute from en_DE to en_UK, so that navit has an english interface (en) and UK as default country (UK)
- in maps.xml the path and name of the maps file: /media/mmc1/europe.navit.bin

anything else should work -- updated navit.xml yesterday to the latest navit from bokomoko.

magic_doc 2012-04-14 08:40

Re: Navit on N900
 
Quote:

Originally Posted by arne.anka (Post 1191341)
the chollya repo seems to be dead for some time now - latest packages are from july 2011.
the only one still being updated i know of, is bokomoko (search the forum for instructions on how to install the repo):
http://bokomoko.de/~rd/maemo unstable/

At least, the packages are working. Last time (8th of March) I tried the bokomoko-packages, navit did not start at all!

Quote:

Originally Posted by arne.anka (Post 1191341)
i attach my configurations, unzip those three files into folder /home/user.navit/

There is an typo: the folder is /home/user/.navit/

But thanks for attaching your configs, I will test it again with the latest packages from bokomoko.de and report back here.

Tnx & HANW

Michael

magic_doc 2012-04-16 13:07

Re: Navit on N900
 
Quote:

Originally Posted by dragonteeth (Post 1191315)
I didn't get to the "Configuration Files, but the link to the "example" led to a directory of XML files and I don't know how to view those.

Your help is hugely appreciated, I'm sorry I'm not getting the hang of it.
C

OK folks, I now successfully switched to the bokomoko.de-packages as described by arne.anka and using his config-files.
Thanks again for that- the trick is that you must always use latest navit.xml-configfiles as they may be incompatible from older versions causing the hang of the hole application at start.

I am still using the internal gui with gtk-drawing-area, the qml-gui does not work with it and qt-painter seems to be incompatible to the qt-Version of CSSU.
Does anyone has it running though?

@dragonteeth: the configs of navit are always xml-Files, just use a text-editor to view or change it.

CU Michael

dragonteeth 2012-04-16 14:49

Re: Navit on N900
 
arne.anka

and

magic_doc

Thanks for your help and patience.

OK so I added the Navit repository and installed the package, so far so good. It shows on my list of applications, but obviously doesn't actually DO anything.

I unzipped the Config Packages on my PC and made the changes you suggested (thanks again arne.anka). I thought it would be relatively simple to then push the files to the N900 in "Mass Storage Mode" but it doesn't seem to be.

I can't find a file named "home" "user" or "navit".

Have I missed something?

In one of the things there was an additional code that had to be entered to the N900 using the X-Term, is that an old reference or should I be doing that?

gianko 2012-04-18 17:18

Re: Navit on N900
 
you r nearly done.
if u already put the 3 xml files in your N900, probably you have it in the folder /home/user/MyDocs (you have to check, from xterm type: cd /home/user/MyDocs and send. then type ls and send, to have a list of files in that folder.)

anyway, when u know where the 3 xml files are, to move the files in the right navit folder, open xterminal and type the command to enter that folder, for example: cd /home/user/MyDocs

to move navit.xml in the right path, type: mv navit.xml /home/user/.navit

same for OSD.xml and maps.xml

ps: if u dont have the folder /home/user/.navit , u have to create it with command: mkdir /home/user/.navit

good luck

magic_doc 2012-04-18 18:15

Re: Navit on N900
 
Quote:

Originally Posted by dragonteeth (Post 1192808)
arne.anka

and

magic_doc

[...]

I can't find a file named "home" "user" or "navit".

No problem, you're very welcome!

Thanks to gianko for helping- two remarks from my side:

1. Directories with a point in front like "/home/user/.navit" are so called hidden directories, you won't see them in some gui-based filemanagers unless you disable the hide-function. In the build-in you have basically only access to MyDocs if I remember correctly. So the solution is to mv the files like described out of xterm.

2. When you are in xterm anyway, you can type "navit" afterwords and see what happens. It is always a good trick to do so with any program that makes trouble because there are helpful outputs in xterm like "error-cannot find blabla... " etc. that you don't see when launching it from an icon.

HTH and good luck! Please feel free to report back!

CU Michael

rdorsch 2012-04-18 20:55

Re: Navit on N900
 
Quote:

Originally Posted by Hiro P. (Post 1191242)
There is a new build on bokmoko, but the symbol is still missing:

Code:

navit:plugin_load:can't load '/opt/navit/lib/navit/graphics/libgraphics_qt_qpainter.so', Error '/opt/navit/lib/navit/graphics/libgraphics_qt_qpainter.so: undefined symbol: _ZTV14EmbeddedWidget'

I built navit against qt4 in the fremantle sdk

[sbox-FREMANTLE_ARMEL: ~] > apt-cache policy libqt4-gui
libqt4-gui:
Installed: 4.7.0~git20100909-0maemo1+0m5
Candidate: 4.7.0~git20100909-0maemo1+0m5
Version table:
*** 4.7.0~git20100909-0maemo1+0m5 0
500 http://repository.maemo.org fremantle/sdk/free Packages
100 /var/lib/dpkg/status
4.6.2~git20100401-0maemo1+0m5 0
500 http://repository.maemo.org fremantle/sdk/free Packages
4.6.2~git20100310-0maemo1+0m5 0
500 http://repository.maemo.org fremantle/sdk/free Packages
4.5.3~git20090723-0maemo6+0m5 0
500 http://repository.maemo.org fremantle/sdk/free Packages
4.5.3~git20090723-0maemo4+0m5 0
500 http://repository.maemo.org fremantle/sdk/free Packages
[sbox-FREMANTLE_ARMEL: ~] >

I upgrade to the qt4 version in CSSU for the next build.

I myself use the internal GUI right now.

Rainer

arne.anka 2012-04-18 21:25

Re: Navit on N900
 
Quote:

Originally Posted by magic_doc (Post 1192768)
Thanks again for that- the trick is that you must always use latest navit.xml-configfiles as they may be incompatible from older versions causing the hang of the hole application at start.

i always download both the new navit.xml and my customized one to my local computer and comapre them with a GUI diff (like meld or kdiff3) -- that way i

- see how much changes are there
- see which changes i need to adopt (eg maps configuration remains always in maps.xml, locale attribute is usually missing, ...)
- can easily copy changes over and may even change them if necessary

afterwards i simply move the new navit.xml back to /home/user/.navit/

magic_doc 2012-04-19 13:18

Re: Navit on N900
 
Quote:

Originally Posted by rdorsch (Post 1194035)
I upgrade to the qt4 version in CSSU for the next build.

I myself use the internal GUI right now.

Rainer

I'm looking forward to test this and would be thankful for a short announce here in the thread.
Out of curiosity: Is the qt-painter/qml so much smoother/faster than internal? Never seen it working...

Tnx & Bye

CU Michael

rdorsch 2012-04-27 21:58

Re: Navit on N900
 
I will post here when I updated qt to cssu. The build I just uploaded still comes with the old qt4 variant.

I try to build once a month, typically end of a month or beginning of the next month.

arne.anka 2012-04-30 18:56

Re: Navit on N900
 
ceterum censeo:
could you possibly share how you build? i try to setup QtSDk/MADDE so it builds navit for maemo (and packs) but it's a rather frustrating experience ...

rdorsch 2012-05-22 21:25

Re: Navit on N900
 
Quote:

Originally Posted by arne.anka (Post 1199635)
ceterum censeo:
could you possibly share how you build? i try to setup QtSDk/MADDE so it builds navit for maemo (and packs) but it's a rather frustrating experience ...

From memory (I try to provide something more detailed at the weekend, but cannot promise that I manage to write it down):

You should be able to download the sources including the debian dir from bokomoko.de (just use deb-src in sources.list). This should build out of the box on the x86 target. On the armel target, one package does not build, because a binary fails on qemu. This is a know problem in the armel build setup inside scratchbox (and also the reason, why navit is not in the extra repository). Fortunately, it is the navit_data package which is architecture independent and I can simply take the package from the x86 build. Also make sure that you have freetype from CSSU or my libfreetype-navit package.

Hope that helps somewhat,
Rainer

arne.anka 2012-05-24 23:04

Re: Navit on N900
 
nja, not really ;-)
i was aiming at a lower level: i never really managed to get scratchbox up and running so it would build navit.

any pointers to how it is done, would be highly appreciated

rdorsch 2012-06-12 22:03

Re: Navit on N900
 
The wiki contains detailed documentation on setting up scratchbox. If you do not run Ubuntu or Debian, I would setup a VirtualBox image with Ubuntu or Debian:

http://wiki.maemo.org/Documentation/...K_Installation

arne.anka 2012-06-13 17:52

Re: Navit on N900
 
been there, done that, didn't work.

but now that MoNav supports street names, i am ready to switch.
takes some time to prepare a map, but
- routing is much faster
- much better
- interface is much easier to handle (most notably looking up street names when there's more than one street with the same name)

magic_doc 2012-06-14 07:37

Re: Navit on N900
 
Quote:

Originally Posted by arne.anka (Post 1221442)
been there, done that, didn't work.

but now that MoNav supports street names, i am ready to switch.
takes some time to prepare a map, but
- routing is much faster
- much better
- interface is much easier to handle (most notably looking up street names when there's more than one street with the same name)

Well the biggest disadvantage I see when I look at http://monav.openstreetmap.de/ that the maps are all from 2011-04-20.
Using navit I can have a actual offline map every day when I like to.
Is there any possibility to get newer maps?

CU Michael

don_falcone 2012-06-14 07:53

Re: Navit on N900
 
It seems you'll have to build your own.

rdorsch 2012-06-15 22:45

Re: Navit on N900
 
Quote:

Originally Posted by rdorsch (Post 1194035)
[...]
I upgrade to the qt4 version in CSSU for the next build.
[...]
Rainer

I am facing trouble when I try to upgrade my scratchbox to CSSU:

Selecting previously deselected package gcc-4.6-base.
dpkg: regarding .../gcc-4.6-base_4.6.1-maemo6_armel.deb containing gcc-4.6-base:
package uses Breaks; not supported in this dpkg
dpkg: error processing /var/cache/apt/archives/gcc-4.6-base_4.6.1-maemo6_armel.deb (--unpack):
unsupported dependency problem - not installing gcc-4.6-base

bocephus 2012-06-16 16:07

Re: Navit on N900
 
I have pulled down the latest bokomoko Navit release plus librsvg2-common which I didn't previously have installed, and downloaded arne.ankas configuration files from post #566, and I've gotten everything to work except actually displaying maps!

<!-- You can only have enabled only one mapset at time, but with as much maps enabled as you want -->

Well, in navit.xml, all mapsets are disabled except Mapset template for userdefined maps on n900 - i.e. maps.xml. So that's correct, right? And I want to be able to display Garmin maps, so in maps.xml I have put

<map type="garmin" enabled="yes" data="/path to my img"/>

and I have even set the Navit center coordinates in navit.xml to be in the middle of the map I'm trying to display. Still, I get nothing! What could be wrong...?

MartinK 2012-06-16 16:28

Re: Navit on N900
 
Quote:

Originally Posted by arne.anka (Post 1221442)
but now that MoNav supports street names, i am ready to switch.

BTW, do you have any info about the current state of the Monav project ? From their site on Google Code it looks like the last commit was in December 2011 and there seems to be no new activity since then...

rdorsch 2012-06-16 21:26

Re: Navit on N900
 
I have a working scratchbox again, the problem was that the extras repository and cssu are incompatible. There are no cssu packages for x86, if that does not break the build process, you should soon see a navit version linked against libqt from CSSU.

rdorsch 2012-06-16 21:37

Re: Navit on N900
 
Quote:

Originally Posted by bocephus (Post 1222828)
I have pulled down the latest bokomoko Navit release plus librsvg2-common which I didn't previously have installed, and downloaded arne.ankas configuration files from post #566, and I've gotten everything to work except actually displaying maps!

That is weired, I have no librsvg2-common installed

~ $ apt-cache policy librsvg2-common
librsvg2-common:
Installed: (none)
Candidate: 2.26.0-1maemo1
Version table:
2.26.0-1maemo1 0
500 http://repository.maemo.org fremantle/free Packages
2.26.0-1maemo0 0
500 http://repository.maemo.org fremantle/free Packages
500 http://repository.maemo.org fremantle/free Packages
~ $

and have no issue running navit (with the internal gui). For which gui did you configure navit?

rdorsch 2012-06-17 07:48

Re: Navit on N900
 
I uploaded yesterday 5147 to bokomoko.de. It is built against libqt in CSSU. Can somebody please check, if that fixes the qml issues described in #564 ?

bocephus 2012-06-17 14:29

Re: Navit on N900
 
Quote:

Originally Posted by rdorsch (Post 1222969)
That is weired, I have no librsvg2-common installed

and have no issue running navit (with the internal gui). For which gui did you configure navit?

I'm using the internal gui. librsvg2-2 and librsvg2-common are needed for icon display in main window. I didn't have the latter installed at first, and consequently had no way to navigate within the program.

Hiro P. 2012-06-17 18:15

Re: Navit on N900
 
Quote:

Originally Posted by rdorsch (Post 1223063)
I uploaded yesterday 5147 to bokomoko.de. It is built against libqt in CSSU. Can somebody please check, if that fixes the qml issues described in #564 ?

Thanks for the new build, but unfortunately no luck:
Code:

navit:plugin_load:can't load '/opt/navit/lib/navit/graphics/libgraphics_qt_qpainter.so', Error '/opt/navit/lib/navit/graphics/libgraphics_qt_qpainter.so: undefined symbol: _ZTV14EmbeddedWidget'

Hiro P. 2012-06-17 18:46

Re: Navit on N900
 
seems to be a navit bug, that they do not care to fix:http://trac.navit-project.org/ticket/961

rdorsch 2012-06-19 19:34

Re: Navit on N900
 
I try to include the fix into the next built.

rdorsch 2012-06-19 19:38

Re: Navit on N900
 
Quote:

Originally Posted by bocephus (Post 1223221)
I'm using the internal gui. librsvg2-2 and librsvg2-common are needed for icon display in main window. I didn't have the latter installed at first, and consequently had no way to navigate within the program.

Hmm...still do not understand, why I do not need librsvg2-*

~ $ dpkg --get-selections|grep librsvg2

Can you post your navit.xml file?

gianko 2012-06-23 13:42

Re: Navit on N900
 
thanks for the new version!

it seems they r improving navit, more pois icons are visible now!

they should put more in the future, like bike_sharing, car_sharing, bicycle_parking, pubs and so on...

even in "show attributes" of the poi you can see only a little part of the osm tags...for example is not shown if a fuel station have lpg or not...i will ask on their irc channel...

TDSii 2012-07-08 19:12

Re: Navit on N900
 
where i can find the latest version of navit for n900?
i have 0.2 but it doesnt seem to support right to left languages

magic_doc 2012-07-09 12:48

Re: Navit on N900
 
Quote:

Originally Posted by TDSii (Post 1234007)
where i can find the latest version of navit for n900?
i have 0.2 but it doesnt seem to support right to left languages

Add this repository:

Code:

URL http://bokomoko.de/~rd/maemo/
Distribution unstable/
Components (leave empty)

The latest version is 0.5.0 and usually rdorsch makes a new build every month.
But I do not know if it supports right to left languages you'll have to find out for your own.

CU Michael

rdorsch 2012-07-15 17:27

Re: Navit on N900
 
I updated the package today. I just realized, that via routing is now supported by navit (actually it was apparently already in the last version I packaged). For details for via routing, see

http://trac.navit-project.org/ticket/46#comment:10

gianko 2012-07-20 15:29

Re: Navit on N900
 
Quote:

Originally Posted by rdorsch (Post 1237849)
I updated the package today. I just realized, that via routing is now supported by navit (actually it was apparently already in the last version I packaged). For details for via routing, see

http://trac.navit-project.org/ticket/46#comment:10

thanks, i will try.

ps: what about qt-qpainter? working now? i removed the packages time ago...but ready to install again if is fixed

Hiro P. 2012-07-20 19:17

Re: Navit on N900
 
Quote:

Originally Posted by gianko (Post 1240339)
ps: what about qt-qpainter? working now? i removed the packages time ago...but ready to install again if is fixed

No, there is still the missing symbol error.

sup 2012-08-07 16:31

Re: Navit on N900
 
Quote:

Originally Posted by Hiro P. (Post 1240438)
No, there is still the missing symbol error.

So do I understand it correctly that the only working gui right now is gtk one? Set up as per #566 ?


All times are GMT. The time now is 14:46.

vBulletin® Version 3.8.8