Anyobody using Slackware 15?

If you want to build a LFS, pick a distribution and go with it. It doesn’t really matter, as long as it has the minimum required base packages LFS wants.

ANY distribution will do, GUI is nice to have but most certainly not a requirement. Just be certain your system meets the minimum system requirements.

In case you’re not getting a GUI because of some reason, Lynx or Links (browsers) function perfectly well from the command line.

2 Likes

Yes, and only Gentoo and EndeavourOS, meet the requirements for the tools to compile LFS.
I can compile LFS from a usb boot but that requires the PC to be ran, until the kernel is compiled and LFS boots. The live usb boot lets me copy and paste commands

1 Like

Bullshit. I built a LFS on Suse 7.2 at the time. Granted, Suse was already installed on the HDD, but you can just as easily install what’s needed with just a liveusb – I tried it myself with Linux Mint, Solus, and some others.

If you had followed the links I had posted you would have known.

The package managers work just fine on a live environment.

1 Like

Thank you @xahodo, I always run the LFS minimum requirements script and so far only Gentoo and EndeavourOS meet the requirements!! Have not tried either Suse or Solus, I am sure they would work just fine.
So am I doing something wrong by using the LFS 12.2 book for the LFS compile?

1 Like

Lots of distros do not come with the build-tools (build-essential) package as installed. You can always install it… then it would pass your LFS script test.
I often have to install build-tools just to compile something. They seem to assume these days that a user will never need to compile anything.
So, you can make any distro meet the LFS test.
In Arch and Void the build-essential package is called base-devel

2 Likes

@nevj


You download the script at right to a root terminal, double click on script and it gives the data, as to what LFS is in need of!!!
Endeavouros and Gentoo check out OK, I would be using Gentoo, but it is trying to compile a new version of llvm, do not have time for that!!!

2 Likes

llvm is not in that list?

1 Like

Nope it isn’t and LFS does not require llvm and Endeavouros does not use the llvm source package. More than likely the intel GPU and my i5 cpu pulled in llvm as a Gentoo dependency, but that is OK EOS is running well.
I am guessing that is a bash script, how hard are they to write?

1 Like

Easy. There are some tutorials on FOSS.
You basically put the CLI commands you want to run on a file, put #! /bin/bash on the first line, make the file executable, and run it.

1 Like

Can you let Gentoo to compile it at night? You can also ask portage to only compile when the machine is idle. Or if you really don’t need llvm, mask it. There might be some other packages which pull llvm though.

Or just any distro with the build-tools should be fine as pointed out earlier

1 Like

Sure, I can, and have, my first Gentoo compile, several years ago, on a 32bit machine, took several days of continues running!!!
llvm is part of the stage3 tar file but the llvm 19 is pulled in with the @world command, the Gentoo devs will propably have it in a binary package, soon!!!

There are not many to choose from!!!

3 Likes

Ok. If you don’t need the llvm 19 just exclude it when doing world update?

1 Like

my laptops llvm info says it’s appr 49 minutes to emerge llvm:

genlop -ie llvm
 * sys-devel/llvm

     Wed Dec 11 12:05:59 2024 >>> sys-devel/llvm-18.1.8-r6
     Wed Dec 11 12:15:08 2024 >>> sys-devel/llvm-19.1.4

   Total builds: 2
   Global build time: 1 hour, 38 minutes and 36 seconds.
   Average merge time: 49 minutes and 18 seconds.

and system info

emerge --info
Portage 3.0.66.1 (python 3.12.8-final-0, default/linux/amd64/23.0/split-usr/desktop, gcc-14, glibc-2.40-r5, 6.6.62-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.6.62-gentoo-dist-x86_64-Intel-R-_Core-TM-_i5-8265U_CPU_@_1.60GHz-with-glibc2.40
KiB Mem:     7969760 total,    362028 free
KiB Swap:    8142844 total,   8135420 free

edit: maybe there’s already a bin package for llvm 19:

genlop -t llvm
 * sys-devel/llvm

     Wed Dec 11 12:05:59 2024 >>> sys-devel/llvm-18.1.8-r6
       merge time: 1 hour, 38 minutes and 21 seconds.

     Wed Dec 11 12:15:08 2024 >>> sys-devel/llvm-19.1.4
       merge time: 15 seconds.

edit2: yes, there’s a binpackage for llvm 19.1.4

emerge --pretend --getbinpkgonly y llvm

These are the packages that would be merged, in order:

Calculating dependencies                    ... done!
Dependency resolution took 3.45 s (backtrack: 0/20).

[binary   R    ] llvm-core/llvm-19.1.4-3:19/19.1::gentoo  USE="binutils-plugin libffi zstd -debug -debuginfod -doc -exegesis -libedit -test -verify-sig -xml* -z3" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (LoongArch) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) -ARC -CSKY -DirectX -M68k -SPIRV -Xtensa" 60,980 KiB

Total: 1 package (1 reinstall, 1 binary), Size of downloads: 60,980 KiB
1 Like

@ihasama
Thanks, I will attend to Gentoo, on a other day!!!

2 Likes