View Single Post
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#89
Originally Posted by tz1 View Post
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.
I feel your pain, but there is hope. After a few hours of failing to properly incorporate the DIABLO targets into my CHINOOK scratchbox (more about that below), I decided to create a clean environment into /diablo/scratchbox. It's working fine but not perfect. Hello-world compiles out of the box, but the statusbar app didn't appear in the scratchbox statusbar. It does, however, appear in my tablet's statusbar after a package-and-install. I'm hacking away on it as we speak.

As for my hours waisted, the first indication that something was wrong with the use-the-old-scratchbox method was that af-sb-init.sh WASN'T EVEN IN THE DIABLO_ARMEL TARGET! It was in the DIABLO_X86 target. Huh!?...What!?..."I must have done something wrong". Nope. Well, maybe. But after clearing out both DIABLO targets and trying again I got the same result. And yeah, like I don't have my own sh*t to debug. Thus, I have a shiny new 2.6G /diablo/scratchbox.

Anyway, I followed the "strongly advised" method of http://repository.maemo.org/stable/diablo/INSTALL.txt and it didn't work. Fun.

Last edited by daperl; 2008-06-30 at 21:35.