[maemo-developers] [maemo-developers] Trouble with setup, and with compiling maemopad

From: Eric Smith eric at brouhaha.com
Date: Sun Jul 16 03:53:12 EEST 2006
I'm trying to set up for IT2006 development on a system running
Ubuntu 6.06 (Dapper Drake), following the instructions
on the maemo tutorial page.  I downloaded and installed the
scratchbox 0.9.8.8 packages and the maemo 2.0 release rootstrap.

When I get to the stage of giving the "sbox-config -cc" command (for
the SDK_PC target), I get the error message:


cp: cannont overwrite directory `/usr/include/asm' with non-directory


It was unclear to me how much (if any) of the stuff failed to be
set up properly due to that error, so I tried to proceed.  I can
compile the maemo_hello program in the Quick Start OK (though
some people might have troble because the command in the Quick Start has
overflowed the box on the web page and been truncated).  It might be
nice to put a brief Makefile in the Quick Start, e.g.:


PKGS = gtk+-2.0 hildon-libs
CFLAGS = -ansi -Wall `pkg-config --cflags $(PKGS)`
LOADLIBES = `pkg-config --libs $(PKGS)`

maemo_hello: maemo_hello.o


When I run the program (using Xephyr), it seems to work, though the
button is larger than shown in the screenshot - it seems to take up
the whole application area rather than being inset somewhat.

If I try to open the maemo control panel, I get the error:


GLIB WARNING ** default - Aieeee
The pgoram 'controlpanel' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadGC'.
  (Details: serial 234 error_code 13 request_code 59 minor_code 0)


I grabbed the maemopad sources from subversion and tried to compile
it, and got this error message:


ui/interface.c:29:55: hildon-widgets/hildon-file-chooser-dialog.h: No such
file or directory


Is the maemopad source code in Subversion updated for IT2006?  Am
I looking in the wrong place?

I've got a GTK2 application that I'm hoping to get ported to IT2006
on the Nokia 770.

Thanks!
Eric Smith


More information about the maemo-developers mailing list