Skip to contentSkip to conversation

help2man fails due to configure: error: perl module Locale::gettext required

DISCUSSION Marco Cavallini 1 participant 1 message Mar 10, 2011

lore
Share & tools
lore
#0 lore raw

Hello
I am building Angstrom on a Debian Lenny machine the latest OE main tree but I am facing to the following error.
How can I solve it?
Any hint would be appreciated.
TIA

$ bitbake meta-toolchain

Build Configuration:
BB_VERSION = "1.10.2"
METADATA_BRANCH = "master"
METADATA_REVISION = "40a8506"

TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "ronetix-pm9263"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2010.7-test-20110310"
TARGET_FPU        = "soft"

WARNING: oestats: exception <class 'urllib2.HTTPError'>, value HTTP
Error 404: Not Found
WARNING: oestats: error starting build, disabling stats
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
...
NOTE: Running task 273 of 1027 (ID: 541, /home/koan/devel/openembedded/recipes/gcc/gcc-cross-sdk_4.3.3.bb,
do_setscene)
ERROR: TaskFailed event exception, aborting
ERROR: Build of virtual:native:/home/koan/devel/openembedded/recipes/help2man/help2man_1.38.2.bb do_configure failed
NOTE: package gcc-cross-sdk-4.3.3-r23.4: task do_setscene: Started
NOTE: package gcc-cross-sdk-4.3.3-r23.4: task do_setscene: Succeeded
ERROR: Task 320 (virtual:native:/home/koan/devel/openembedded/recipes/help2man/help2man_1.38.2.bb, do_configure) failed with 256
ERROR: Function do_configure failed
NOTE: Task failed: ('function do_configure failed', '/home/koan/devel/build/angstrom/tmp/work/x86_64-linux/help2man-native-1.38.2-r2/temp/log.do_configure.9893')
ERROR: Logfile of failure stored in:
/home/koan/devel/build/angstrom/tmp/work/x86_64-linux/help2man-native-1.38.2-r2/temp/log.do_configure.9893 Log data follows:
| configure: WARNING: unrecognized options: --enable-largefile,
--enable-ipv6

| checking for perl... perl
| checking for module Locale::gettext... no
| checking for msgfmt... /usr/bin/msgfmt
| checking for x86_64-linux-gcc... gcc
| checking whether the C compiler works... yes
| checking for C compiler default output file name... a.out
| checking for suffix of executables...
| checking whether we are cross compiling... no
| checking for suffix of object files... o
| checking whether we are using the GNU C compiler... yes
| checking whether gcc accepts -g... yes
| checking for gcc option to accept ISO C89... none needed
| checking for library containing dlsym... -ldl
| checking for library containing bindtextdomain... none required
| configure: error: perl module Locale::gettext required
| ERROR: Function do_configure failed

NOTE: package help2man-native-1.38.2-r2: task do_configure: Failed
ERROR: TaskFailed event exception, aborting
NOTE: Running task 274 of 1027 (ID: 539, /home/koan/devel/openembedded/recipes/gcc/gcc-cross-sdk_4.3.3.bb, do_fetch)
ERROR: Build of virtual:native:/home/koan/devel/openembedded/recipes/help2man/help2man_1.38.2.bb do_configure failed
ERROR: Task 320 (virtual:native:/home/koan/devel/openembedded/recipes/help2man/help2man_1.38.2.bb, do_configure) failed with 256
NOTE: package gcc-cross-sdk-4.3.3-r23.4: task do_fetch: Started Waiting for 1 active tasks to finish:
1: gcc-cross-sdk-4.3.3-r23.4 do_fetch (pid 10169)
ERROR:
'virtual:native:/home/koan/devel/openembedded/recipes/help2man/help2man_1.38.2.bb' failed
NOTE: package gcc-cross-sdk-4.3.3-r23.4: task do_fetch: Succeeded ERROR:
'virtual:native:/home/koan/devel/openembedded/recipes/help2man/help2man_1.38.2.bb' failed
ERROR:
'virtual:native:/home/koan/devel/openembedded/recipes/help2man/help2man_1.38.2.bb' failed

Cordiali Saluti / Kindest Regards / mit freundlichen Grüssen --
Marco Cavallini | KOAN sas | Bergamo - Italia