On Wed, Aug 27, 2008 at 8:36 AM, Satish Patel <[EMAIL PROTECTED]> wrote:
> Chapter 5.25 perl compilation i got one error when run command make
> perl utilities
>
> error is Can't cd to /sources/perl-5.8.8/ext/IO
>
> but i have /mnt/lfs/source then why it showing /sources directory on root
>
>
>
>        Making Fcntl (static)
> Writing Makefile for Fcntl
> make[1]: Entering directory `/mnt/lfs/sources/perl-5.8.8/ext/Fcntl'
> make[1]: Leaving directory `/mnt/lfs/sources/perl-5.8.8/ext/Fcntl'
> make[1]: Entering directory `/mnt/lfs/sources/perl-5.8.8/ext/Fcntl'
> cp Fcntl.pm ../../lib/Fcntl.pm
> ../../miniperl "-I../../lib" "-I../../lib" ../../lib/ExtUtils/xsubpp
> -noprototypes -typemap ../../lib/ExtUtils/typemap  Fcntl.xs >
> Fcntl.xsc && mv Fcntl.xsc Fcntl.c
> cc -c   -fno-strict-aliasing -pipe -Wdeclaration-after-statement
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2
> -DVERSION=\"1.05\" -DXS_VERSION=\"1.05\"  "-I../.."   Fcntl.c
> rm -rf ../../lib/auto/Fcntl/Fcntl.a
> /tools/bin/ar cr ../../lib/auto/Fcntl/Fcntl.a Fcntl.o && :
> ../../lib/auto/Fcntl/Fcntl.a
> chmod 755 ../../lib/auto/Fcntl/Fcntl.a
> make[1]: Leaving directory `/mnt/lfs/sources/perl-5.8.8/ext/Fcntl'
>
>         Making IO (static)
> Can't cd to /sources/perl-5.8.8/ext/IO: No such file or directory
> Warning: No Makefile!

I'm pretty sure the error is misleading here. IIRC, the /tools bash is
messing up on a loop in perl's build system. This happens because the
bison on the host system is too old and messes up bash's parser when
it is built earlier in Ch. 5. Did you pass all the host system
requirements?

http://www.linuxfromscratch.org/lfs/view/stable/prologue/hostreqs.html

--
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to