Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150
Original Poster
Rep:
well tried manually building the only dif is setting jounld to off but that is onky for logging also setting webengine to off and wayland to off which should not affect pkgconfig files but still no pc files.
are u actually building on LFS > or on arch the arch pkg list says pc files are installed, tried setting the install to /usr makes no difference.
i'm stumped
I've built qt 6.5.0 (need to upgrade to 6.5.1) on a current LFS system and can verify the pkgconfig files are installed. I'm using (mostly) the same build options as arch-linq, but I'm doing a modular build, not a monolithic build like you are doing. At least with qt6-base (haven't checked the other modules) it installed 13 .pc files in the 'standard location' /usr/lib/pkgconfig. Okay - I check qt6-tools. It installed 5 .pc files in the same location.
Is this a multilib system or regular? Why do you need lib${LIBDIRSUFFIX}? LFS puts libs in lib/.
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150
Original Poster
Rep:
Well fixed it, although qt6 built fine ( no build errors ) there is a stupid test in one file here:
qtbase-everywhere-src-6.5.1/cmake/QtPkgConfigHelpers.cmake
Which tests for shared libs and unix but really stupidly also tests the cmake version and fails if its too low ( I have tested building the pc files with a lower cmake version by commenting out the test, and it works fine ), no warnings no logging whats the point of putting the version test there, anyway the fix is to upgrade cmake wich I did and all is now working as expected, so for anyone else upgrade cmake >= 3.20
Marking as solved
Glad you got it tracked down. Qt6 build system played a 'trick' on me as well. With my CPU i can build my complete system with -march=bdver2 in CFLAGS (it's an AMD 'piledriver' CPU). Only with Qt6, the build stops right away and i had to switch to -march=x86_64-v2. Using -march=native didn't work either.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.