[maemo-developers] Autobuilder for maemo extras repository
From: Ed Bartosh eduard.bartosh at nokia.comDate: Thu Jun 5 19:26:14 EEST 2008
- Previous message: Autobuilder for maemo extras repository
- Next message: Autobuilder for maemo extras repository
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 2008-06-05 at 17:34 +0200, ext Fred wrote: > Hi, > > I'm trying to use the autobuilder : > > I managed to have gnokii OK > but then when I try with an hildon app, configure doesn't find the modules : > > my configure.ac is like this : > # Hildon library dependsncies > PKG_CHECK_MODULES(HILDON, hildon-1 hildon-fm-2 hildon-help conbtdialogs,\ > AC_DEFINE(HILDON, 1, [Version of hildon libraries]), \ > [AC_DEFINE(HILDON, 0, [Version of hildon libraries]) \ > PKG_CHECK_MODULES(HILDON, hildon-libs >= 0.9.50 > hildon-fm libossohelp)]) > > And I get this report > > checking for HILDON... no > checking for HILDON... configure: error: Package requirements > (hildon-libs >= 0.9.50 hildon-fm libossohelp) were not met: > > No package 'hildon-libs' found > No package 'hildon-fm' found > No package 'libossohelp' found > > What am I doing wrong ? > Wow! Congratulations! You're the first person who is asking about autobuilder here. The rest of community seems not interested in it (no idea why). A bit of explanations why this happened: When autobuilder starts the build it uses so called minimal rootstrap with the minimal list of packages like gcc, libc and similar. The rest of packages required for the build should be mentioned in package's control/Build-Depends* field[s]. So, your package should build-depend on -dev packages, which provide libraries/includes to be able to use them. Only in this case they will be brought to the system and can be used in the build. In your case you can identify missing build-dependencies by looking at .pc files with the same names as modules mentioned in your configure output. Something like this: [sbox-chinook-armel: ~] > dpkg -S hildon-1.pc hildon-fm-2.pc hildon-help.pc libhildon1-dev: /usr/lib/pkgconfig/hildon-1.pc libhildonfm2-dev: /usr/lib/pkgconfig/hildon-fm-2.pc libhildonhelp-dev: /usr/lib/pkgconfig/hildon-help.pc So, you should add libhildon1-dev, libhildonfm2-dev and libhildonhelp-dev to your package's Build-depends: and try again :) Thank you for using autobuilder. Don't hesitate to ask more questions if any. BR, -- Ed
- Previous message: Autobuilder for maemo extras repository
- Next message: Autobuilder for maemo extras repository
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]