View Single Post
tz1's Avatar
Posts: 716 | Thanked: 236 times | Joined on Dec 2007
#46
I still have to spend hours to just get the examples to just rebuild using "dpkg buildpackage" on Chinook (for the ARM target).

Would it be too much to ask to take a clean install of Ubuntu, Redhat, Suse, or whatever, and follow the instructions EXACTLY (or better yet, do a script) with all the apt-get update/upgrade whatevers and make sure all the hello-world applications will build from the .tgz files by just going into the directory and typing dpkg-buildpackage.

For the statusbar: http://maemo.org/development/documen...for_maemo.html, I can't find a single app that will build properly (and worse, the hello-world-(statusbar/home/taskman) seems to want to delete libtool, then complains it can't find it). config.sub and config.guess are there, but I have to delete the symlinks and manually copy the files.

Nokia might complain about lack of interest, but I don't have weeks to devote to figuring out how to set up the build environment - which with the build system - autogen, automake, config*, then with the includes and libs for osso, hildon, dbus, gtk and all the other stuff is dependent on so many things EVERY ONE OF WHICH MUST BE CORRECT. And it never seems to be correct "out of the box". There is some hidden step, command, process, whatever. Some library or archive that needs a -dev which isn't obvious and requires a lot of searching, just to get to the next missing piece.

I don't have this problem with Ubuntu, or Fedora or most other distributions. There is usually a package manager with search that will show that an XYZ-dev exists.

If in order to build target binaries with osso, hildon, etc, I need to do apt-get install on a lot of files, or add archives, or whatever, please document it.

There isn't an official "on system" build, but I might go to that (I had to for my Zaurus).

Most here probably already have everything all set up correctly so it just works for you. But I can't read your mind, nor do I have your /scratchbox directory with everything perfectly configured. I can only follow instructions.

So PLEASE PLEASE PLEASE write up a HOWTO to set up the build environment for Diablo when it comes out. And I don't mind patching or hacking the hello world programs or doing post install updates or anything else as long as I know what is required and that at the end I can just download the tarball, unpack it, and type dpkg buildpackage and have it just work for all the examples at http://maemo.org/development/documentation/how-tos/4-x/ that link to tarballs? Even if there is a 4.1 howto full of patches it would make things so much easier.