LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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


Reply
  Search this Thread
Old 05-12-2003, 04:17 PM   #1
jnsc
LQ Newbie
 
Registered: Apr 2002
Posts: 24

Rep: Reputation: 15
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
 
Old 05-12-2003, 04:26 PM   #2
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
do the perl installation manually using the book's instructions, that will be much more helpful in diagnosing the problem.
 
Old 05-13-2003, 02:41 PM   #3
jnsc
LQ Newbie
 
Registered: Apr 2002
Posts: 24

Original Poster
Rep: Reputation: 15
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
 
Old 05-13-2003, 05:56 PM   #4
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
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.
 
Old 05-14-2003, 12:23 AM   #5
jnsc
LQ Newbie
 
Registered: Apr 2002
Posts: 24

Original Poster
Rep: Reputation: 15
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
 
Old 05-14-2003, 06:20 AM   #6
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47
linux from scratch

I used mandy 9.0 when I did mine, worked fine.
 
Old 05-20-2003, 03:03 PM   #7
jnsc
LQ Newbie
 
Registered: Apr 2002
Posts: 24

Original Poster
Rep: Reputation: 15
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
 
Old 05-20-2003, 03:08 PM   #8
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
When you're done with chapter 6 you can safely remove the /static directory.
 
Old 05-20-2003, 03:16 PM   #9
jnsc
LQ Newbie
 
Registered: Apr 2002
Posts: 24

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Make wont work! The slayer Linux - Laptop and Netbook 1 08-05-2005 12:26 PM
Perl form wont send mail calmbomb Linux - Software 4 11-07-2004 10:08 AM
my perl scripts wont run need help unixmad Linux - Software 4 09-14-2004 08:04 PM
upgraded webmin - perl scripts wont run jimi_j Linux - Software 0 05-25-2004 05:47 PM
How to make it in Perl ????? Bassam Programming 2 03-12-2004 05:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 01:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration