Opened 20 years ago

Closed 20 years ago

#782 closed defect (worksforme)

coreutils test-suite fails because of mal-installed temp perl

Reported by: the_sithlord@… Owned by: lfs-book@…
Priority: normal Milestone:
Component: Book Version: 5.0
Severity: normal Keywords:
Cc:

Description

hi, i have followed the procedures in the book quite exactly, except using the kernel 2.4.25 tarball (2.4.21 to 2.4.23 won't run on my system). when it came to the chapter 6 coreutils test-suite (the dummy user part), it failed because of a missing lib file from the perl install (File.pm). i fixed it by re-doing the instructions of the chapter 5 perl installation, except instead of doing "make perl utilities" i issued "make" to build the whole package, which includes the missing lib/IO directory that contains File.pm. The manual copy procedure of the files after that was again followed strictly as described in the book. so the only difference was "make" instead of "make perl utilities". i don't use bugzilla regularly, so please write an email if you need to contact me.

greetings, Christian Staudenmayer

Change History (5)

comment:1 by ken@…, 20 years ago

Looks like user error in the static_ext stuff appended to hints/linux.sh.

The instructions in 5.8.1-pre1 have altered, and those definitely work correctly to create /tools/lib/perl5/5.8.3.IO/File.pm

comment:2 by the_sithlord@…, 20 years ago

i was reading the chunked html-tarball download version of version 5.0 of the book, and there the instructions are about perl 5.8.0, for which it didn't work.

if the perl version you mentioned (5.8.1-pre1) handles this correctly, then the book (and the lfs-packages tarball etc.) should also contain at least that version, or am i getting something wrong?

comment:3 by ken@…, 20 years ago

s/5.8.1-pre1/5.1-pre1/

comment:4 by the_sithlord@…, 20 years ago

okay, now this make much more sense. :)

i checked the 5.1-pre1 version and it seems that you have replaced the additional line for the hints/linux.sh with an option to ./configure.gnu, but it still says "make perl utilities". however that's referring to perl version 5.8.3 whereas the lfs-5.0 version refers to perl 5.8.0. i was still wondering how such a quite elemental and simple part of the build process failed for me, since i don't expect any other behavior on the person's machine that was used for writing the book. perhaps by accident File.pm existed already, not due to the temporary perl installation but due to another circumstance? on the other hand, i seem to be the only person having this particular problem. but i really thought i had a fairly standard machine, and i followed the instructions in the book exactly.

perhaps someone eventually will show up what i did wrong or what the difference from other systems to mine might be. :)

greetings, chris

comment:5 by jeremy@…, 20 years ago

Resolution: worksforme
Status: newclosed

My guess is you mistyped the IO re Fcntl part of the perl ch5 instructions. Not uncommon, and we've added some additional verbiage to help clarify that (on some fonts, IO can look a lot like 10).

Note: See TracTickets for help on using tickets.