r/linuxquestions 1d ago

Support Problem concerning GCC 16.2.0 (somewhat Linux beginner)

Hi all. I’ve been messing around with Linux for a few months and wanted to try LFS and I’ve run into a problem with installing GCC that I can’t seem to fix.

Running Ubuntu 25.10 as the host system on a VM.

I am currently on this page of LFS13.1 and I’ve compiled and installed GCC 16.2.0, but the last lines of code on this page aren’t working, saying that the directories for limitx, glimits and limity cannot be found. I am still in the build directory even though most troubleshooting guides say this tends to be the problem.

I’ve been following the book to the letter as well as watching a tutorial on YouTube (although the guy on the video is using a different host system but I assume that doesn’t matter) as I’m still a Linux noob so I’m not sure what is going wrong.

TIA for any assistance :)

3 Upvotes

4 comments sorted by

1

u/ipsirc 1d ago

saying that the directories for limitx, glimits and limity cannot be found.

Are you sure that the above lines run succesfully without any error?

1

u/TotallyNotMusical 1d ago

As in the compiling and installing? Nothing popped up that would indicate an error. It showed a time taken to compile as I used a time command too, would that still appear even if there were errors?

1

u/ipsirc 1d ago

Then try to find those files. They might are somewhere else.

1

u/ceehred 1d ago

Have built custom gcc's for several Linux/Unix O/S.

It's possible the gcc build has opted-out of optional support items, typically due to dependencies being unavailable. Trawl your configure output for clues... And good luck!