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.
I just downloaded all the packages and finished building a pure64 clfs 1.0.0 system, which worked quite well. I then used the instructions at the wiki (http://cblfs.cross-lfs.org/index.php/Main_Page) to basically just fix up the /etc/profile and then I went about trying to install x11r7.
I got to the protocol headers, and on some of them the configure scripts failed, complaining that "pkg-config" cannot be found. Does it sound like I've done something wrong? Is something just missing that I need to install, or can I somehow bypass it?
You'll have to install pkg-config. It's not part of the CLFS build. There are instructions on the WIKI. BTW, here is a script that will automate some of the Xorg7 installation.
I understand that. I would recommend that you use the *.wget files to download all the tarballs. Once you've downloaded one tarball manually, you've downloaded them all manually.
You'll need to install wget to download the tarballs. You'll also need expat, FreeType2, Fonconfig, and libpng to make it through the Xorg build. It tells you that in the wiki, but its less frustrating to know up front.
Thanks. BTW, I'm booting slackware and using it to surf and download, because I'm not Quite so comfortable with a console-only interface, so I don't need to install wget yet, though I should probably get around to it at some stage. I have all the xorg7 tarballs already.
I installed pkg-config along with all the other things that you recommended (libpng, expat, freetype, etc) and all went rather smoothly.
When I attempted to install the X Protocol headers (the utility macros went well) most of them went fine until Imake I think, which instead of complaining about pkg-config being missing, complained that the package XPROTO could not be found.
Undeterred, I installed the xproto package in the proto directory (I used wget to download all the stuff into directories as the wiki advises) and then tried to install imake (and subsequently the remaining problematic packages) again but the same thing happened. Was there some config file that I missed editing, some environment variable that I didn't put in?
Where is this, or rather, where should it be? In my working directory? I think I did this, then I cd'd into the various diredctories like the wiki said to and used the little list provided (and wget) to download all the necessary packages.
I haven't gotten to my clfs build for a while actually, I've been busy. I'll get back to it either today or tomorrow, then I'll let you know if I come right...
Yup. Install those subdirectories in the main X11 working directory (called xc in the wiki). You end up with /xc/app, /xc/data, etc.
If you're interested in what goes where, you can check out this link. All the proto headers are there already. Check back often, 'cause it changes daily.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.