source: xsoft/suites/openoffice/openoffice-inst.xml@ cf47a113

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 upgradedb v5_1 v5_1-pre1 xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since cf47a113 was cf47a113, checked in by Tushar Teredesai <tushar@…>, 18 years ago

Nmap, Imagemagick, TCL, TK updates and Mozilla, OO nitpicks

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