LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-19-2002, 11:27 AM   #1
jstu
Member
 
Registered: Jan 2002
Distribution: slackware
Posts: 193

Rep: Reputation: 30
Angry lfs problem


I am having trouble compiling glibc-2.2.5 I get the error:
make[2] ***** No rule to make target 'subdir_lib. Stop.
Leaving directory '/usr/src/lfs-packages-3.3/glibc-2.2.5/login'
make[1] ***** [login/subdir_lib] Error 2

I have tried everything wondering if anyone could help or had the same problem?
thanks.
 
Old 04-19-2002, 11:55 AM   #2
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
Re: lfs problem

Quote:
Originally posted by jstu
I am having trouble compiling glibc-2.2.5 I get the error:
make[2] ***** No rule to make target 'subdir_lib. Stop.
Leaving directory '/usr/src/lfs-packages-3.3/glibc-2.2.5/login'
make[1] ***** [login/subdir_lib] Error 2

I have tried everything wondering if anyone could help or had the same problem?
thanks.
You most likely made a mistake when running these two commands:

cp login/Makefile login/Makefile.backup &&
sed 's/root/0/' login/Makefile.backup > login/Makefile


Just run that sed again, it'll read from the proper Makefile.backup file and output to the login/Makefile file.
 
Old 04-19-2002, 12:17 PM   #3
jstu
Member
 
Registered: Jan 2002
Distribution: slackware
Posts: 193

Original Poster
Rep: Reputation: 30
ok you where right I did have an error in the cp line, but after rerunning it I get the same error message
 
Old 04-19-2002, 12:29 PM   #4
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
Quote:
Originally posted by jstu
ok you where right I did have an error in the cp line, but after rerunning it I get the same error message
If you had an error in the cp line, then there isn't a proper Makefile backup file. What you need to do is remove the glibc-build and glibc-2.2.5 directories and start over again with the Glibc installation.
 
Old 04-19-2002, 12:52 PM   #5
jstu
Member
 
Registered: Jan 2002
Distribution: slackware
Posts: 193

Original Poster
Rep: Reputation: 30
your right thats what i just did and am compiling it right now I am sorry i replied to fast last time I didnt think of rm the directories. I think i'm in the clear now. You're the man thanks for your help.
 
  


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
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 12:31 AM
LFS-7.0-cross-lfs-20050902-x86_64-Multilib Basel Linux From Scratch 0 09-03-2005 05:03 AM
chroot problem in LFS shahzadiub Linux From Scratch 4 07-21-2004 11:48 AM
LFS subscription problem dowmun Linux From Scratch 1 08-17-2003 09:25 AM
lfs 4.1 problem +pl help saurav_gohain Linux From Scratch 2 07-10-2003 11:51 PM

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

All times are GMT -5. The time now is 11:11 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