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

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_0 v5_1 v5_1-pre1 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since cfe26169 was cfe26169, checked in by Tushar Teredesai <tushar@…>, 20 years ago

openoffice, nas, portmap fixes

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

  • Property mode set to 100644
File size: 3.0 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. If a particular component is not available
26in the language of your choice, the default will be English. The following option
27compiles all available languages.</para>
28
29<screen><userinput><command>cd config_office/ &amp;&amp;
30./configure --with-lang=ALL &amp;&amp;
31cd ..</command></userinput></screen>
32
33<para>Compile <application>OpenOffice</application> using the following
34commands.</para>
35
36<note><para>Openoffice fails to compile if the umask is set to something exotic.
37Set umask to 022 if you normally set it to something else.</para></note>
38
39<screen><userinput><command>./bootstrap &amp;&amp;
40bash -c "source LinuxIntelEnv.Set.sh; dmake"</command></userinput></screen>
41
42<para>If you have downloaded localized help content zip files, you will need
43to unzip them to the appropriate directory as mentioned below and then recreate
44the installation set.</para>
45
46<screen><userinput><command>cd solver/645/unxlngi4.pro/pck &amp;&amp;
47for i in $(ls ../../../../../helpcontent_*_unix.tgz)
48do
49tar -xvzf $i
50done &amp;&amp;
51cd ../../../../instsetoo &amp;&amp;
52rm -rf unxlngi4.pro &amp;&amp;
53cd .. &amp;&amp;
54bash -c "source LinuxIntelEnv.Set.sh ; dmake"</command></userinput></screen>
55
56<para>Install <application>OpenOffice</application> using the following
57commands. The following commands install the English language set. To install a localized version, replace the
5801 by the international telephone country code for your country. Note that when
59installing, it needs a <application>X</application> Display, even though there
60is no visible <application>X</application> window. You
61can use <application>Xvfb</application> if you are compiling on a console.</para>
62
63<screen><userinput><command>cd instsetoo/unxlngi4.pro/01/normal &amp;&amp;
64cp install install.orig &amp;&amp;
65sed -e "s:^oo_home=.*:oo_home=openoffice:" install.orig > install &amp;&amp;
66./install --prefix=/opt &amp;&amp;
67for appl in swriter scalc sdraw simpress smath soffice spadmin
68do ln -sf /opt/openoffice/program/$appl /usr/bin/$appl
69done</command></userinput></screen>
70
71</sect2>
72
Note: See TracBrowser for help on using the repository browser.