Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi thanks for the reply. I entred in the chroot environment, unpacked perl, followed the instructions writen in the book, and I now get this error.
root:/static/build/perl-5.8.0# make
`sh cflags "optimize='-O2'" miniperlmain.o` miniperlmain.c
CCCMD = cc -DPERL_CORE -c -fno-strict-aliasing -I/usr//include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -Wall
`sh cflags "optimize='-O2'" perl.o` perl.c
CCCMD = cc -DPERL_CORE -c -fno-strict-aliasing -I/usr//include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -Wall
perl.c: In function `S_procself_val':
perl.c:3531: parse error before ',' token
perl.c:3531: conflicting types for `buf'
perl.c:3530: previous declaration of `buf'
perl.c:3531: parse error before "sizeof"
perl.c:3539: subscripted value is neither array nor pointer
perl.c:3549: warning: passing arg 1 of `memchr' makes pointer from integer without a cast
perl.c:3550: warning: passing arg 2 of `Perl_sv_setpvn' makes pointer from integer without a cast
make: *** [perl.o] Error 1
This might be a Glibc error but I cannot be sure. A few things you should do:
1) Try a manual installation. I don't now which profile you used, nor its quality. However, I do know what is in the LFS book for sure. As long as you are nALFS based it will be very hard to help.
I used http://vassilidzuba.nerim.net/lfs41-profile.html this profil. I think the profil inst'n the problem, because when I tryed a manual installation of LFS 4.0 I got an error whith perl too. I might try to build LFS from another base system. Do you have some recommandations for the base system?
I tried manually, and everything is fine now. I have just a question, do i still need the /static directory or can I remove it whitout having any problems?
I need space because I'm trying to make a bootable CD whith nALFS on it so I will try to install LFS from an LFS CD. So I can try if I get the same error with Perl.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.