[maemo-developers] extras-build diablo failed to compile Xournal

From: Tim Teulings rael at edge.ping.de
Date: Thu Jul 3 14:23:17 EEST 2008
Hello!

> But when it tries to actually build the package I get this errors:
> 
> main.c:7:21: gtk/gtk.h: No such file or directory
> main.c:8:43: libgnomecanvas/libgnomecanvas.h: No such file or directory
> main.c:10:21: libosso.h: No such file or directory
> main.c:14:32: hildon/hildon-note.h: No such file or directory

You need to add additional build-depends for your packages for
libgtk2.0-dev
and likely other packages (note, that the package configure script
does not check for the availability of gtk, otherwiese the problem
would have been more obvious). You can see fromt he root log that the
packgaes
is not yet installed (only the packages containing the libraries but not
the package containing the development files).
 
> (and of course a bunch of other caused by these).
> 
> How can it not even find libosso.h, for example ?

Find the packages containing libosso.h with dpkg -S (use full path),
and add this packgae to your build-depends, too.
 
> Of course it compiles just fine in my scratchbox environment.

The autobuilder installs only the packages you ecplicitely name as
build-depends. Your envrionment has all packages available from the start.
 
> Am I doing something wrong or not doing something I should, instead, do ?

You are missing build-depends!

-- 
Gruß...
    Tim


More information about the maemo-developers mailing list