Linux From Scratch This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
05-12-2003, 04:17 PM
|
#1
|
LQ Newbie
Registered: Apr 2002
Posts: 24
Rep:
|
perl wont make
Hi im trying tu build LFS 4.1 (using nALFS) I get this error
│I: Executing in /static/build/perl-5.8.0: │
│I: make │
│-: make: *** No rule to make target `<interne>', needed by `miniperlmain.o'. │
│Stop.
I aleready tryed with LFS 4.0 but the same error occures (both, using nALFS or not)
I didn't had this error whith LFS 3.3.
I tryed LFS 4.0 on Mandrake 8.2, and LFS 4.1 on Mandrake 9.1
thanks
|
|
|
05-12-2003, 04:26 PM
|
#2
|
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372
Rep:
|
do the perl installation manually using the book's instructions, that will be much more helpful in diagnosing the problem.
|
|
|
05-13-2003, 02:41 PM
|
#3
|
LQ Newbie
Registered: Apr 2002
Posts: 24
Original Poster
Rep:
|
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
|
|
|
05-13-2003, 05:56 PM
|
#4
|
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372
Rep:
|
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.
|
|
|
05-14-2003, 12:23 AM
|
#5
|
LQ Newbie
Registered: Apr 2002
Posts: 24
Original Poster
Rep:
|
I'll try to do everything manually this week-end.
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?
thanks
|
|
|
05-14-2003, 06:20 AM
|
#6
|
Senior Member
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081
Rep:
|
linux from scratch
I used mandy 9.0 when I did mine, worked fine.
|
|
|
05-20-2003, 03:03 PM
|
#7
|
LQ Newbie
Registered: Apr 2002
Posts: 24
Original Poster
Rep:
|
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?
thanks
|
|
|
05-20-2003, 03:08 PM
|
#8
|
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372
Rep:
|
When you're done with chapter 6 you can safely remove the /static directory.
|
|
|
05-20-2003, 03:16 PM
|
#9
|
LQ Newbie
Registered: Apr 2002
Posts: 24
Original Poster
Rep:
|
thanks.
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.
|
|
|
All times are GMT -5. The time now is 05:39 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|