dslm4515 / CMLFS

Clang-Built Musl Linux From Scratch
MIT License
99 stars 18 forks source link

Missed slash in section 3-chroot/013a-zlib-ng #61

Closed Cerberios closed 1 year ago

Cerberios commented 2 years ago

Stage 3-chroot/013a-zlib-ng: seems mises "/" symbol

Cerberios commented 2 years ago

In Section 3-chroot/013a-zlib-ng mentioned:

...Move pkconfig to correct location: * mv lib/pkgconfig/ /usr/lib/pkgconfig/ **

Actual: mv lib/..... But we still INSIDE zlib-ng folder, so need set start from root and seems missed slash - / Expected: mv /lib/pkgconfig/* /usr/lib/pkgconfig/

And smth wrong with pkgconfig...Before stage 3-chroot/013a-zlib-ng it was as file, but should be as directory with .pc files inside. I'll recheck where it fall and report later.

BTW, Derek - why there so huge amount of bugs occur? They ALL are critical because it is cross-process, each wrong symbol can broke whole system. Did You tested this manual? I going step by step and will report more. Idea is super good - I'd like to complete with live Cinnamon Desktop + Firefox + Thunderbirg and LUKS for whole disk. Alot of work need to do ) Will report more

dslm4515 commented 2 years ago

...Move pkconfig to correct location: * mv lib/pkgconfig/ /usr/lib/pkgconfig/ **

This can be fixed by running the configure script like this:

./configure  --prefix=/usr \
             --libdir=/usr/lib \
             --zlib-compat \
             --sharedlibdir=/usr/lib 

This should put the pkgconfig files in the correct directory... assuming /lib is a link to /usr/lib

dslm4515 commented 2 years ago

BTW, Derek - why there so huge amount of bugs occur? They ALL are critical because it is cross-process, each wrong symbol can broke whole system. Did You tested this manual?

Correction: Derrick, not Derek ... You can also just use @dslm4515 instead

I did not document every command during my last build of CMLFS because I was in a hurry to see what issues would zlib-ng would cause [when building more packages outside of CMLFS]. I know for sure, Perl does not support zlib-ng. Workaround is to compile perl with its bundled source copy of zlib.

Additionally, I need to go through another build of CMLFS as I will be changing a few things:

This is a hobby, not a job. The "manual' for building LFS is managed by 6 people. I am one person updating 4 other repositories like this one. So there will be typos. Some repos may not have the updates from the other repo(s) yet. I work full time and work on these repos during my breaks at work.

CMLFS was very difficult to get started and took many many attempts to the point I stopped documenting to save on time.

dslm4515 commented 2 years ago

I'd like to complete with live Cinnamon Desktop + Firefox + Thunderbirg and LUKS for whole disk

As a heads up. I do not use Cinnamon Desktop, Thunderbird and LUKS... therefore, I have no experience in building those or troubleshooting those.

I haven't built Firefox from source for quite some time for two reasons:

Cerberios commented 2 years ago

Thank You for clarification, I am totally agree. I tried to compile Rust 1.57 under some "stage3 ready clang without GCC at all" image, seems it working, but some problems with Spidermonkey was occur. Anyway, Firefox not a point, I can use Palemoon also (just better choice IMO): GTK 2.24 or GTK 3.22+ (Not GTK 4) ; GLib 2.22 or higher ; Pango 1.14 or higher ; libstdc++ 4.6.1 or higher ( more info - https://developer.palemoon.org/build/linux/ )

dslm4515 commented 2 years ago

I can use Palemoon also (just better choice IMO)

I have built Palemoon years ago on i686 when I couldn't build rust or use rust from Alpine (mismatched LLVM version, missing symbols)... I forgot why I don't use it... unless it's because Palemoon requires GTK+2 which requires X11 libraries.

dslm4515 commented 1 year ago

closing ... typo has been fixed.