source: xsoft/suites/openoffice/openoffice-inst.xml@ 6e405cb

10.0 10.1 11.0 11.1 11.2 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 v5_0 v5_0-pre1 v5_1 v5_1-pre1 xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since 6e405cb was 6e405cb, checked in by Tushar Teredesai <tushar@…>, 19 years ago

Updated OpenOffice and Removed STLport

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

  • Property mode set to 100644
File size: 3.0 KB
Line 
1<sect2>
2<title>Installation of openoffice</title>
3
4<!--
5<para>Note that openoffice has problems with
6<application>bison-1.875</application>. Downgrade to
7<application>bison-1.75</application> or install
8<application>bison-1.875b</application> with an alternate
9prefix (e.g. <filename>/opt/bison-1.75</filename>) and put <filename
10class="directory">$bison_prefix/bin</filename> as the first
11entry in the <envar>PATH</envar>.</para>
12-->
13
14<para>Apply the downloaded patches and copy gpc files.</para>
15
16<para><screen><userinput>mv ../gpc231/* external/gpc &amp;&amp;
17rm -rf ../gpc231 &amp;&amp;
18for p in ../openoffice-&openoffice-version;-*.patch
19do patch -Np1 -i $p
20done</userinput></screen></para>
21
22<para>If you want to optimize the build, edit
23<filename>solenv/inc/unxlngi4.mk</filename> and add the desired optimization
24flags to <envar>CFLAGSOPT</envar> variable. Some users have reported problems with
25-fomit-frame-pointer. The best option is to not use any custom optimizations.
26The following command removes an incorrect -mcpu option in the above file.</para>
27
28<para><screen><userinput>cd solenv/inc &amp;&amp;
29cp unxlngi4.mk unxlngi4.mk.orig &amp;&amp;
30sed -e "s:\-mcpu=pentiumpro::" \
31unxlngi4.mk.orig &gt; unxlngi4.mk &amp;&amp;
32cd ../..</userinput></screen></para>
33
34<para>Configure openoffice using the following commands. You may build install
35sets for only specific languages based on your preferences. If a particular component is not available
36in the language of your choice, the default will be English. The following option
37compiles all available languages.</para>
38
39<para><screen><userinput>cd config_office/ &amp;&amp;
40./configure --with-lang=ALL &amp;&amp;
41cd ..</userinput></screen></para>
42
43<para>Compile openoffice using the following commands.</para>
44
45<para><screen><userinput>./bootstrap &amp;&amp;
46bash -c "source LinuxIntelEnv.Set.sh; dmake"</userinput></screen></para>
47
48<para>If you have downloaded localized helpcontent zip files, you will need
49to unzip them to the appropriate directory as mentioned below and then recreate
50the installation set.</para>
51
52<para><screen><userinput>cd solver/641/unxlngi4.pro/pck &amp;&amp;
53for i in $(ls ../../../../../helpcontent_*_unix.tgz)
54do
55tar -xvzf $i
56done &amp;&amp;
57cd ../../../../instsetoo &amp;&amp;
58rm -rf unxlngi4.pro &amp;&amp;
59dmake &amp;&amp;
60cd ..</userinput></screen></para>
61
62<para>Install OpenOffice using the following commands. The following commands
63install the English language set. To install a localized version, replace the
6401 by the international telephone country code for your country. Note that when
65installing, it needs a X Display, even though there is no visible X window. You
66can use Xvfb if you are compiling on a console.</para>
67
68<para><screen><userinput>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
73do ln -sf /opt/openoffice/program/$appl /usr/bin/$appl
74done</userinput></screen></para>
75
76</sect2>
77
Note: See TracBrowser for help on using the repository browser.