Linux From Scratch This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-21-2012, 12:24 AM
|
#1
|
|
LQ Newbie
Registered: Jan 2012
Distribution: CRUX, Gentoo, LFS, OpenBSD
Posts: 16
Rep: 
|
Trouble Compiling Xorg Libraries
Hello,
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:
http://pastebin.com/xMcmJbfD
I've installed all the dependencies and followed the book as required, so I'm not sure what the problem is. Thanks for any help!
Last edited by holdencaulfield; 06-21-2012 at 12:25 AM.
Reason: Needed to add information
|
|
|
|
06-21-2012, 07:07 AM
|
#2
|
|
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware, Cross Linux from Scratch, Gentoo
Posts: 2,664
Rep: 
|
keysymdef.h is provided by the xproto package. Are you sure it installed (correctly)? Where is keysymdef.h on your system?
|
|
|
|
06-21-2012, 12:23 PM
|
#3
|
|
LQ Newbie
Registered: Jan 2012
Distribution: CRUX, Gentoo, LFS, OpenBSD
Posts: 16
Original Poster
Rep: 
|
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:
/usr/local/include/X11/keysymdef.h
/usr/include/X11/keysymdef.h
I'm using /usr/X11 as my xorg prefix if it helps. Thank you.
|
|
|
|
06-21-2012, 10:10 PM
|
#4
|
|
Member
Registered: May 2007
Posts: 300
Rep: 
|
Quote:
|
Originally Posted by holdencaulfield
/usr/local/include/X11/keysymdef.h
/usr/include/X11/keysymdef.h
|
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.
Code:
echo $XORG_PREFIX
echo $XORG_CONFIG
cat /etc/profile.d/xorg.sh
cat /etc/ld.so.conf
|
|
|
|
06-22-2012, 01:49 AM
|
#5
|
|
LQ Newbie
Registered: Jan 2012
Distribution: CRUX, Gentoo, LFS, OpenBSD
Posts: 16
Original Poster
Rep: 
|
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.
|
|
|
|
06-22-2012, 06:56 AM
|
#6
|
|
Member
Registered: May 2007
Posts: 300
Rep: 
|
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.
Last edited by stoat; 06-22-2012 at 06:58 AM.
|
|
|
|
06-22-2012, 01:40 PM
|
#7
|
|
LQ Newbie
Registered: Jan 2012
Distribution: CRUX, Gentoo, LFS, OpenBSD
Posts: 16
Original Poster
Rep: 
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:33 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|