Sıfırdan Linux 4 – tcl, expect, dejagnu, check, ncurses, bash, bzip2



Sıfırdan LinuxDerlemeye devam…

tcl-8.6.1 için

cd /mnt/lfs/sources
tar -zxf tcl8.6.1-src.tar.gz

cd tcl8.6.1/unix

./configure –prefix=/tools
make

TZ=UTC make test

Failed 0 dedi.

make install

chmod -v u+w /tools/lib/libtcl8.6.so

make install-private-headers
ln -sv tclsh8.6 /tools/bin/tclsh

_____________________________________________________________________________

expect5.45’teyiz

cd /mnt/lfs/sources
tar -zxf expect5.45.tar.gz
cd expect5.45

cp -v configure{,.orig}
sed ‘s:/usr/local/bin:/bin:’ configure.orig > configure

./configure –prefix=/tools –with-tcl=/tools/lib –with-tclinclude=/tools/include

make
make test

29’unu da geçti.

make SCRIPTS=”” install
_____________________________________________________________________________

dejagnu’deyiz

cd /mnt/lfs/sources
tar -zxf dejagnu-1.5.1.tar.gz
cd dejagnu-1.5.1

./configure –prefix=/tools
make install
make check
_____________________________________________________________________________

check-0.9.12 için

cd /mnt/lfs/sources
tar -zxf check-0.9.12.tar.gz
cd check-0.9.12

PKG_CONFIG= ./configure –prefix=/tools
make
make check
make install
_____________________________________________________________________________

ncurses için

cd /mnt/lfs/sources
tar -zxf ncurses-5.9.tar.gz
cd ncurses-5.9

./configure –prefix=/tools –with-shared –without-debug –without-ada –enable-widec –enable-overwrite

make
make install
_____________________________________________________________________________

bash-4.2’de ilk defa bir patch uygulayacağız

cd /mnt/lfs/sources
tar -zxf bash-4.2.tar.gz
cd bash-4.2




patch -Np1 -i ../bash-4.2-fixes-12.patch

./configure –prefix=/tools –without-bash-malloc

make
make tests
make install

Ve bashımızı bağlayalım 🙂

ln -sv bash /tools/bin/sh
_____________________________________________________________________________

bzip2 kısa sürecek

cd /mnt/lfs/sources
tar -zxf bzip2-1.0.6.tar.gz
cd bzip2-1.0.6

make
make PREFIX=/tools install
Beşinci yazıda derlemeye devam.




Bir Cevap Yazın

E-posta hesabınız yayımlanmayacak.