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 believe that I have exhausted all options, and can't figure out the solution on my own. I'm having trouble compiling the xorg libraries on LFS 7.1. Specifically the compile fails with the following on libX11-1.5.0:
I'm not positive that xproto was installed correctly (this is my first time compiling xorg), but I know that I installed it. I'm seeing keysymdef.h in two locations:
Nothing for X11 should be in /usr/local, IMO. And that second one is the location for it when the standard /usr prefix is used. It's where mine is anyway, and I use /usr for XORG_PREFIX.
Quote:
Originally Posted by holdencaulfield
I'm using /usr/X11 as my xorg prefix if it helps.
Well, there is nothing wrong with choosing a non-standard Xorg prefix, I guess. But there is some extra work to do in the "Setting up the Xorg Build Environment" section of the introduction to Xorg. Did you do that extra stuff? I recommend taking a moment to check all of it.
I checked and everything looked correct for my previous prefix, however I still could not get anything to work. I decided to attempt to compile xorg with the prefix of /usr and have successfully compiled everything. Thank you all for you time. However 'startx' reveals 'no screens found' error. I have a nvidia card and trying to use the proprietary driver, I'm not sure what the problem is, because I used the same xorg.conf I have on another distro that works for this computer.
Video stuff, especially nvidia drivers, is something I don't have much experience with. I've never needed it since things always "just worked" for me, and I've never had to use proprietary video drivers. I used to tinker with xorg.conf like most everybody else, but not in the last several years or so. Anyway...
I would first try starting without any xorg.conf at all. Did you even try that? You might be surprised. And if that still doesn't work, then try generating one the old-fashioned way and adjusting it.
Next, and I don't know if it matters or not, the xorg.conf thing now seems to be broken up into separate .conf files that reside in /etc/X11/xorg.conf.d. Explore that some.
If you still got nowhere, at least I legitimately bumped your thread. Maybe a video expert will come along shortly.
stoat: Surprisingly what you suggested worked! Thank you so much! I deleted my xorg.conf which I need on Gentoo, and everything just worked. However, xft fonts either look horrible or are not working haha.
EDIT: Figured out the fonts, somehow missed it in the book. Thanks again for the help!
Last edited by holdencaulfield; 06-22-2012 at 03:27 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.