Quote:
Originally Posted by druuna
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....?