[Clfs-support] Perl 5.12.2 compile error on SVN-20100828-x86_64-Multilib

Andrew Bradford bradfa at gmail.com
Tue Dec 28 08:49:37 PST 2010


On Tue, Dec 28, 2010 at 11:38 AM, dave shar <clfs.user at gmail.com> 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/include at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clfs.org/pipermail/clfs-support-clfs.org/attachments/20101228/22c4277d/attachment-0001.htm>


More information about the Clfs-support mailing list