LinuxQuestions.org
Review your favorite Linux distribution.
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 07-18-2007, 08:01 AM   #1
help_a_newbie
Member
 
Registered: May 2007
Posts: 87

Rep: Reputation: 15
'make' command problem at perl-5.8.8


Hi all,

I was on the right way building my lfs system, when an unexpectedly error occurred. I am now in chapter 6.22 "Perl-5.8.8" and I use a live cd as the host system. I compile the package according to the book's instruction (6.2 version) but when I type the 'make' command, the output I get is this:

Code:
makefile:954: *** missing separator. Stop
Can somebody tell me what goes wrong? I've double and triple-checked my commands, and it seems that I've done everything right. Plz somebody help me.

Thanx
 
Old 07-18-2007, 08:36 AM   #2
help_a_newbie
Member
 
Registered: May 2007
Posts: 87

Original Poster
Rep: Reputation: 15
not much goin on here today...
 
Old 07-18-2007, 11:55 AM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Never seen this error before, but a quick google search (!!!!) shows that a wrong/missing LC_ALL / LANG variable could be the cause.
What happens if you set the LC_ALL and/or the LANG variable to C (export LC_ALL=C / export LANG=C)

BTW: if you are in chapter 6 then the liveCD isn't your host any more. By now you are using the temporary environment you build in chapter 5. As described in Chapter 1. Introduction

Another thing: not much goin on here today... bumping an article after only 35 minutes is considered to be rude You also decrease the amount of people that will check out your thread. LQ has system in place that rotates zero reply threads to the top of the list. But this is only done for threads with zero replies.

Anyway, hope this helps.
 
Old 07-19-2007, 04:28 AM   #4
help_a_newbie
Member
 
Registered: May 2007
Posts: 87

Original Poster
Rep: Reputation: 15
ups, sorry, i didn't mean to be rude. I wasn't aware of this rule, sry!!! Thanx for the help and I hope that this will work too! I'm gonna try it now, comin back with more comments about what happened. Sooorrryyyy again!
 
Old 07-19-2007, 05:01 AM   #5
help_a_newbie
Member
 
Registered: May 2007
Posts: 87

Original Poster
Rep: Reputation: 15
And about the live CD: What do you mean it's not my host sytem? I need to insert the cd every time to start building the lfs. Or there's another way that the live cd is not needed?
Thanx
 
Old 07-19-2007, 05:26 AM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

You do need the liveCD to get started, but......

When you build a temporary environment (chapter 5) the tools/programs used to build that environment are on the liveCD (in your case, it can also be any other base system that meets the requirements).

Chapter 6 builds the actual LFS. Chapter 6 only uses the tools/programs from your temporary environment (chapter 5) to build the end product. That's the reason you have to re-enter the chrooted environment (that what was build in chapter 5) every time you stop and (re)start working on chapter 6.

Maybe I misunderstood what you said in your first post, but I got the idea that this was not known to you.

Hope this clears things up a bit (and sorry If I confused you).
 
Old 07-19-2007, 07:21 AM   #7
help_a_newbie
Member
 
Registered: May 2007
Posts: 87

Original Poster
Rep: Reputation: 15
Hi druuna.
No, actually your last post made things clear. The problem is that I tried the LC_ALL and LANG solution and it didn't seem to work. I entered in the sources directory (after having typed all the commands to start the lfs building again) and after the "chroot" command i did the two "export" commands. Then I re-compiled the package but I still get the same problems... It's just a waste if I give up now. Have I done all these for nothing?
 
Old 07-19-2007, 08:33 AM   #8
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

It looks like something is wrong. Without knowing what you did/didn't do and how you did those things it's hard to point to the cause.

The first time I installed LFS (version 5.0) I had to start over twice before everything was ok. Both failures were caused by me (I skipped a packet and misunderstood/mis-read a section). I did learn a lot from my mistakes and all that I had done to get LFS up and running.

If you are sure that you did not make any mistakes in chapter 5 you could decide to redo all of chapter 6. I personally would start from scratch again (you cannot be 100% sure that chapter 5 was done correctly and you've had some problems before). If you do that (redo all of chap 6) it would be a good idea to remove all that has been done already (after entering the chrooted env in chap 6.4, remove all directories/files present).

Not what you wanted to hear/read, but if you want a trusted and working LFS you should probably start over again. The only thing you could double check is the way you set up your environment after stopping/starting chapter 6 (take another look at the hint I pointed out in one of your previous threads).
 
Old 07-30-2007, 09:09 AM   #9
help_a_newbie
Member
 
Registered: May 2007
Posts: 87

Original Poster
Rep: Reputation: 15
thanx, i've solved this problem (just reconfigured the package and !!it worked!!). Now I'm at less package and the configure fails... I'll create another topic for this! thanx
 
Old 08-03-2007, 06:04 PM   #10
wojtusm
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Rep: Reputation: 0
I have same problem, but exporting LC_ALL=C and LANG=C won't help, meybe someone have any other tips?
 
Old 08-04-2007, 01:21 AM   #11
help_a_newbie
Member
 
Registered: May 2007
Posts: 87

Original Poster
Rep: Reputation: 15
have you tried re-configuring the package after exporting LC_ALL and LANG? that's what I did and it worked. First I tried to run the make command without compiling again, but I had to shut down my pc. So the next day I re-compiled the package and it worked!
 
Old 08-04-2007, 04:55 PM   #12
wojtusm
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Rep: Reputation: 0
Yes I tried it. I'm compiling it on my old slackware where some utilities was recompiled, and on it I have same problem so I think it is problem with some other program but I don't know which is broken.
 
  


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
Problem with make command Paul_md Mandriva 3 01-16-2007 09:28 AM
Problem with perl script using a variable from a unix command. abefroman Programming 1 05-11-2006 05:11 PM
Perl - problem with sleep command rose_bud4201 Programming 2 05-16-2005 11:44 AM
MAKE command problem Spurred_On Linux - Newbie 2 05-12-2005 06:50 PM
Chapter 6 (v.5.1.1) Perl-5.8.4 make problem znif Linux From Scratch 0 06-26-2004 06:44 PM

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

All times are GMT -5. The time now is 04:53 PM.

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