�������: ������ (���� | �����������) ��RU opennet.me  
The OpenNET Project / Index page

[ ������� /+++ | ����� | ���� | ]

������� ������������ / ������ "������������ ��� Linux" / ���������� ���������

��������� Bash-2.05a

��������������� ����� ����������:           1 SBU 
����������� �������� ������������: 24 MB

��������� Bash

����� ��� ��� ���������� Bash, ���������, ��� � ����� ������� ������������ ���� ����� /usr/lib/libcurses.a � usr/lib/libncurses.a. ���� ��� ����������� - LFS system, ��� ����� ������ ���� �� ����� ��� �������, ��� �� � �������� ��������� ����������� �����.

���� ���� ������ ���, ������� ���������� ����� ���������� Ncurses, ��� ������ �������� ncurses-dev. ���� ���� ����� ��� ����������, ��� �� ������ ��� ��� ����������, ��������� ������� ���� ���� ������ ��� ���. �������� ���� libcurses.a �����������. � ����� ������, �������� ������������� ������ libcurses.a, �������� ��������� ������� � ������ ������������ root:

ln -s libncurses.a /usr/lib/libcurses.a

������ ����� ���������� ����������� Bash:

./configure --enable-static-link \
--prefix=$LFS/static --with-curses &&
make &&
make install

���� ������ make install ������ ��������� ��������� �� �������:

install-info: unknown option `--dir-file=/mnt/lfs/usr/info/dir' 
usage: install-info [--version] [--help] [--debug] [--maxwidth=nnn]
[--section regexp title] [--infodir=xxx] [--align=nnn]
[--calign=nnn] [--quiet] [--menuentry=xxx]
[--info-dir=xxx]
[--keep-old] [--description=xxx] [--test]
[--remove] [--] filename
make[1]: *** [install] Error 1
make[1]: Leaving directory `/mnt/lfs/usr/src/bash-2.05a/doc'
make: [install] Error 2 (ignored)

��� ��������, ��� � ��� Debian-2.2 (potato), � ������� ������������ ������ ������ ������ texinfo. ������ ������ �� ��������: �������� ������������ ����� ������ ����������� � ����� 6, ��� �������������� bash � ������������� ��������. � ������� ������ Debian (3.0; ��������� ��� ��������� Woody) ��� �������� �����������.

��������� ������

--enable-static-link: ��� ����� configure ��������� �� ������������� ����������� ������.

--prefix=$LFS/static: ��� ����� configure ������������ ��� ����� Bash � ���������� $LFS/static, ������� ����� ����������� /static ����� ����, ��� �� ������ � ������� LFS � ������� ������� chroot ��� ������������.

--with-curses: ��� ����� ��������� bash � ����������� curses ������ ������������ ���������� termcap.

���������� ������������� ��������� ����������� ������ bash � libncurses (����� ������� �� � termcap, �.�. � ����� ������ �� ��������������� Bash � ����� 6 � �������������� libncurses), ������ ��� ������� ������ ���������, ��� ����� Ncurses ���������� ���������. � �������� ������, ��� �������� �� ����� ���� ��� ����������� ������ Texinfo, �������� ���������� ���������� ncurses, �.�. � termcap �� ����� ���� �����������.

������� && � ����� ������ ������ ��������� �� ��, ��� ��������� ������� ������ ���� ��������� ���� � ��� ������, ���� ���������� ������� ���������� �������� 0 �� ������, �.�. ������� ��������� ��������. � ��� ������ ���� �� ��������� � ���������� ��� ������� � ��������, �� ��������� ���������, ��� ���� ������ ./configure ��� ����, �� ����������� ������� make, � �����, ���� ������� make ���� ����, �� ����������� ������� make install, � �.�.

���������� Bash

��������� ��������: ������ 2.05a.

���������

bash, sh (������ �� bash) � bashbug

��������

bash

bash - Bourne-Again SHell, ������ ������������ � Unix �������� ��������� �������������. Bash ��������� ������ �� ������������ �����, � ����������. ������������ ������ ���-����, ������������� ���������� ��������� � ��������� ���, �������� ��������� ���������.

bashbug

bashbug - ������, ���������� ������������ ���������� � ���������� ��������� �� ������� bash � ����������� �������.

sh

sh - ������������� ������ �� bash. ������ ��������� ��� sh, bash ��������� ������ ������ ������ sh ��� ������� ������������ ���������� POSIX.

����������� Bash

��������� ��������: ������ 2.05a.

Bash: bash, sh
Binutils: ar, as, ld, ranlib, size
Diffutils: cmp
Fileutils: chmod, cp, install, ln, ls, mkdir, mv, rm
Gcc: cc, cc1, collect2, cpp0, gcc
Grep: egrep, grep
Make: make
Gawk: awk
Sed: sed
Sh-utils: basename, echo, expr, hostname, sleep, uname
Texinfo: install-info
Textutils: cat, tr, uniq





������:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
�������:

�������� �� �����
���������� �� ���������
Created 1996-2026 by Maxim Chirkov
��������, ����������, ����������