LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-08-2011, 02:21 AM   #76
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405

Hi there,

Although I have seen this question asked once or twice before, I haven't come across any document that deals with this or any success story (on- or off-line).
 
Old 07-10-2011, 10:57 PM   #77
happyrobo
Member
 
Registered: Jun 2011
Location: Indonesia
Posts: 37

Original Poster
Rep: Reputation: Disabled
ok druuna, I think its enough to build my lfs
thanks to you and LQ, you are a big help
 
Old 07-11-2011, 03:14 AM   #78
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
You're welcome

Have fun using/building LFS!
 
Old 07-14-2012, 04:03 AM   #79
phoenixfusion
LQ Newbie
 
Registered: Jul 2012
Posts: 16

Rep: Reputation: Disabled
"MANDATORY_MANPATH /usr/X11R6/man" missing in /etc/man_db.conf

Quote:
Originally Posted by druuna View Post
You can create these directories just about anywhere you want. I always create it in /sources, which keeps everything together but that's my way of doing things. Most people want to keep the root directory (/) as clean as possible, but it is a good a place as any other when it comes down to it.

I don't see this one (mentioned in between the 2 parts you posted above):
Code:
export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc \
    --mandir=$XORG_PREFIX/share/man --localstatedir=/var"
If you did not set the XORG_CONFIG variable, things are not build/installed correctly. I'm guessing that this is the reason for the error.

This section is there in case you used something different then /usr (as mentioned by me and the book). If you did do this step, you need to restore the original content. Check these 4 entries in /etc/man_db.conf:
Code:
MANDATORY_MANPATH             /usr/X11R6/man
MANPATH_MAP    /usr/X11R6/bin      /usr/X11R6/man
MANPATH_MAP    /usr/bin/X11        /usr/X11R6/man
MANDB_MAP /usr/X11R6/man      /var/cache/man/X11R6
The above reflects what the entries should look like when using /usr as prefix.

Hope this helps.
Hi drunna I dint find the path you mentioned in my /etc/man_db.conf

I have run the commands upto
Code:
cat > /etc/profile.d/xorg.sh << "EOF" &&
XORG_PREFIX="/usr"
XORG_CONFIG="--prefix=$XORG_PREFIX \
             --sysconfdir=/etc \
             --mandir=$XORG_PREFIX/share/man \
             --localstatedir=/var"
export XORG_PREFIX XORG_CONFIG
EOF
chmod 644 /etc/profile.d/xorg.sh
After that the book says I should omit the remaining page if I used the prefix usr/

I used the prefix usr/

Im using the instructions on the page here http://www.linuxfromscratch.org/blfs...n/x/xorg7.html

After that I checked the contents of the file cat /etc/man_db.conf
but I couldnt find MANDATORY_MANPATH /usr/X11R6/man anywhere in the file im running the commands from inside /sources/xc

Please tell me if Ive done something wrong or that path will be added later on to the file.

Do I need to run any other commands further on that page....?

Last edited by phoenixfusion; 07-14-2012 at 04:08 AM.
 
Old 07-14-2012, 10:01 AM   #80
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by phoenixfusion View Post
Please tell me if Ive done something wrong or that path will be added later on to the file.

Do I need to run any other commands further on that page....?
The information in this thread is a over year old and might not reflect the current situation.

If you used /usr as XORG_PREFIX then you probably do not use the /usr/X11R6 entries. They won't hurt, once you reach the Xorg-7.7-1 Testing and Configuration chapter a link is created (Creating an X11R6 Compatibility Symlink) to satisfy packages/programs that depend on it.

I would advise _not_ to add the /usr/X11R6 entries in the man_db.conf file. You'll find out soon enough if your manpages are viewable and can add them if needed.
 
  


Reply

Tags
blfs, lfs


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
I need BLFS !!! nykey Linux From Scratch 1 06-06-2006 08:05 PM
BLFS packages dsider Linux From Scratch 2 10-15-2005 03:18 PM
BLFS dhcpcd fr0zen Linux From Scratch 1 11-26-2003 07:02 PM
Lfs --> Blfs KptnKrill Linux From Scratch 3 10-11-2003 12:19 PM
On to BLFS itsjustme Linux From Scratch 7 09-01-2003 05:20 AM

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

All times are GMT -5. The time now is 09:31 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