I'm building a LFS system following the steps from the book (version 7.6, though I think the problem is not related to a specific version). After building the toolchain (chapter 5) now I'm into building the system proper (chapter 6).
But here's the thing: when I try to build any package from a graphical shell (in my case LXTerminal from the Lubuntu desktop environment) I can unpack the sources and configure the build with ./configure, but on issuing the 'make' command I get a Segmentation fault
. If I issue the same command from a text terminal (e.g. hitting Crtl+F2) it works flawlessly.
In both cases:
- As root, I mount the virtual kernel filesystems as per chapters 6.2.2 and 6.2.3
- As root, I switch to the chroot environment as per the book instructions
This puzzles me, because of course it also fails when connected by SSH, which is what I really want to do.
Can anybody give me a hint of why these two terminals behave differently?
(As a final note, I've tried switching to root user from my non-root user ("login shell") with su - and also login in altogether into the GUI as root)