Thread: Navit on N900
View Single Post
Posts: 101 | Thanked: 150 times | Joined on Oct 2007 @ Stuttgart, Germany
#662
Originally Posted by gianko View Post
this is sad!



was the issue about build problem on armel in scratchbox?
a qemu issue? png generation tool crashing?
what can we do to solve this? open a new topic for scratchbox help?
I did not even get it build in for x86 in scratchbox !

I tried to build with the debian directory from the latest debian package, which uses cmake, but this contains so much new dh_* stuff, that it is not trivial to make that building with the debian helpers from maemo.

Then I tried to build it with cmake from source without a debian package. This also failed with (when rerunning make)

Code:
[sbox-FREMANTLE_X86: ~/tmp.nobackup/navit/build] > make
Can't locate File/Basename.pm in @INC (@INC contains: /scratchbox/devkits/git/lib/perl5/site_perl /scratchbox/devkits/svn/lib/perl5/site_perl/5.8.4/i686-linux-thread-multi /etc/perl /usr/local/lib/perl/5.8.3 /usr/local/share/perl/5.8.3 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /scratchbox/devkits/git/bin/git-svn line 41.
BEGIN failed--compilation aborted at /scratchbox/devkits/git/bin/git-svn line 41.
-- SVN-version 5278
[  0%] Built target version
[  0%] Built target fib
[  2%] Built target navit_core                                                                                                                              
Linking C executable navit                                                                                                                                  
/lib/librt.so.1: undefined reference to `__fortify_fail@GLIBC_PRIVATE'                                                                                      
collect2: ld returned 1 exit status                                                                                                                         
make[2]: *** [navit/navit] Error 1                                                                                                                          
make[1]: *** [navit/CMakeFiles/navit.dir/all] Error 2                                                                                                       
make: *** [all] Error 2                                                                                                                                     
[sbox-FREMANTLE_X86: ~/tmp.nobackup/navit/build] >
Quite frankly, I think it is a long way to get navit build with cmake in scratchbox *and* get it packaged as *.deb.

The conclusion I draw for me was that I build navit as long as possible, pledge the navit developers to keep autotools for a few more months, and then give up.

I tend to replace my n900 with an Android device in the next months anyways, so for me it is not really worth anymore to go through that transition to cmake....

...if anybody wants to take over and work on the transition, I am happy to help to replicate the (autotools based) build environment I have here.
 

The Following User Says Thank You to rdorsch For This Useful Post: