source: xsoft/graphweb/mozilla/mozilla-inst.xml@ 2b36b6b

10.0 10.1 11.0 11.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 krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb v1_0 v5_0 v5_0-pre1 v5_1 v5_1-pre1 xry111/intltool xry111/test-20220226
Last change on this file since 2b36b6b was 2b36b6b, checked in by Larry Lawrence <larry@…>, 20 years ago

update to qt-3.0.6, openoffice inst correction, move prefix of mozilla to /usr

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

  • Property mode set to 100644
File size: 4.6 KB
Line 
1<sect2>
2<title>Installation of mozilla</title>
3
4<para>Install mozilla by running the following commands (don't forget to
5bunzip2 the patch file first):</para>
6
7<para><screen><userinput>export MOZILLA_OFFICIAL="1" &amp;&amp;
8export BUILD_OFFICIAL="1" &amp;&amp;
9export MOZ_INTERNAL_LIBART_LGPL="1" &amp;&amp;
10cd extensions &amp;&amp;
11rm -rf spellcheck &amp;&amp;
12tar -xjf ../../mozilla-&mozilla-version;-spellchecker.tar.bz2 &amp;&amp;
13cd .. &amp;&amp;
14patch -Np1 -i ../mozilla-&mozilla-version;.patch &amp;&amp;
15./configure --prefix=&mozilla-prefix; \
16 --enable-default-mozilla-five-home \
17 --with-x --with-system-zlib \
18 --with-system-jpeg --with-system-png --with-system-mng \
19 --enable-xft --enable-crypto \
20 --enable-java-supplement \
21 --disable-jsd --disable-accessibility \
22 --disable-tests --disable-debug \
23 --enable-optimize=-O3 --disable-dtd-debug \
24 --disable-logging --enable-reorder \
25 --enable-strip --enable-elf-dynstr-gc \
26 --enable-cpp-rtti --enable-extensions=all,spellcheck \
27 --enable-svg
28make &amp;&amp;
29make install &amp;&amp;
30install -d &mozilla-prefix;/include/mozilla-&mozilla-version;/security &amp;&amp;
31cp -Lf dist/private/security/*.h dist/public/security/*.h \
32 &mozilla-prefix;/include/mozilla-&mozilla-version;/security &amp;&amp;
33install -d &mozilla-prefix;/lib/mozilla-&mozilla-version;/openoffice &amp;&amp;
34cp -f dist/lib/libembed_base_s.a dist/lib/liblber50.a \
35 dist/lib/libmozreg_s.a &mozilla-prefix;/lib/mozilla-&mozilla-version;/openoffice &amp;&amp;
36ln -nsf mozilla-&mozilla-version; &mozilla-prefix;/include/mozilla &amp;&amp;
37ln -nsf mozilla-&mozilla-version; &mozilla-prefix;/lib/mozilla &amp;&amp;
38ln -sf mozilla &mozilla-prefix;/bin/netscape &amp;&amp;
39cd &mozilla-prefix;/lib/mozilla-&mozilla-version; &amp;&amp;
40export LD_LIBRARY_PATH="&mozilla-prefix;/lib/mozilla-&mozilla-version;" &amp;&amp;
41export MOZILLA_FIVE_HOME="&mozilla-prefix;/lib/mozilla-&mozilla-version;" &amp;&amp;
42./regxpcom &amp;&amp;
43./regchrome &amp;&amp;
44touch `find &mozilla-prefix;/lib/mozilla-&mozilla-version; -name *.rdf`</userinput></screen></para>
45
46</sect2>
47
48<sect2>
49<title>Optional Extra Switches</title>
50
51<para>Each of these switches can be added to the configure line in order to
52have the described effect on the mozilla compile.</para>
53
54<para><userinput>--disable-mailnews</userinput>: Disable the mail and news
55clients.</para>
56
57<para><userinput>--disable-ldap</userinput>: Disable LDAP Support,
58recommended if mail is disabled.</para>
59
60<para><userinput>--enable-calendar</userinput>: Build the calendar client.
61You will need to download the calendar source via cvs since it is not included
62with the release source.
63(Warning, this option is not yet stable).</para>
64
65<para><userinput>--enable-xterm-updates</userinput>: This option is
66for enabling the xterm title with the current command when compiling.</para>
67
68<para><userinput>--enable-plaintext-editor-only</userinput>: Disable support
69for HTML editing.</para>
70
71<para><userinput>--enable-default-toolkit=gtk2</userinput>: In theory
72mozilla now supports both gtk 1.2 and gtk 2.0. To enable gtk2 support, use
73this option. People have however had problems getting a usable gtk2
74built even with this and patches. There is also support for other toolkits
75available but this support is known to be unstable. If you want to try one,
76we suggest doing a normal build first and then only trying the other
77toolkits when you know you can get a standard build to work.</para>
78
79<para>According to the financial institutions, the following hack makes your
80browser insecure. You have been warned. Many sites use an MS-IE specific tag
81(autocomplete=off) to prevent autocomplete from working in some forms. This
82tag is now supported in mozilla to appease the financial institutions. As per
83the requirements of the financial institutions, they will not even accept a
84solution where this a preference option. However our opinion is that it should
85be in the hands of the user. To enable autocomplete to bypass
86this restriction, we need to make a slight modification in the code.</para>
87
88<para>Open the file <filename>extensions/wallet/src/wallet.cpp</filename> in
89the mozilla source tree and search for the line:
90<screen>#define WALLET_DONT_CACHE_ALL_PASSWORDS</screen>
91Then delete or comment out the line. If anyone tells you MS-IE is user
92friendly, give them this example! Note that unlike the patch referred to in
93the hint, the patch on the BLFS website does not contain this hack so you
94will need to enable it manually if you want it use it or download it from the
95hint site.</para>
96
97</sect2>
Note: See TracBrowser for help on using the repository browser.