source: xsoft/graphweb/mozilla/mozilla-inst.xml@ 8a039e2

10.0 10.1 11.0 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk v5_1 v5_1-pre1 xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 8a039e2 was 8a039e2, checked in by Tushar Teredesai <tushar@…>, 18 years ago

Fixed mozilla typo

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1883 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.0 KB
Line 
1<sect2>
2<title>Installation of <application>Mozilla</application></title>
3
4<!--
5<note>
6<para>According to the financial institutions, the following hack makes your
7browser insecure. You have been warned. Many sites use an MS-IE specific tag
8(autocomplete=off) to prevent autocomplete from working in some forms. This
9tag is now supported in <application>Mozilla</application> to appease the financial institutions. As per
10the requirements of the financial institutions, they will not even accept a
11solution where this a preference option. However our opinion is that it should
12be in the hands of the user. To enable autocomplete to bypass
13this restriction, we need to make a slight modification in the code.</para>
14
15<para>Open the file <filename>extensions/wallet/src/wallet.cpp</filename> in
16the <application>Mozilla</application> source tree and search for the line:
17<screen>#define WALLET_DONT_CACHE_ALL_PASSWORDS</screen>
18Then delete or comment out the line. Now, if anyone tells you MS-IE is user
19friendly, give them this example!</para>
20</note>
21-->
22
23<warning><para>Do not install Mozilla, Mozilla Firefox and Mozilla Thunderbird
24with a single prefix since they install identically named files. The BLFS Book
25installs Mozilla in <filename>/usr</filename> while Mozilla Firefox and Mozilla
26Thunderbird are installed in <filename>/opt</filename>.</para></warning>
27
28<para>If you plan to install Enigmail, extract the ipc and enigmail tarballs
29in the <filename class="directory">extensions</filename> directory.</para>
30
31<para>Compile <application>Mozilla</application> by running the following
32commands:</para>
33
34<screen><userinput><command>export MOZILLA_OFFICIAL="1" &amp;&amp;
35export BUILD_OFFICIAL="1" &amp;&amp;
36./configure --prefix=/usr \
37 --with-default-mozilla-five-home=/usr/lib/mozilla \
38 --enable-default-toolkit=gtk2 \
39 --with-x --with-system-zlib \
40 --with-system-jpeg --with-system-png --with-system-mng \
41 --enable-xft --enable-crypto \
42 --disable-accessibility \
43 --disable-tests --disable-debug \
44 --disable-logging --enable-reorder \
45 --enable-strip --disable-pedantic \
46 --enable-cpp-rtti --enable-extensions=all &amp;&amp;
47make</command></userinput></screen>
48
49<para>If installing Enigmail, execute the following steps:</para>
50
51<screen><userinput><command>build/autoconf/make-makefile extensions/ipc extensions/enigmail &amp;&amp;
52make -C extensions/ipc &amp;&amp;
53make -C extensions/enigmail</command></userinput></screen>
54
55<para>Install <application>Mozilla</application> as follows:</para>
56
57<screen><userinput><command>make install &amp;&amp;
58install -d /usr/include/mozilla-&mozilla-version;/nss &amp;&amp;
59cp -Lf dist/private/nss/*.h dist/public/nss/*.h \
60 /usr/include/mozilla-&mozilla-version;/nss &amp;&amp;
61ln -nsf mozilla-&mozilla-version; /usr/include/mozilla &amp;&amp;
62ln -nsf mozilla-&mozilla-version; /usr/lib/mozilla</command></userinput></screen>
63
64<para>Some libraries installed by mozilla are also needed by other packages. These
65libraries should be in <filename>/usr/lib</filename> so that other packages can
66link against these. Move them as follows:</para>
67
68<screen><userinput><command>for i in lib{nspr4,plc4,plds4,nss3,smime3,softokn3,ssl3}.so libsoftokn3.chk
69do
70 mv /usr/lib/mozilla-&mozilla-version;/$i /usr/lib/
71 ln -sf ../$i /usr/lib/mozilla-&mozilla-version;/
72done</command></userinput></screen>
73
74<para>Install Enigmail as follows:</para>
75
76<screen><userinput><command>make -C extensions/ipc install &amp;&amp;
77make -C extensions/enigmail install</command></userinput></screen>
78
79<para>To enable multi-user operation, execute the following:</para>
80
81<screen><userinput><command>cd /usr/lib/mozilla-&mozilla-version; &amp;&amp;
82export LD_LIBRARY_PATH="/usr/lib/mozilla-&mozilla-version;" &amp;&amp;
83export MOZILLA_FIVE_HOME="/usr/lib/mozilla-&mozilla-version;" &amp;&amp;
84./regxpcom &amp;&amp;
85./regchrome &amp;&amp;
86touch `find /usr/lib/mozilla-&mozilla-version; -name *.rdf`</command></userinput></screen>
87
88</sect2>
89
90<sect2>
91<title>Optional Extra Switches</title>
92
93<para>Each of these switches can be added to the configure line in order to
94have the described effect on the <application>Mozilla</application> compile.</para>
95
96<para><option>--enable-elf-dynstr-gc</option>: Removes un-referenced
97strings from <acronym>ELF</acronym> shared objects generated during the build.
98Note that this option breaks build on alpha.</para>
99
100<para><option>--disable-mailnews</option>: Disable the mail and news
101clients.</para>
102
103<para><option>--disable-ldap</option>: Disable <acronym>LDAP</acronym>
104Support, recommended if mail is disabled.</para>
105
106<para><option>--enable-calendar</option>: Build the calendar client.</para>
107
108<para><option>--enable-xterm-updates</option>: This option is
109for enabling the <command>xterm</command> title with the current command when
110compiling.</para>
111
112<para><option>--enable-plaintext-editor-only</option>: Disable support
113for <acronym>HTML</acronym> editing. Do not use this switch if you are building
114the mail-news component.</para>
115
116</sect2>
Note: See TracBrowser for help on using the repository browser.