Linux From ScratchThis 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.
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.
Everything has gone pretty good building the lfs 6.3 system so far but when I get to chapter 6:9 I think, it is when having to rebuild Glibc when I go to the ./configure part it just goes into a loop.Can I use a different version of Glibc or is that too much trouble.It is Glibc 2.5.1 or the problem might be with the Glibc-libidn 2.5.1 I don't know.
Ah, you're using 6.3. That explains you referring to the "Changing Ownership" section as 5.31 in your previous thread. LFS 6.4 has a few extra sections in Chapter 5, which is why I thought you meant 5.34.
Anyway... I haven't encountered the problem you mention before. I tried to do some searching around to see if maybe others have experienced it, but I think I need more information. Can you paste the log of what's happening? Or part of the log, at least. And is it actually occurring during the configuration stage, not during make?
Yeah, it happens when I try to configure it . I couldn't get a good copy of it cause it is scrolling by so fast but here is what I could get
./configure.lineno: line 139: /dev/null: No such file or directory
./configure.lineno: line 139: /dev/null: No such file or directory
./configure.lineno: line 139: /dev/null: No such file or directory
./configure.lineno: line 139: /dev/null: No such file or directory
./configure.libeno: line 24 : /dev/null: No such file or directory
./configure.lineno: line 65: /dev/null: No such file or directory
./configure.lineno: line 73: /dev/null: No such file or directory
./configure.lineno: line 139: /dev/null: No such file or directory
./configure.lineno: line 139: /dev/null: No such file or directory
I figured out the problem with the loop it was a corrupt libidn directory in glibc-2.51 I deleted the glibc-build and the libidn directory inside glibc and then reinstalled it, it let me configure and run make but now I get this error on running the test
Mounting /dev should have output something like "/dev on /mnt/lfs/dev" for the first part. (That's why you got all those "/dev/null: No such file or directory" messages during configure.) Did you make sure the $LFS environment variable was properly set?
Some of those Glibc issues are to be expected, as it states in 6.9; personally, I would start over with chapter 6, making sure that /dev is correctly mounted as I mentioned above.
I got past that and have been stuck on section 6.15(e2fsprogs) I have looked for 4 hours on goole trying to figure the thing out
Makefile:361: *** multiple target patterns. Stop
I can't read the makefile it want let me . Everything went preety much flawless up til now lol. I've deleted it retried several times with the same message I could get into the make .ini file here is line 361-370
all-libs-recursive install-libs-recursive install-strip-libs-recursive \
uninstall-libs-recursive install-shlibs-libs-recursive \
install-shlibs-strip-libs-recursive uninstall-shlibs-libs-recursive:
@for subdir in $(LIB_SUBDIRS); do \
if test -d $$subdir ; then \
target=`echo $@|$(SED) 's/-libs-recursive//'`; \
echo making $$target in $$subdir; \
(cd $$subdir && $(MAKE) $$target) || exit 1; \
fi ; \
done
Sorry, I should have been more specific. I meant the Makefile in the folder where make stopped, in this case "/sources/e2fsprogs-1.40.2/build/lib/et"
Actually, just for the heck of it, do me a favor: delete the e2fsprogs-1.40.2 directory and start with a freshly extracted tarball, then enter "make clean" after the configure step before you run make. Do you still get the same error?
Also, from within the chroot, what's the output of "ls /dev"?
It seems like I'm going to have to start all over. I turned my pc off lastnight and now I have nothing on my $LFS partition. This time I'm going to use the livecd as a working host.
Nothing? As in, literally nothing? That seems very odd... though considering the errors you were getting, starting over may be the best option anyway. Out of curiosity, what were you using as a host?
I'm using Linuxmint 6 would rather have Ubuntu but linuxmint runs faster for me. I bought a used computer just so I could mess around with and get used to linux a little more and figured doing lfs was a good place to start learning.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.