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.
All kidding aside, I'm still trying to figure out what problem cmake is attempting to solve over the GNU configure tools. Granted, I've only superficially studied cmake and have, over 20+ years, attained a mastery of GNU configure. So that probably influences my stance. In short, if all goes well and there are no dependencies to track down, cmake is fine. Only when things go wrong or there are headers in out-of-the-way places, do I find cmake nearly inscrutable.
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 3,137
Rep:
I get the impression cmake and the like was just made because someone could it doesn't seem to have any advantages over the configure/make cycle except that the output is neater, personnaly I stick to autotools becuse like you I have invested time in learning them and dont see the need to learn a new build system just for the hell of it, maybe some one can explain why we should prefer cmake over gnu?
cmake reported that it did not find the symbol 'setproctitle'. On my LFS, I found it in three files :
/usr/lib/libblkid.so, /usr/lib/libmount.so and /usr/lib/libruby.so. The first two are from util-linux and the last one from ruby. Hope this helps.
After trying so many times, with failure, I decided to start building KDE from the beginning.
I remove all installed KDE packages (binaries, libraries, symbolic links, etc).
Re-create KDE directory, and environment, then compile the first KDE package Automoc4.
Next another packages, one by one following the BLFS book.
Everything is okay. I can start my KDE now.
I get the impression cmake and the like was just made because someone could it doesn't seem to have any advantages over the configure/make cycle except that the output is neater, personnaly I stick to autotools becuse like you I have invested time in learning them and dont see the need to learn a new build system just for the hell of it, maybe some one can explain why we should prefer cmake over gnu?
What a difference a few months make! At least to me.
Like you, Keith, my comfort zone was autotools/GNU make and I was skeptical of anything else. Just over the past few weeks, I've been exploring the LLVM toolchain, especially the lldb debugger, far better than gdb IMHO.
That journey of discovery led down the path to ninja and, thus, a reassessment of cmake since LLVM is slightly biased in that direction. It took some education on my part and discarding some ingrained ideas but I'm now convinced that cmake/ninja is at least a viable (if not superior) alternative to what had previously been part of my DNA. I can now see why many software projects have migrated to this newer way of building.
I am reluctant to give up the familiar which is why I had similar growing pains years ago as I evolved from CVS to Git for source code management. I'm glad I made that change back in 2011 and have become increasingly at home with cmake/ninja.
YMMV. But ain't it great that the LFS/BLFS foundation allows a means for us to explore and learn some new things!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.