how to express dependency to external perl module in package (gpsdrive)

Gernot Hillier gernot at hillier.de
Thu Dec 27 09:14:25 CET 2007


Hi!

Gernot Hillier schrieb:
> However, it seems that 2.10pre4 depends on the perl module HTTP::Request
> from the libwww-perl package. I tried to build an ipk package with the
> following recipes:
> 
> --- openembedded/packages/perl/libwww-perl_5.808.bb ---
> DESCRIPTION = "libwww-perl provides a simple and consistent API to the
> World Wide Web"
> SECTION = "libs"
> LICENSE = "Artistic"
> PR = "r1"
> 
> SRC_URI =
> "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww-perl-${PV}.tar.gz"
> S = "${WORKDIR}/libwww-perl-${PV}"
> 
> inherit cpan
> --- EOF ---
[...]

Sorry for self follow-up, but I found the reason: the HTTP::Request
module depends on liburi-perl, therefore the configure test failed. I
simply had to add the following lines to the libwww-perl recipe:

DEPENDS = "liburi-perl-native"
RDEPENDS = "liburi-perl"

--
Gernot



More information about the distro-devel mailing list