LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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


Reply
  Search this Thread
Old 06-21-2012, 12:24 AM   #1
holdencaulfield
LQ Newbie
 
Registered: Jan 2012
Distribution: CRUX, Gentoo, LFS, OpenBSD
Posts: 16

Rep: Reputation: Disabled
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
 
Old 06-21-2012, 07:07 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
keysymdef.h is provided by the xproto package. Are you sure it installed (correctly)? Where is keysymdef.h on your system?
 
Old 06-21-2012, 12:23 PM   #3
holdencaulfield
LQ Newbie
 
Registered: Jan 2012
Distribution: CRUX, Gentoo, LFS, OpenBSD
Posts: 16

Original Poster
Rep: Reputation: Disabled
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.
 
Old 06-21-2012, 10:10 PM   #4
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 628

Rep: Reputation: 185Reputation: 185
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
 
Old 06-22-2012, 01:49 AM   #5
holdencaulfield
LQ Newbie
 
Registered: Jan 2012
Distribution: CRUX, Gentoo, LFS, OpenBSD
Posts: 16

Original Poster
Rep: Reputation: Disabled
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.
 
Old 06-22-2012, 06:56 AM   #6
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 628

Rep: Reputation: 185Reputation: 185
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.
 
Old 06-22-2012, 01:40 PM   #7
holdencaulfield
LQ Newbie
 
Registered: Jan 2012
Distribution: CRUX, Gentoo, LFS, OpenBSD
Posts: 16

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Xorg Libraries devilboy09 Linux From Scratch 4 12-02-2011 06:11 AM
xorg-libraries:error janakiramulu Linux From Scratch 1 05-23-2011 06:09 AM
[SOLVED] Xorg Libraries error compilation poisoning Linux From Scratch 3 04-16-2011 07:26 PM
Compiling new libraries boris-78 Linux - Newbie 4 09-07-2006 01:26 PM
compiling development libraries deadlyhead Linux - Newbie 3 06-05-2005 03:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 12:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration