LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 04-15-2007, 04:07 PM   #1
shevegen
Member
 
Registered: May 2004
Distribution: Slackware / Debian
Posts: 90

Rep: Reputation: 15
Compiling modular Xorg - need smart people


Hi guys.

First off, here some facts:
- I am using Linux since 3 years. I am partial newbie, partial know-bie ;-)
- I am using a set of ruby scripts to compile programs. I have collected the components of Xorg and compile into.

/Programs/Xorg/7.3

All the files therein get symlinked into master directories, which point to all other
files. (Another ruby script ensures that the links are always valid.)

So far, so fine.

But something doesnt really work. My questions are these:

-a) Has anyone else here compiled modular Xorg on his own before and managed to make it run?
-b) I get errors such as no fontserver running. How can I make the fontserver run?
-c) How can I tell the configure scripts to search these "master directories" too? Sometimes they complain they cant find them but they exist, its just that the script doesnt check the proper locations for those libs (which will be under /Programs/Xorg/7.3/lib ), similar
situation with headers
 
Old 04-15-2007, 05:50 PM   #2
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
yes many of us have done it though it can seem overwhelming
for your other questions its a bit hard to know exactly what you are doing there with the info you give. if you have errors or whatever best to tell axactly what you were doing at the time and copy paste exact error messages.

If you are trying to install Xorg into a non typical/default location you need to add <PREFIX>/bin to your PATH environment variable and <PREFIX>/lib/pkgconfig to your PKG_CONFIG_PATH variable
You should also add <PREFIX>/lib to the /etc/ld.so.conf file
 
Old 04-15-2007, 06:08 PM   #3
suicideducky
Member
 
Registered: Aug 2006
Location: New Zealand
Distribution: Gentoo
Posts: 72

Rep: Reputation: 15
Well I'm not sure if this will help, but here is some documentation for Gentoo about modular Xorg:
http://gentoo-wiki.com/HOWTO_Modular_Xorg

good luck
 
Old 05-12-2007, 12:41 PM   #4
shevegen
Member
 
Registered: May 2004
Distribution: Slackware / Debian
Posts: 90

Original Poster
Rep: Reputation: 15
"if you have errors or whatever best to tell axactly what you were doing at the time and copy paste exact error messages."

I have no errors. Compile errors i can fix myself.

The problem is in starting xorg...

It often tells me no font server is running.

"If you are trying to install Xorg into a non typical/default location you need to add <PREFIX>/bin to your PATH environment variable and <PREFIX>/lib/pkgconfig to your PKG_CONFIG_PATH variable
You should also add <PREFIX>/lib to the /etc/ld.so.conf file"

Well that seems easy enough. The symlink dir is in /etc/ld.so.conf already

Anyway, I will soon try it again and tell you what trouble i have had
 
Old 05-12-2007, 12:42 PM   #5
shevegen
Member
 
Registered: May 2004
Distribution: Slackware / Debian
Posts: 90

Original Poster
Rep: Reputation: 15
Btw you said "many of us" have done this, but my question is,
have YOU done so? I really need to find knowledgable people
 
Old 05-12-2007, 10:32 PM   #6
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
Quote:
Originally Posted by shevegen
"if you have errors or whatever best to tell axactly what you were doing at the time and copy paste exact error messages."

I have no errors. Compile errors i can fix myself.

The problem is in starting xorg...

It often tells me no font server is running.
like i said exact error messages
it will say something like "Fatal server error:"
i thinks thems error messages as far as i know.
we are not mind readers or soothsayers here

Quote:
Originally Posted by shevegen
Btw you said "many of us" have done this, but my question is,
have YOU done so?
YES
not that it seems very important
it still doesn't help me diagnose unknown problems without looking at the error logs !
 
Old 06-12-2007, 04:39 PM   #7
shevegen
Member
 
Registered: May 2004
Distribution: Slackware / Debian
Posts: 90

Original Poster
Rep: Reputation: 15
First, I like that there is someone like you who takes the time to try
to help. I appreciate this.

However, maybe I misread you, but I do not like your tone.
I felt it slightly hostile, but maybe I am wrong about this?

Anyway, back to the matter, I will soon give it another try.

I updated my scripts, got rid of some annoying things, and
will soon look if all things go smooth this time.
Then I can provide you with the detailed errors I get, h
owever one problem before that seems to be that I can not c
ompile the "Xorg" binary.

I am not even sure of which package it is part of.
But I am getting there slowly.

Quote:
we are not mind readers or soothsayers here
Of course not, but as you see there often is a lack of
people that KNOW how to solve specific things.
On #xorg IRC, i was able to find only two other people
who compiled modular xorg on their own.
Most people nowadays seem to enjoy being fed by their
distribution to solve these things. Only ambitious
projects like LFS do help a lot there, but even they
arent extremely good in that regard (modular xorg,
but they are better about this than the official
wiki-docu of Xorgg).


Quote:
Btw you said "many of us" have done this, but my question is,
have YOU done so?

YES
not that it seems very important
But it makes a HUGE difference.
Because you compiled it on your own, so you know more than like
80% of the other Posters here I guess

Quote:
it still doesn't help me diagnose unknown problems without looking at the error logs !
For that, dont worry too much. I'll provide this info soon, detailed enough for
you to be able to help me properly and quickly.

Last edited by shevegen; 06-12-2007 at 04:40 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
Smart ways to create a modular website... ? oskar Programming 7 02-20-2007 10:32 AM
Compiling Xorg kushalkoolwal Fedora 1 12-07-2005 04:51 PM
Help needed with compiling Xorg SavageNick Slackware 6 07-20-2005 07:27 PM
Compiling Xorg error FlashAsh99 Linux - Software 2 07-13-2005 11:23 AM
Recommendations on Compiling Xorg-6.8.2 Kenji Miyamoto Slackware 5 05-23-2005 01:22 AM


All times are GMT -5. The time now is 08:40 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration