On Tue, Dec 28, 2010 at 11:38 AM, dave shar <[email protected]> wrote:

> Hi
>
> The book speaks of Perl 5.12.1 but I wasnt able to find it anywhere and had
> to get Perl-5.12.2 with its patch as mentioned in lfs book.
>
> This is what I got -
>
>
> root:/sources/perl-5.12.2# patch -Np1 -i ../perl-5.12.2-libc-1.patch
>> patching file hints/linux.sh
>> Hunk #2 succeeded at 441 (offset 5 lines).
>> root:/sources/perl-5.12.2# sed -i 's@/usr/include@/tools/incl...@g'
>> ext/Errno/Errno_pm.PL
>> root:/sources/perl-5.12.2# ./configure.gnu --prefix=/tools  -Dcc="gcc
>> ${BUILD32}"
>> sh Configure -ds -e -Dprefix=/tools -Dcc=gcc -m32
>> ***
>> *** I'm sorry, but /dev/null appears to be a file rather than a device.
>> *** Please consult your operating sytem's notes for making a device
>> *** in /dev.
>> *** Cannot continue, aborting.
>>
>>
> How to fix this or where I can find perl- 5.12.1
>
> Best,
>
> Dave
>
>
I assume you're using the current development CLFS book (normal book from
svn 20100828 found here: http://cross-lfs.org/view/svn/ ).  If so, can you
try going to section 7.14 Populating /dev and rerunning the mknod commands?
Also see: http://www.faqs.org/docs/linux_admin/x797.html for info on mknod.
Does that help?  That should create /dev/null as a device.
--Andrew
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org

Reply via email to