LFS構築記15日目〜Firefox,thunderbirdのインストール

user-pic
0

BLFS Book:
Chapter35.Graphical Web Browsers~Firefox-1.0.6
Chapter36.Other X-based Internet Programs~Thunderbird-1.0.6

前回でGUIアプリのインストール準備が完了したので、いよいよFirefoxをインストールします。かなり巨大なアプリケーションなので、コンパイルにはそれ相応の時間がかかります。
Firefox-1.0.6
$ wget http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.0.6/source/firefox-1.0.6-source.tar.bz2
$ tar jxvf firefox-1.0.6-source.tar.bz2
$ cd mozilla
$ export MOZILLA_OFFICIAL="1"
$ export BUILD_OFFICIAL="1"
$ export MOZ_PHOENIX="1"
$ ./configure --prefix=/usr \
>--with-default-mozilla-five-home=/usr/lib/firefox-1.0 \
>--with-user-appdir=.firefox \
>--with-system-zlib \
>--with-system-png \
>--with-system-jpeg \
>--enable-application=browser \
>--enable-default-toolkit=gtk2 \
>--enable-extensions=cookie,xml-rpc,xmlextras,pref,transformiix,universalchardet,webservices,inspector,gnomevfs,negotiateauth \
>--enable-crypto \
>--enable-xft \
>--enable-xinerama \
>--enable-optimize \
>--enable-reorder \
>--enable-strip \
>--enable-cpp-rtti \
>--enable-single-profile \
>--disable-freetype2 \
>--disable-accessibility \
>--disable-debug \
>--disable-tests \
>--disable-logging \
>--disable-pedantic \
>--disable-installer \
>--disable-mailnews \
>--disable-ldap \
>--disable-composer \
>--disable-profilesharing
$ make
$ su
# make install
# install -d /usr/include/firefox-1.0.6/nss
# cp -Lf dist/private/nss/*.h dist/public/nss/*.h /usr/include/firefox-1.0.6/nss
# cd /usr/lib/firefox-1.0.6
# export LD_LIBRARY_PATH="$PWD"
# export MOZILLA_FIVE_HOME="$PWD"
# ./regxpcom
# ./regchrome
# touch `find . -name *.rdf`
# firefox ← rootでログインし直して実行

インストール後は、先にrootでfirefoxを実行します。これにより、Firefoxが使用するシステムディレクトリが作成されます。rootで起動が成功したら、一般ユーザーでも起動を確認しておきます。

次はThunderbirdのインストールです。Linux Worldの方ではSylpheedをインストールしていますが、ここはBLFS Bookにも記載されているThunderbirdをインストールしてみます。

Thunderbird-1.0.6
$ wget http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/1.0.6/source/thunderbird-1.0.6-source.tar.bz2
$ wget http://downloads.mozdev.org/enigmail/src/enigmail-0.92.0.tar.gz
$ wget http://downloads.mozdev.org/enigmail/src/ipc-1.1.3.tar.gz
$ mv mozilla mozilla.firefox ← firefox展開時のディレクトリをリネーム
$ tar jxvf thunderbird-1.0.6-source.tar.bz2
$ cd mozilla
$ export MOZILLA_OFFICIAL="1"
$ export BUILD_OFFICIAL="1"
$ export MOZ_THUNDERBIRD="1"
$ sed -i -e 's/$(destdir)$(bindir)/$(DESTDIR)$(mozappdir)/' mail/app/Makefile.in
$ ./configure --prefix=/usr \
>--with-default-mozilla-five-home=/usr/lib/thunderbird-1.0.6 \
>--with-system-zlib \
>--with-system-png \
>--with-system-jpeg \
>--enable-application=mail \
>--enable-default-toolkit=gtk2 \
>--enable-extensions=wallet,spellcheck,xmlextras,webservices \
>--enable-crypto \
>--enable-xft \
>--enable-xinerama \
>--enable-optimize \
>--enable-reorder \
>--enable-strip \
>--enable-cpp-rtti \
>--enable-single-profile \
>--enable-necko-protocols=http,file,jar,viewsource,res,data \
>--enable-image-decoders=default,-xbm \
>--disable-freetype2 \
>--disable-accessibility \
>--disable-debug \
>--disable-tests \
>--disable-logging \
>--disable-pedantic \
>--disable-installer \
>--disable-profilesharing \
>--disable-mathtml \
>--disable-oji \
>--disable-plugins \
>--disable-necko-disk-cache
$ make
$ tar zxvf ../enigmail-0.92.0.tar.gz -C extensions
$ tar xzvf ../ipc-1.1.3.tar.gz -C extensions
$ build/autoconf/make-makefile extensions/ipc extensions/enigmail
$ make -C extensions/ipc
$ make -C extensions/enigmail
$ su
# make install
# install -d /usr/include/thunderbird-1.0.6/nss
# cp -Lf dist/private/nss/*.h dist/public/nss/*.h /usr/include/thunderbird-1.0.6/nss
# make -C extensions/ipc install
# make -C extensions/enigmail install
# cd /usr/lib/thunderbird-1.0.6
# export LD_LIBRARY_PATH="$PWD"
# export MOZILLA_FIVE_HOME="$PWD"
# ./regxpcom
# ./regchrome
# touch `find . -name *.rdf`

トラックバック(0)

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

コメントする

このブログ記事について

このページは、webmasterが2007年1月13日 02:40に書いたブログ記事です。

ひとつ前のブログ記事は「LFS構築記15日目〜GUIアプリケーションのインストール準備」です。

次のブログ記事は「LFS構築記15日目〜XFceのインストール」です。

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