[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cross compiling coreutils and manpages
From: |
Bernhard Voelker |
Subject: |
Re: Cross compiling coreutils and manpages |
Date: |
Fri, 07 Nov 2014 16:29:38 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
On 11/07/2014 01:07 PM, Christer Solskogen wrote:
Thanks, but mine still fails :/
name=`echo man/chroot.1 | sed 's|.*/||; s|\.1$||'` || exit 1; \
case $name in \
install) prog='ginstall'; argv=$name;; \
test) prog='['; argv='[';; \
*) prog=$name; argv=$prog;; \
esac; \
rm -f man/chroot.1 man/chroot.1-t \
&& t=man/chroot.td \
&& rm -rf $t \
&& /home/solskogen/obj/tools/bin/mkdir -p $t \
&& (cd $t && ln -s
'/home/solskogen/obj/work/coreutils-8.23.ventrix/src/'$prog $argv) \
&& perl -- /home/solskogen/src/source/coreutils-8.23/man/help2man
\
--source='GNU coreutils 8.23' \
--include=/home/solskogen/src/source/coreutils-8.23/man/$name.x \
--output=$t/$name.1 $t/$argv \
--info-page='coreutils \(aq'$name' invocation\(aq' \
&& sed \
-e 's|man/chroot\.td/||g' \
-e '/For complete documentation/d' \
$t/$name.1 > man/chroot.1-t \
&& rm -rf $t \
&& chmod a-w man/chroot.1-t \
&& mv man/chroot.1-t man/chroot.1
help2man: can't get `--help' info from man/chroot.td/chroot
Is this only failing for chroot.1, or for others, too?
I assume your cross build target platform does not support
chroot(2), and therefore the chroot executable is not built.
Did you "./configure" with "--enable-no-install-program=chroot"?
I'll have to look into the dependency details.
Thanks & have a nice day,
Berny