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)

mele 2010-01-31 13:11

Re: Navit on N900
 
Quote:

Originally Posted by 白い熊 (Post 503660)
Is the gui-gtk better in some sense than internal? Or what is the difference when using this GUI?

Actually if you want to use your fingers internal is better.

schnebeck 2010-01-31 18:14

Re: Navit on N900
 
I got the info from our package-master Henning Heinold, that qpainter+internal should be used as 1st choice settings for the N900, as this gets direct svg support and needs no longer svg to png conversion. The N900 should be fast enough. But this is work in progress.

Bye

Thorsten

Trek1701 2010-01-31 19:56

Re: Navit on N900
 
Hi,

I'm trying to compile Navit from svn together with libgamin.
This is what I'm doing, following both Navit's Wiki and schnebeck's instructions:

First libgarmin:
Code:

svn co http://libgarmin.svn.sourceforge.net/svnroot/libgarmin/libgarmin/dev libgarmin
cd libgarmin
./autosh.sh
make && make install

Then getting freetype2 library:
Code:

wget http://mirrors.zerg.biz/nongnu/freetype/freetype-2.3.11.tar.gz
tar -xzf freetype-2.3.11.tar.gz
cd freetype-2.3.11
mkdir install
./configure --disable-shared --prefix=`pwd`/install
make && make install

And then Navit:
Code:

svn co http://navit.svn.sourceforge.net/svnroot/navit/trunk/navit/ navit
cd navit
export SBOX_DEFAULT_AUTOMAKE=1.9
./autogen.sh LIBS=-lfib FREETYPE2_CFLAGS=`../freetype-2.3.11/install/bin/freetype-config --cflags` FREETYPE2_LIBS=`../freetype-2.3.11/install/bin/freetype-config --prefix`/lib/libfreetype.a --disable-samplemap
./configure --prefix=/opt/navit --disable-binding-python --disable-gui-sdl --enable-avoid-float --enable-avoid-unaligned --enable-svg2png-scaling="32,48,64" --enable-svg2png-scaling-flag="32,48,64" --enable-svg2png-scaling-nav="8,16,32,48,64" --disable-samplemap --disable-graphics-sdl --enable-vehicle-maemo --enable-debug
make && make install

The autogen step is giving me errors:
Code:

./autogen.sh LIBS=-lfib FREETYPE2_CFLAGS=`../freetype-2.3.11/install/bin/freetype-config --cflags` FREETYPE2_LIBS=`../freetype-2.3.11/install/bin/freetype-config --prefix`/lib/libfreetype.a --disable-samplemap
libtoolize: `config.guess' exists: use `--force' to overwrite
libtoolize: `config.sub' exists: use `--force' to overwrite
libtoolize: `ltmain.sh' exists: use `--force' to overwrite
/scratchbox/tools/autotools/automake-1.9/share/automake-1.9/am/depend2.am: am__fastdepOBJC does not appear in AM_CONDITIONAL
autoreconf2.50: automake failed with exit status: 1

Looking back to Navit's Wiki it says:
Quote:

You may need to apply the following patch to automake, if autogen.sh fails with the following error:

am__fastdepOBJC does not appear in AM_CONDITIONAL

If you don't want/need the sample map then add --disable-samplemap to the above command.
I've included the "--disable-samplemap", but no effect.

Would someone have an idea of what could be the problem?

Thanks,
Trek1701

schnebeck 2010-01-31 20:25

Re: Navit on N900
 
Try

SBOX_DEFAULT_AUTOMAKE=1.10 ./autogen.sh

Trek1701 2010-01-31 20:51

Re: Navit on N900
 
@schnebeck

Thanks a lot for the tip. I've got it working on Scratchbox.

Changing the env "SBOX_DEFAULT_AUTOMAKE" from 1.9 to 1.10 was not enough. The "Makefile" was still looking for the 1.9 version.

First I had to update to version 1.10:
Code:

fakeroot apt-get install automake
And prior to running "make", I've edited the line 104 of file:
Code:

/scratchbox/users/maemo/home/maemo/navit/Makefile
From: AUTOMAKE = ${SHELL} /home/maemo/navit/missing --run automake-1.9
To:  AUTOMAKE = ${SHELL} /home/maemo/navit/missing --run automake-1.10

And Navit compiled ok.
Now I'll see if I can get libgarmin on it.

Thanks again,
Trek1701

Trek1701 2010-01-31 21:43

Re: Navit on N900
 
Ok, libgarmin worked and Garmin map is showing on Navit.

azz 2010-01-31 22:32

Re: Navit on N900
 
GREAT work....trek1701...glad to hear you got garmin map to work...how's the quality...SCREENSHOT..PLEASE!!!!!....maybe I will whip out my n900 and try Navit...still seem like it's too complicate for people like me atm...:P

fred123 2010-02-01 00:23

Re: Navit on N900
 
i have tried to follow instructions above to install navit.

Quote:

And prior to running "make", I've edited the line 104 of file:
Code:

/scratchbox/users/maemo/home/maemo/navit/Makefile
From: AUTOMAKE = ${SHELL} /home/maemo/navit/missing --run automake-1.9
To: AUTOMAKE = ${SHELL} /home/maemo/navit/missing --run automake-1.10

There is no Makefile in my navit folder only Makefile.am and Makefile.in.

jakiman 2010-02-01 01:41

Re: Navit on N900
 
Once someone has it working very nicely and fully useable, please let us all know in easy steps to follow so we can all enjoy Navit. =)

azz 2010-02-01 01:59

Re: Navit on N900
 
I agree, jakiman....although it is working somewhat right now...the steps to get it running properly seem to be too complicate for the likes of me...I hope it gets "dumb-down" a bit for us newbs...or a step by step guide from the beginning...Everyone is doing a great job so far....


All times are GMT. The time now is 15:25.

vBulletin® Version 3.8.8