On Tue, Apr 30, 2013 at 06:58:12PM +0200, Pierre Labastie wrote: > help2man is in the `man' directory in the coreutils-8.21 tree. > I think it is really used in that case (could be checked > with `make V=1').
Thanks, I'd overlooked that. I've learned something :) Ahmad, please ignore my previous response. man/help2man is a perl script, invoked from man/local.mk : ## Graceful degradation for systems lacking perl. if HAVE_PERL run_help2man = $(PERL) -- $(srcdir)/man/help2man else run_help2man = $(SHELL) $(srcdir)/man/dummy-man endif AFAICS, it runs against the compiled program (expr in this case) passing a flag of --help. The normal output [ GEN man/expr.1 ] hides that, which is why I don't see it in my logs. And because it was run, we know that some of perl is installed - actually, we know there is at least enough perl to get through the glibc build. > The only other possibility I can think of is a problem with the LANG or > LC_ALL variable being set to something different from > C or POSIX, since help2man uses the output of > `<command> --help'. But this should not happen in the chroot environement. > > Pierre > Possible. Looking at all of the *.po files in coreutils' po/ directory, I don't see any languages which look likely - Ahmad appears to be in a locale which uses an arabic script, none of the .po files seem appropriate. Incomplete perl install from chapter 5 ? Ahmad - please check that you have the modules I'm identifying below in /tools/lib/perl5 : man/help2man wants the following : [use 5.005; - we know perl was installed (otherwise the dummy-man script would run instead), so assume the version is 5.16.2 for LFS=7.3. This is not a module.] use strict; /tools/lib/perl5/5.16.2/strict.pm use Getopt::Long; /tools/lib/perl5/5.16.2.Getopt/Long.pm use Text::Tabs qw(expand); /tools/lib/perl5/5.16.2/Text/Tabs.pm use POSIX qw(strftime setlocale LC_ALL); /tools/lib/perl5/5.16.2/Posix.pm use locale; /tools/lib/perl5/5.16.2/locale.pm If all those perl modules are present, then I'll have to believe something in the locale is doing it. Ahmad - if you do have all those modules, what are the values of LC_ALL and LANG ? Either way, I'm still surprised that it gets to 'expr' before it fails - there are about 26 man pages before tht which apparently didn't cause a problem. ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page