Thread: Navit on N900
View Single Post
tanago's Avatar
Posts: 215 | Thanked: 448 times | Joined on Aug 2012 @ Burgas, Bulgaria
#726
Originally Posted by Mentalist Traceur View Post
Question (don't have time to read the thread history to find answers, if they exist, sorry): Why cmake and not autotools? And does using cmake to do it make it any less doable for you or whoever follows in your footsteps to package the .deb into the repos using autobuilder (as opposed to manual package upload)?
I will answer your question
1. For a long time, building with cmake produced many errors, thats why it was preferred to build with autotools
2. It still produces many errors mainly because cmake is searching for headers in different directories. Today I managed to fix all those paths except one, described at the beggining of this page.
3. dpkg-buildpackage scripts inside 'debian' folder use autotools and compiles the source code with it. Today I workaround-ed that with the following commands
Code:
cmake /path/to/sources
make
dpkg-buildpackage -b -nc
i had to specify -nc because dpkg will 'make clean' and will compile with autotools again. So anybody who is expert at making "debian" dirs is welcomed to help us switch to cmake entirely
 

The Following 3 Users Say Thank You to tanago For This Useful Post: