LSF5 chapter 6 coreutils

Joel Miller cheeziologist at mail.isc.rit.edu
Tue May 18 11:55:13 PDT 2004


Sascha König wrote:
> Hello,
> I run into an error, while compiling the coreutils. That's my second try and
> I don't find out, what's wrong.
> The process can't find the POSIX.pm . Here's the output of make
> 
> <--snip
> make[2]: Entering directory `/sources/coreutils-5.2.1/man'
> Updating man page uname.1
> Can't locate POSIX.pm in @INC (@INC
> contains: /tools/lib/perl5/5.8.4/i686-linux /tools/lib/perl5/5.8.4 /tools/lib/perl5/site_perl/5.8.4/i686-linux /tools/lib/perl5/site_perl/5.8.4 /tools/lib/perl5/site_perl .)
> at ./help2man line 28.
> BEGIN failed--compilation aborted at ./help2man line 28.
> make[2]: *** [uname.1] Error 2
> make[2]: Leaving directory `/sources/coreutils-5.2.1/man'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/sources/coreutils-5.2.1'
> make: *** [all] Error 2
> root:/sources/coreutils-5.2.1#
> -->
> 
> Best regards
> Sascha

There is an entry in the FAQ that tells you not to use more updated
package versions than the ones in the book unless you know what you are
doing. Things like this are the reason for that entry in the FAQ. In
order to make this version of coreutils work you need to go back to the
perl install you did in chapter five and change it to
./configure.gnu --prefix=/tools -Dstatic_ext='IO Fcntl POSIX'
You can do that or you can just use the version of coreutils that's in
the book.

-- 
Registered LFS User 6929
Registered Linux User 298182





More information about the lfs-support mailing list