On Tue, Dec 28, 2010 at 11:38 AM, dave shar <span dir="ltr"><<a href="mailto:clfs.user@gmail.com">clfs.user@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi<br><br>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. <br><br>This is what I got -<br><br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">

root:/sources/perl-5.12.2# patch -Np1 -i ../perl-5.12.2-libc-1.patch<br>patching file hints/linux.sh<br>Hunk #2 succeeded at 441 (offset 5 lines).<br>root:/sources/perl-5.12.2# sed -i 's@/usr/include@/tools/include@g' ext/Errno/Errno_pm.PL<br>

root:/sources/perl-5.12.2# ./configure.gnu --prefix=/tools  -Dcc="gcc ${BUILD32}"<br>sh Configure -ds -e -Dprefix=/tools -Dcc=gcc -m32<br>***<br>*** I'm sorry, but /dev/null appears to be a file rather than a device.<br>

*** Please consult your operating sytem's notes for making a device<br>*** in /dev.<br>*** Cannot continue, aborting.<br><br></blockquote><div><br>How to fix this or where I can find perl- 5.12.1 <br><br>Best,<br><br>

Dave<br></div><br></blockquote><div> </div><div>I assume you're using the current development CLFS book (normal book from svn 20100828 found here: <a href="http://cross-lfs.org/view/svn/">http://cross-lfs.org/view/svn/</a> ).  If so, can you try going to section 7.14 Populating /dev and rerunning the mknod commands?<br>
Also see: <a href="http://www.faqs.org/docs/linux_admin/x797.html">http://www.faqs.org/docs/linux_admin/x797.html</a> for info on mknod.<br>Does that help?  That should create /dev/null as a device.<br>--Andrew<br></div></div>