LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-20-2011, 07:48 PM   #31
happyrobo
Member
 
Registered: Jun 2011
Location: Indonesia
Posts: 37

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by druuna View Post
/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
I think I have problem with man_db.conf
here I attach my man_db in txt and also printscreen /usr

did my man_db wrong?
Attached Images
File Type: png usr.png (74.1 KB, 6 views)
Attached Files
File Type: txt man_db.txt (5.0 KB, 5 views)
 
Old 06-20-2011, 07:52 PM   #32
happyrobo
Member
 
Registered: Jun 2011
Location: Indonesia
Posts: 37

Original Poster
Rep: Reputation: Disabled
then I continue to this chapter Xorg Libraries
when I try to compile first package on this chapter I found error:

Package require X11, xext, xextproto, dmxproto
 
Old 06-21-2011, 02:18 AM   #33
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Hi,
Quote:
Originally Posted by happyrobo View Post
I think I have problem with man_db.conf
You did not indicate if you changed man_db.conf by executing the command given in the book. If you didn't, which it looks like, then leave this file as is.

Quote:
Originally Posted by happyrobo View Post
then I continue to this chapter Xorg Libraries
when I try to compile first package on this chapter I found error:

Package require X11, xext, xextproto, dmxproto
You say you continue, which is hopefully a bad choice of words........

As mentioned in post #25, this part seems to be missing:
Code:
export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc \
    --mandir=$XORG_PREFIX/share/man --localstatedir=/var"
This should have been done in the first chapter of building X (this one). If that step was not done then you need to redo all of chapter 23, starting with Introduction to Xorg-7.6.

I'll repeat what I said in post #25: 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.

You do need to confirm or deny what was posted in the replies, otherwise we won't be able to help you.

Hope this helps.
 
Old 06-21-2011, 04:32 AM   #34
happyrobo
Member
 
Registered: Jun 2011
Location: Indonesia
Posts: 37

Original Poster
Rep: Reputation: Disabled
i'm sorry druuna
now i have done the missing part

Code:
export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc \
    --mandir=$XORG_PREFIX/share/man --localstatedir=/var"
but still found that error.

let me clear, so i want use standard prefix /usr as you suggest
so here the code in chapter Introduction to Xorg-7.6

in directory /sources
Code:
mkdir xc &&
cd xc
Code:
export XORG_PREFIX="/usr"
Code:
export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc \
    --mandir=$XORG_PREFIX/share/man --localstatedir=/var"
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
Code:
echo "${XORG_PREFIX}/lib" >> /etc/ld.so.conf
sed 's@/usr/X11R6@/usr@g' -i /etc/man_db.conf
is that rght druuna?or I made some mistake
please help me
 
Old 06-21-2011, 06:34 AM   #35
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Hi,

Quote:
is that rght druuna?or I made some mistake
No, that is not correct. You need to read and follow the book.

I'll repeat what I already quoted in post #22: If you've decided to use the standard /usr prefix, you can omit the remainder of this page. Otherwise, ....

This means you _don't_ do the rest of the page!

This is the last thing you do on that page:
Code:
cat > /etc/profile.d/xorg.sh << "EOF" &&
XORG_PREFIX="<PREFIX>"
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
Please read carefully and follow the instructions.
 
Old 06-21-2011, 10:03 AM   #36
happyrobo
Member
 
Registered: Jun 2011
Location: Indonesia
Posts: 37

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by druuna View Post
Please read carefully and follow the instructions.
oh, i'm sorry druuna i'm not read it with carefully
now i'll start again chapter 23
wish me luck
 
Old 06-21-2011, 10:15 AM   #37
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
This is me, wishing you luck
 
Old 06-21-2011, 11:24 AM   #38
happyrobo
Member
 
Registered: Jun 2011
Location: Indonesia
Posts: 37

Original Poster
Rep: Reputation: Disabled
well druuna i've follow book instruction

Code:
export XORG_PREFIX="/usr"
Code:
export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc \
    --mandir=$XORG_PREFIX/share/man --localstatedir=/var"
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
but still i found error when compiling Xorg Libraries
for example package libdmx-1.1.1.tar.bz2, it says "Package require X11, xext, xextproto, dmxproto"

still any wrong with me druuna?
or you have another way to fix this
please another help

# i have completed Xorg Libraries Dependencies (Required)

Last edited by happyrobo; 06-21-2011 at 11:26 AM.
 
Old 06-21-2011, 11:35 AM   #39
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Hi,

After you executed the above, did you redo all the packages leading up to Xorg Libraries?
 
Old 06-21-2011, 12:05 PM   #40
happyrobo
Member
 
Registered: Jun 2011
Location: Indonesia
Posts: 37

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by druuna View Post
redo all the packages leading up to Xorg Libraries
yes druuna, i redo all in chapter 23..
in my opinion maybe my man_db.conf is not correct
so druuna did you have a special word to fix this
 
Old 06-21-2011, 12:07 PM   #41
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Rep: Reputation: 226Reputation: 226Reputation: 226
pray
 
Old 06-21-2011, 12:09 PM   #42
happyrobo
Member
 
Registered: Jun 2011
Location: Indonesia
Posts: 37

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by spiky0011 View Post
pray
yes spike i already pray
any suggest tips for me?
 
Old 06-21-2011, 12:25 PM   #43
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Hi,
Quote:
Originally Posted by happyrobo View Post
in my opinion maybe my man_db.conf is not correct
The X related manual pages don't have anything to do with your current problems.


Are you using the wget files (additional downloads) and the Installation Scripts as provided in the user notes?

The wget file holds all the files and are in the order in which they need to be installed, the script will do all the work for you and will stop when something goes wrong. It must be run from the same terminal where the XORG_PREFIX and XORG_CONFIG variable are set.
 
Old 06-21-2011, 12:27 PM   #44
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Rep: Reputation: 226Reputation: 226Reputation: 226
Id love to but as I,m only a beginner as well I have Alot to learn so I watch every posting Stick with it read and follow book exactly IF I CAN I WILL TRY TO HELP
 
Old 06-21-2011, 06:38 PM   #45
happyrobo
Member
 
Registered: Jun 2011
Location: Indonesia
Posts: 37

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by druuna View Post
wget files
yes druuna, i use wget..

in chapter Xorg Libraries
Code:
case $(basename "$PWD") in
libXfont-[0-9]* )
                 ./configure $XORG_CONFIG --disable-devel-docs
                 ;;
   libXt-[0-9]* )
                 ./configure $XORG_CONFIG \
                     --with-appdefaultdir=/etc/X11/app-defaults
                 ;;
              * )
                 ./configure $XORG_CONFIG
                 ;;
esac &&
make
I found that I don't have /etc/X11/app-defaults, is that the causes of error?

I also check my man_bd.conf and there are still any <PREFIX>
ex:
Code:
MANPATH_MAP	<PREFIX>/bin		<PREFIX>/man
MANPATH_MAP	/usr/bin/X11		<PREFIX>/man

Last edited by happyrobo; 06-21-2011 at 06:43 PM.
 
  


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


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

Main Menu
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