source: xsoft/suites/openoffice/openoffice-inst.xml@ 714882c

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 xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 714882c was 714882c, checked in by Bruce Dubbs <bdubbs@…>, 17 years ago

Grammar

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

  • Property mode set to 100644
File size: 3.2 KB
Line 
1<sect2>
2<title>Installation of <application>OpenOffice</application></title>
3
4<para>Apply the downloaded patches and optionally copy the gpc files.</para>
5
6<screen><userinput><command>mv ../gpc231/* external/gpc &amp;&amp;
7for p in ../openoffice-&openoffice-version;-*.patch
8do patch -Np1 -i $p
9done</command></userinput></screen>
10
11<para>If you want to optimize the build, edit
12<filename>solenv/inc/unxlngi4.mk</filename> and add the desired optimization
13flags to the <envar>CFLAGSOPT</envar> variable. Some users have reported problems with
14-fomit-frame-pointer. The best option is to not use any custom optimizations.
15The following command removes an incorrect -mcpu option in the above file.</para>
16
17<screen><userinput><command>sed -i "s:\-mcpu=pentiumpro::" \
18solenv/inc/unxlngi4.mk</command></userinput></screen>
19
20<para>Configure openoffice using the following commands. You may build install
21sets for only specific languages based on your preferences.
22If a particular component is not available
23in the language of your choice, the default will be English.
24The following option
25compiles all available languages. If you restrict the languages, be sure to
26add ENUS to the list; otherwise the build fails. Also, the build fails when
27the environment variable <envar>LANG</envar> is
28set. Unset it before compiling.</para>
29
30<screen><userinput><command>cd config_office/ &amp;&amp;
31./configure --with-lang=ALL \
32--with-dict=ALL --without-fonts \
33--enable-libsn --with-system-zlib &amp;&amp;
34cd ..</command></userinput></screen>
35
36<para>Compile <application>OpenOffice</application> using the following
37commands.</para>
38
39<note><para>Openoffice fails to compile if the umask is set to something exotic.
40Set umask to 022 if you normally set it to something else.</para></note>
41
42<screen><userinput><command>./bootstrap &amp;&amp;
43bash -c "source LinuxIntelEnv.Set.sh; dmake"</command></userinput></screen>
44
45<para>If you have downloaded localized help content zip files, you will need
46to unzip them to the appropriate directory as mentioned below and then recreate
47the installation set.</para>
48
49<screen><userinput><command>cd solver/645/unxlngi4.pro/pck &amp;&amp;
50for i in $(ls ../../../../../helpcontent_*_unix.tgz)
51do
52tar -xvzf $i
53done &amp;&amp;
54cd ../../../../instsetoo &amp;&amp;
55rm -rf unxlngi4.pro &amp;&amp;
56cd .. &amp;&amp;
57bash -c "source LinuxIntelEnv.Set.sh ; dmake"</command></userinput></screen>
58
59<para>Install <application>OpenOffice</application> using the following
60commands to install the English language set. To install a localized version,
61replace the 01 with the international telephone country code for your country.
62Note that when installing, <application>OpenOffice</application> needs an
63<application>X</application> display, even though there is no visible
64<application>X</application> window. You can use
65<application>Xvfb</application> if you are compiling on a console.</para>
66
67<screen><userinput><command>cd instsetoo/unxlngi4.pro/01/normal &amp;&amp;
68sed -i "s:^oo_home=.*:oo_home=openoffice:" install &amp;&amp;
69./install --prefix=/opt &amp;&amp;
70for appl in swriter scalc sdraw simpress smath soffice spadmin
71do ln -sf /opt/openoffice/program/$appl /usr/bin/$appl
72done</command></userinput></screen>
73
74</sect2>
75
Note: See TracBrowser for help on using the repository browser.