LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   lfs problem (https://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-problem-18932/)

jstu 04-19-2002 11:27 AM

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.

lfslinux 04-19-2002 11:55 AM

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.

jstu 04-19-2002 12:17 PM

ok you where right I did have an error in the cp line, but after rerunning it I get the same error message

lfslinux 04-19-2002 12:29 PM

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.

jstu 04-19-2002 12:52 PM

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.


All times are GMT -5. The time now is 08:21 PM.