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

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

Update to OpenOffice 1.0.2

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

  • Property mode set to 100644
File size: 1.9 KB
Line 
1<sect2>
2<title>Installation of openoffice</title>
3
4<para>Note that openoffice has problems with <userinput>bison-1.875</userinput>. Downgrade to
5<userinput>bison-1.75</userinput> or install bison-1.75 with an alternate
6prefix (e.g. /opt/bison-1.75) and put $bison_prefix/bin as the first
7entry in the PATH.</para>
8
9<para>Apply the downloaded patches and copy gpc files.</para>
10
11<para><screen><userinput>mv ../gpc231/* external/gpc &amp;&amp;
12rm -rf ../gpc231 &amp;&amp;
13for p in ../openoffice-&openoffice-version;-*.patch
14do patch -Np1 -i $p
15done</userinput></screen></para>
16
17<para>The optimization flags need to be manually added.</para>
18
19<para><screen><userinput>cd solenv/inc &amp;&amp;
20cp unxlngi3.mk unxlngi3.mk.orig &amp;&amp;
21sed -e "s:^CFLAGSOPT=.*:CFLAGSOPT=${CFLAGS}:g" \
22unxlngi3.mk.orig &gt; unxlngi3.mk &amp;&amp;
23cp unxlngi4.mk unxlngi4.mk.orig &amp;&amp;
24sed -e "s:^CFLAGSOPT=.*:CFLAGSOPT=${CFLAGS}:g" \
25-e "s:\-mcpu=pentiumpro::" \
26unxlngi4.mk.orig &gt; unxlngi4.mk &amp;&amp;
27cd ../..</userinput></screen></para>
28
29<para>Configure openoffice using the following commands. You may add additional
30languages based on your preferences. If a particuar component is not available
31in the language of your choice, the default will be English.</para>
32
33<para><screen><userinput>cd config_office/ &amp;&amp;
34./configure --with-lang=ENUS --with-stlport4-home=/usr &amp;&amp;
35cd .. &amp;&amp;
36source LinuxIntelEnv.Set.sh</userinput></screen></para>
37
38<para>Compile openoffice using the following commands. Note that when
39installing, it needs a X Display. You can use Xvfb if
40you are compiling on a console.</para>
41
42<para><screen><userinput>./bootstrap &amp;&amp;
43dmake &amp;&amp;
44cd instsetoo/unxlngi4.pro/01/normal &amp;&amp;
45./install --prefix=/opt &amp;&amp;
46for appl in swriter scalc sdraw simpress smath soffice
47do ln -sf /opt/openoffice/program/$appl /usr/X11R6/bin/$appl
48done</userinput></screen></para>
49
50</sect2>
51
Note: See TracBrowser for help on using the repository browser.