this time i did below code in a file:
build_lib.sh
[ i should not follow this but while doing post#1 i am getting error:
so i just take help of
http://www.theskycenter.info/blfs/xorg
-i am following official online book-http://www.linuxfromscratch.org/blfs/view/svn/x/x7lib.html]
Create build script :
root[home/janu/Downloads/xc/lib]#cat >build_lib.sh << "EOF"
# build packages
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 )
;;
libXfont-1.4.3 )
;;
esac &&
./configure $XORG_CONFIG
make
make install
ldconfig
cd ..
rm -rf $packagedir
#rm -f $package
done 2>&1 | tee -a ../lib-7.6-1-compile.log #log the entire loop
EOF
root[home/janu/Downloads/xc/lib]#chmod 755 build_lib.sh
Build and install :
root[home/janu/Downloads/xc/lib]#./build_lib.sh
result is:
it scrolling very lengthy compilation.....
at
last below message on[one error] screen:
checking for
XKBFILE ....configure :errorackage requirements(x11 kbproto ) were not me:
no package 'x11' not found
consider adjusting the PKG_COFIG_PATH environment variable if you installed software in a non-standard prefix
Alternatively, you may set the environment variable XKBFILE_CFLAGS and XKBFILE_LIBS_LIBS to avoid the need to call pkg-config.
see the pkg-config man page foe more details
make:***no targets specified and no makefile found. stop
make:***no rule to make target 'install'. stop
ldconfig:/usr/lib/libstdc++.so.6.0.14-db.py is not a ELF file - it has the wrong magic bytes at the rest.
any one help ????