source: xsoft/graphweb/mozilla/mozilla-inst.xml@ b4169fa9

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb v5_1 v5_1-pre1 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since b4169fa9 was b4169fa9, checked in by Tushar Teredesai <tushar@…>, 20 years ago

Fixed Mozilla-Enigmail, Bug 620

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

  • Property mode set to 100644
File size: 4.7 KB
RevLine 
[2aaa7e5]1<sect2>
[21456e1]2<title>Installation of <application>Mozilla</application></title>
[2aaa7e5]3
[a41bc9f4]4<!--
[904004f]5<note>
[1c6182e]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
[46bca118]9tag is now supported in <application>Mozilla</application> to appease the financial institutions. As per
[1c6182e]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
[46bca118]16the <application>Mozilla</application> source tree and search for the line:
[1c6182e]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>
[904004f]20</note>
[a41bc9f4]21-->
[1c6182e]22
[eef5089b]23<para>If you plan to install Enigmail, extract the ipc and enigmail tarballs
[f92a515]24in the <filename class="directory">extensions</filename> directory.</para>
25
26<para>Compile <application>Mozilla</application> by running the following
[904004f]27commands:</para>
28
29<screen><userinput><command>export MOZILLA_OFFICIAL="1" &amp;&amp;
30export BUILD_OFFICIAL="1" &amp;&amp;
31./configure --prefix=/usr \
[cf47a113]32 --with-default-mozilla-five-home=/usr/lib/mozilla \
33 --enable-default-toolkit=gtk2 \
[2aaa7e5]34 --with-x --with-system-zlib \
35 --with-system-jpeg --with-system-png --with-system-mng \
36 --enable-xft --enable-crypto \
[f5b4f72]37 --disable-accessibility \
[2aaa7e5]38 --disable-tests --disable-debug \
39 --disable-logging --enable-reorder \
[583cf2e4]40 --enable-strip --disable-pedantic \
[0f47226]41 --enable-cpp-rtti --enable-extensions=all &amp;&amp;
[f92a515]42make</command></userinput></screen>
43
44<para>If installing Enigmail, execute the following steps:</para>
45
[b4169fa9]46<screen><userinput><command>build/autoconf/make-makefile extensions/ipc extensions/enigmail &amp;&amp;
47make -C extensions/ipc &amp;&amp;
48make -C extensions/enigmail</command></userinput></screen>
[f92a515]49
50<para>Install <application>Mozilla</application> as follows:</para>
51
52<screen><userinput><command>make install &amp;&amp;
[65adb85]53install -d /usr/include/mozilla-&mozilla-version;/nss &amp;&amp;
[1c6182e]54cp -Lf dist/private/nss/*.h dist/public/nss/*.h \
[65adb85]55 /usr/include/mozilla-&mozilla-version;/nss &amp;&amp;
56ln -nsf mozilla-&mozilla-version; /usr/include/mozilla &amp;&amp;
[f92a515]57ln -nsf mozilla-&mozilla-version; /usr/lib/mozilla</command></userinput></screen>
58
[167dc1dc]59<para>Some libraries installed by mozilla are also needed by other packages. These
60libraries should be in <filename>/usr/lib</filename> so that other packages can
61link against these. Move them as follows:</para>
62
63<screen><userinput><command>for i in lib{nspr4,plc4,plds4,nss3,smime3,softokn3,ssl3}.so libsoftokn3.chk
64do
65 mv /usr/lib/mozilla-&mozilla-version;/$i /usr/lib/
66 ln -sf ../$i /usr/lib/mozilla-&mozilla-version;/
67done</command></userinput></screen>
68
[f92a515]69<para>Install Enigmail as follows:</para>
70
[b4169fa9]71<screen><userinput><command>make -C extensions/ipc install &amp;&amp;
72make -C extensions/enigmail install</command></userinput></screen>
[f92a515]73
74<para>To enable multi-user operation, execute the following:</para>
75
76<screen><userinput><command>cd /usr/lib/mozilla-&mozilla-version; &amp;&amp;
[65adb85]77export LD_LIBRARY_PATH="/usr/lib/mozilla-&mozilla-version;" &amp;&amp;
78export MOZILLA_FIVE_HOME="/usr/lib/mozilla-&mozilla-version;" &amp;&amp;
[2aaa7e5]79./regxpcom &amp;&amp;
80./regchrome &amp;&amp;
[65adb85]81touch `find /usr/lib/mozilla-&mozilla-version; -name *.rdf`</command></userinput></screen>
[2aaa7e5]82
83</sect2>
84
85<sect2>
86<title>Optional Extra Switches</title>
87
88<para>Each of these switches can be added to the configure line in order to
[237b6d9]89have the described effect on the <application>Mozilla</application> compile.</para>
[2aaa7e5]90
[2be0e0d]91<para><option>--enable-elf-dynstr-gc</option>: Removes un-referenced
[21456e1]92strings from <acronym>ELF</acronym> shared objects generated during the build.
93Note that this option breaks build on alpha.</para>
[766e17e]94
[237b6d9]95<para><option>--disable-mailnews</option>: Disable the mail and news
[2aaa7e5]96clients.</para>
97
[237b6d9]98<para><option>--disable-ldap</option>: Disable <acronym>LDAP</acronym>
[21456e1]99Support, recommended if mail is disabled.</para>
[2aaa7e5]100
[e49080a]101<para><option>--enable-calendar</option>: Build the calendar client.</para>
[2aaa7e5]102
[237b6d9]103<para><option>--enable-xterm-updates</option>: This option is
[21456e1]104for enabling the <command>xterm</command> title with the current command when
105compiling.</para>
[2aaa7e5]106
[237b6d9]107<para><option>--enable-plaintext-editor-only</option>: Disable support
[21456e1]108for <acronym>HTML</acronym> editing. Do not use this switch if you are building
109the mail-news component.</para>
[2aaa7e5]110
111</sect2>
Note: See TracBrowser for help on using the repository browser.