Installation of MozillaDo not install Mozilla, Mozilla Firefox and Mozilla Thunderbird
with a single prefix since they install identically named files. The BLFS Book
installs Mozilla in /usr while Mozilla Firefox and Mozilla
Thunderbird are installed in /opt.If you plan to install Enigmail, extract the ipc and enigmail tarballs
in the extensions directory.Compile Mozilla by running the following
commands:export MOZILLA_OFFICIAL="1" &&
export BUILD_OFFICIAL="1" &&
./configure --prefix=/usr \
--with-default-mozilla-five-home=/usr/lib/mozilla \
--enable-default-toolkit=gtk2 \
--with-x --with-system-zlib \
--with-system-jpeg --with-system-png --with-system-mng \
--enable-xft --enable-crypto \
--disable-accessibility \
--disable-tests --disable-debug \
--disable-logging --enable-reorder \
--enable-strip --disable-pedantic \
--enable-cpp-rtti --enable-extensions=all &&
makeIf installing Enigmail, execute the following steps:build/autoconf/make-makefile extensions/ipc extensions/enigmail &&
make -C extensions/ipc &&
make -C extensions/enigmailInstall Mozilla as follows:make install &&
install -d /usr/include/mozilla-&mozilla-version;/nss &&
cp -Lf dist/private/nss/*.h dist/public/nss/*.h \
/usr/include/mozilla-&mozilla-version;/nss &&
ln -nsf mozilla-&mozilla-version; /usr/include/mozilla &&
ln -nsf mozilla-&mozilla-version; /usr/lib/mozillaSome libraries installed by mozilla are also needed by other packages. These
libraries should be in /usr/lib so that other packages can
link against these. Move them as follows:for i in lib{nspr4,plc4,plds4,nss3,smime3,softokn3,ssl3}.so libsoftokn3.chk
do
mv /usr/lib/mozilla-&mozilla-version;/$i /usr/lib/
ln -sf ../$i /usr/lib/mozilla-&mozilla-version;/
doneInstall Enigmail as follows:make -C extensions/ipc install &&
make -C extensions/enigmail installTo enable multi-user operation, execute the following:cd /usr/lib/mozilla-&mozilla-version; &&
export LD_LIBRARY_PATH="/usr/lib/mozilla-&mozilla-version;" &&
export MOZILLA_FIVE_HOME="/usr/lib/mozilla-&mozilla-version;" &&
./regxpcom &&
./regchrome &&
touch `find /usr/lib/mozilla-&mozilla-version; -name *.rdf`Optional Extra SwitchesEach of these switches can be added to the configure line in order to
have the described effect on the Mozilla compile.: Removes un-referenced
strings from ELF shared objects generated during the build.
Note that this option breaks build on alpha.: Disable the mail and news
clients.: Disable LDAP
Support, recommended if mail is disabled.: Build the calendar client.: This option is
for enabling the xterm title with the current command when
compiling.: Disable support
for HTML editing. Do not use this switch if you are building
the mail-news component.