Notes of the LFS making(Fin)
I focused on the LFS about a week, I have finished installed the LFS, It can boot and work very well.
In fact I can finish it in 2 days, but I made some mistakes that shouldn't happen to me.
I didn't read the Notice on the LFS handbook. so I paid!
Most important: check the $LFS, and chroot (Esp when u reboot the PC).
When U install the Perl, U may face this problem:
Updating man page uname.1
Can't locate POSIX.pm in @INC (@INC contains: /tools/lib/perl5/5.8.4/i686-linux /tools/lib/perl5/5.8.4 /tools/lib/perl5/site_perl/5.8.4/i686-linux /tools/lib/perl5/site_perl/5.8.4 /tools/lib/perl5/site_perl .) at ./help2man line 28.
BEGIN failed--compilation aborted at ./help2man line 28.
make[2]: *** [uname.1] Error 2
make[2]: Leaving directory `/sources/coreutils-5.2.1/man'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/coreutils-5.2.1'
make: *** [all] Error 2
Can't locate POSIX.pm in @INC (@INC contains: /tools/lib/perl5/5.8.4/i686-linux /tools/lib/perl5/5.8.4 /tools/lib/perl5/site_perl/5.8.4/i686-linux /tools/lib/perl5/site_perl/5.8.4 /tools/lib/perl5/site_perl .) at ./help2man line 28.
#ls /tools/lib/perl5/5.8.X
#ln -s /tools/lib/perl5/5.8.X /tools/lib/perl5/5.8.Y
#make
Error on installing
Shadow-4.0.9
./configure --libdir=/lib --enable-shared
/mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE "shadow"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "4.0.9"
#define _GNU_SOURCE 1
configure: exit 77
Check the $LFS and chroot. :-)
Most of the check is no need, except the ones needed. :-)
Also, I cp the cmd to the shell. Wish U good Luck on the LFS!
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home