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.
|
 |
07-18-2007, 08:01 AM
|
#1
|
Member
Registered: May 2007
Posts: 87
Rep:
|
'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
|
|
|
07-18-2007, 08:36 AM
|
#2
|
Member
Registered: May 2007
Posts: 87
Original Poster
Rep:
|
not much goin on here today...
|
|
|
07-18-2007, 11:55 AM
|
#3
|
LQ Veteran
Registered: Sep 2003
Posts: 10,532
|
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.
|
|
|
07-19-2007, 04:28 AM
|
#4
|
Member
Registered: May 2007
Posts: 87
Original Poster
Rep:
|
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!
|
|
|
07-19-2007, 05:01 AM
|
#5
|
Member
Registered: May 2007
Posts: 87
Original Poster
Rep:
|
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
|
|
|
07-19-2007, 05:26 AM
|
#6
|
LQ Veteran
Registered: Sep 2003
Posts: 10,532
|
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).
|
|
|
07-19-2007, 07:21 AM
|
#7
|
Member
Registered: May 2007
Posts: 87
Original Poster
Rep:
|
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?
|
|
|
07-19-2007, 08:33 AM
|
#8
|
LQ Veteran
Registered: Sep 2003
Posts: 10,532
|
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).
|
|
|
07-30-2007, 09:09 AM
|
#9
|
Member
Registered: May 2007
Posts: 87
Original Poster
Rep:
|
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
|
|
|
08-03-2007, 06:04 PM
|
#10
|
LQ Newbie
Registered: Aug 2007
Posts: 2
Rep:
|
I have same problem, but exporting LC_ALL=C and LANG=C won't help, meybe someone have any other tips?
|
|
|
08-04-2007, 01:21 AM
|
#11
|
Member
Registered: May 2007
Posts: 87
Original Poster
Rep:
|
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!
|
|
|
08-04-2007, 04:55 PM
|
#12
|
LQ Newbie
Registered: Aug 2007
Posts: 2
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 08:18 PM.
|
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
|
|