r/linuxfromscratch • • Sep 04 '23
LFS: 8.9 - zstd build errors
gaze enjoy library historical scary aloof wine hateful uppity makeshift
This post was mass deleted and anonymized with Redact
3
Upvotes
3
u/Rockytriton Mod Sep 06 '23
Look at section 6.18 at the very bottom. I think you missed this step...
ln -sv gcc $LFS/usr/bin/cc
1
u/Furezuu Sep 04 '23
for some reason, it can't find CC - C (the language) compiler initially, now compiler compilation, consisting of C, C++ and others
is this in a VM or on real hw?
EDIT: have you checked cc in your PATH locations?
1
u/Kbaying Sep 05 '23
Ensure you have a C compiler (like GCC) installed in your LFS system.
Verify that your environment variables, particularly the PATH variable, are correctly configured to include the path to your GCC installation.
Confirm the presence of all required dependencies for zstd as mentioned in the LFS book.
Try cleaning the zstd source directory and rebuilding it from scratch.
Review the LFS book's instructions for building zstd in section 8.9 to ensure you haven't missed any steps.
Seek help from the LFS community or forums if the issue persists.
If all else fails, consider restoring from a backup and revisiting section 8 of the LFS book to ensure a clean and accurate environment for the build process.