LFS構築記4日目〜その他諸々のパッケージのインストール

user-pic
0

LFS Book: 5.13.Gawk-3.1.4〜5.32.Perl-5.8.7

次なるステップは暫定環境に必要な残り20種類ものパッケージをひたすらインストールしていきます。
実行コマンドは以下の通りです。

Gawk-3.1.4
$ cd $LFS/sources/gawk-3.1.4
$ ./configure --prefix=/tools
$ make
$ make install

Coreutils-5.2.1
$ cd $LFS/sources/coreutils-5.2.1
$ DEFAULT_POSIX2_VERSION=199209 \
>./configure --prefix=/tools
$ make
$ make install

Bzip2-1.0.3
$ cd $LFS/sources/bzip2-1.0.3
$ make
$ make PREFIX=/tools install

Gzip-1.3.5
$ cd $LFS/sources/gzip-1.3.5
$ ./configure --prefix=/tools
$ make
$ make install

Diffutils-2.8.1
$ cd $LFS/sources/diffutils-2.8.1
$ ./configure --prefix=/tools
$ make
$ make install

Findutils-4.2.23
$ cd $LFS/sources/findutils-4.2.23
$ ./configure --prefix=/tools
$ make
$ make install

Make-3.80
$ cd $LFS/sources/make-3.80
$ ./configure --prefix=/tools
$ make
$ make install

Grep-2.5.1a
$ cd $LFS/sources/grep-2.5.1a
$ ./configure --prefix=/tools --disable-perl-regexp
$ make
$ make install

Sed-4.1.4
$ cd $LFS/sources/sed-4.1.4
$ ./configure --prefix=/tools
$ make
$ make install

Gettext-0.14.3
$ cd $LFS/sources/gettext-0.14.3
$ ./configure --prefix=/tools \
>--disable-libasprintf \
>--without-csharp
$ make
$ make install

Ncurses-5.4
$ cd $LFS/sources/ncurses-5.4
$ ./configure \
>--prefix=/tools \
>--with-shared \
>--without-debug \
>--without-ada \
>--enable-overwrite
$ make
$ make install

Patch-2.5.4
$ cd $LFS/sources/patch-2.5.4
$ CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/tools
$ make
$ make install

Tar-1.15.1
$ cd $LFS/sources/tar-1.15.1
$ ./configure --prefix=/tools
$ mkae
$ make install

Texinfo-4.8
$ cd $LFS/sources/texinfo-4.8
$ ./configure --prefix=/tools
$ make
$ make install

Bash-3.0
$ cd $LFS/sources/bash-3.0
$ patch -Np1 -i ../bash-3.0-avoid_WCONTINUED-1.patch
$ ./configure --prefix=/tools --without-bash-malloc
$ make
$ make install
$ ln -vs bash /tools/bin/sh

M4-1.4.3
$ cd $LFS/sources/m4-1.4.3
$ ./configure --prefix=/tools
$ make
$ make install

Bison-2.0
$ cd $LFS/sources/bison-2.0
$ ./configure --prefix=/tools
$ make
$ make install

Flex-2.5.31
$ cd $LFS/sources/flex-2.5.31
$ patch -Np1 -i ../flex-2.5.31-debian_fixes-3.patch
$ touch doc/flex.1
$ ./configure --prefix=/tools
$ make
$ make install

Util-linux-2.12q
$ cd $LFS/sources/util-linux-2.12q
$ sed -i 's@/usr/include@/tools/include@g' configure
$ ./configure
$ make -C lib
$ make -C mount mount umount
$ make -C text-utils more
$ cp mount/{,u}mount text-utils/more /tools/bin

Perl-5.8.7
$ cd $LFS/sources/perl-5.8.7
$ patch -Np1 -i ../perl-5.8.7-libc-1.patch
$ ./configure.gnu \
>--prefix=/tools \
>-Dstatic_ext='IO Fcntl POSIX'
$ make perl utilities
$ cp -v perl pod/pod2man /tools/bin
$ mkdir -pv /tools/lib/perl5/5.8.7
$ cp -Rv lib/* /tools/lib/perl5/5.8.7

難しいことはありません。パッケージによっては若干違いがありますが、基本的にはただひたすら、
./configure → make → make installを実行していくだけです。

トラックバック(0)

トラックバックURL: http://www.skucky.com/cgi-bin/mt/mt-tb.cgi/16

コメントする

このブログ記事について

このページは、webmasterが2006年12月31日 17:38に書いたブログ記事です。

ひとつ前のブログ記事は「LFS構築記4日目〜binutilsのインストール(二発目)」です。

次のブログ記事は「LFS構築記4日目〜暫定環境最後の仕上げ」です。

最近のコンテンツはインデックスページで見られます。過去に書かれたものはアーカイブのページで見られます。