
mkdir xc &&
cd xc
root[/home/janu/Downloads]#cd xc
root[/home/janu/Downloads.xc]#export XORG_PREFIX=/usr

root[/home/janu/Downloads.xc]#export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc \
--mandir=$XORG_PREFIX/share/man --localstatedir=/var"
 

root[/home/janu/Downloads.xc]#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
i am choosing here /usr so i can omit the futher steps @Setting up the Xorg Build Environment[pageno-743-
[If you've decided to use the standard /usr prefix, you can omit the remainder of this page]
root[/home/janu/Downloads/xc]#here i done all success util-macros-1.11.0

root[/home/janu/Downloads/xc/proto]#bash -e
result is:root[/home/janu/Downloads/xc/proto]#
then
root[/home/janu/Downloads/xc/proto]#for package in $(grep -v '^#' ../proto-7.6-1.wget)
do
packagedir=${package%.tar.bz2}
tar -xf $package
cd $packagedir
./configure $XORG_CONFIG
make install
cd ..
rm -rf $packagedir
done 2>&1 | tee -a ../proto-7.6-1-compile.log


root[/home/janu/Downloads/xc]#here i done all successfully
makedepend-1.0.3,libXau-1.0.6,libXdmcp-1.1.0,libpthread-stubs-0.3
,then >Python-2.6.4[xcb-proto Dependencies Required:Python-2.6.4]

root[/home/janu/Downloads/xc/Python-2.6.4]#make test
result same like:
http://www.linuxquestions.org/questions/linux-from-scratch-13/python-2-6-4-%5Bmake-test%5D-giving-error-882055/

root[/home/janu/Downloads/xc/Python-2.6.4]#make install &&
chmod -v 755 /usr/lib/libpython2.6.so.1.0
result:no errors
-----------------------------------------------------------------------------

when i doing ---- libxcb-1.7--------------
          
 libxcb-1.7 Dependencies
Required:
libXau-1.0.6,libXdmcp-1.1.0,libpthread-stubs-0.3,libxslt-1.1.26,xcb-proto-1.6
 here i done except libxml2-2.7.7 
so now libxslt Dependencies Required:

libxml2-2.7.7 
 janu[~Downloads/xc/libxml2-2.7.7]$make check
result: at last lines:
test cases:3 tests
Ran 2269 tests,15 errors,0leaks
total 2269 tests,15 erros,0 leaks
see runlconf.log for detailed output
15 errors were expected
make[1]: entering dir '/home/janu/Downloads/xc/libxml2-2.7.7/python'
making all in ,
making all in tests
## running Python regression etsts
--serialize.py
error serializing HTML document 4
make[1]: leaving directory '/home/janu/Downloads/xc/libxml2-2.7.7

then next
root[/home/janu/Downloads/xc]# here i done success:libxslt-1.1.26 
result:no errors
 at final 
root[/home/janu/Downloads/xc]# here i done libxcb-1.7
result:no errors
 
now   --------------Xorg Libraries--------------------------

result is:root[/home/janu/Downloads/xc/lib]#
[in my /xc dir lib-7.6-1.wget,lib-7.6-1.md5,lib dir:-in lib dir-libX11-1.4.0,xtrans-1.2.6 ....etc  were there]
root[/home/janu/Downloads/xc/lib]#bash -e
root[/home/janu/Downloads/xc/lib]#for package in $(grep -v '^#' ../lib-7.6-1.wget)
do
  packagedir=${package%.tar.bz2}
  tar -xf $package
  cd $packagedir
  case "$packagedir" in
  libX11-1.4.0 )
    # Uncomment if you did not build libxcb
    #CONFIGPARAMS="--without-xcb"
  esac &&
  ./configure $XORG_CONFIG $CONFIGPARAMS
  make
  make install
  unset CONFIGPARAMS
  ldconfig
  cd ..
  rm -rf $packagedir
done 2>&1 | tee -a ../lib-7.5-2-compile.log
[http://wiki.linuxfromscratch.org/blfs/wiki/Xorg7ProtocolHeaders]

result:checking......
checking......
checking......
make:entering dir 'home/janu/Doenloads/xc/lib/xtrans-1.2.6/docc
make:entering dir 'home/janu/Doenloads/xc/lib/*****[some versions]
 test -z ...........
.....
test z ...
.....
ldconfig:/usr/lib/libstdc++.so.6.0.14-gdb.py is not an ELF file -t has the wrong magic bytes at the start
bash:xtrans-1.2.6:command not found
 but
root[/home/janu/Downloads/xc/lib]# ls [here i checked]
here xtrans-1.2.6 file exist[ owner janu]
