source: xsoft/suites/openoffice/openoffice-inst.xml@ 5d7b0f95

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

removed optimizations from openoffice

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

  • Property mode set to 100644
File size: 2.7 KB
RevLine 
[b6f200a]1<sect2>
2<title>Installation of openoffice</title>
3
[e3f4d3e]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
[5d7b0f95]17<para>If you want to optimize the build, edit
18<userinput>solenv/inc/unxlngi4.mk</userinput> and add the desired optimization
19flags to CFLAGSOPT variable. Some users have reported problems with
20-fomit-frame-pointer. The best option is to not use any custom optimizations.
21The following command removes an incorrect -mcpu option in the above file.</para>
[e3f4d3e]22
23<para><screen><userinput>cd solenv/inc &amp;&amp;
24cp unxlngi4.mk unxlngi4.mk.orig &amp;&amp;
[5d7b0f95]25sed -e "s:\-mcpu=pentiumpro::" \
[e3f4d3e]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;
[b6f200a]35cd .. &amp;&amp;
[e3f4d3e]36source LinuxIntelEnv.Set.sh</userinput></screen></para>
[b6f200a]37
[90c4b57d]38<para>Compile openoffice using the following commands.</para>
[b6f200a]39
[e3f4d3e]40<para><screen><userinput>./bootstrap &amp;&amp;
[90c4b57d]41dmake</userinput></screen></para>
42
43<para>If you have downloaded localized helpcontent zip files, you will need
44to unzip them to the appropriate directory as mentioned below and then recreate
45the installation set.</para>
46
47<para><screen><userinput>cd solver/641/unxlngi4.pro/pck &amp;&amp;
48for i in $(ls ../../../../../helpcontent_*_unix.tgz)
49do
50tar -xvzf $i
51done &amp;&amp;
52cd ../../../../instsetoo &amp;&amp;
53rm -rf unxlngi4.pro &amp;&amp;
[e3f4d3e]54dmake &amp;&amp;
[90c4b57d]55cd ..</userinput></screen></para>
56
57<para>Install OpenOffice using the following commands. The following commands
58install the English language set. To install a localized version, replace the
5901 by the international telephone country code for your country. Note that when
60installing, it needs a X Display, evn though there is no visible X window. You
61can use Xvfb if you are compiling on a console.</para>
62
63<para><screen><userinput>cd instsetoo/unxlngi4.pro/01/normal &amp;&amp;
[e3f4d3e]64./install --prefix=/opt &amp;&amp;
65for appl in swriter scalc sdraw simpress smath soffice
[90c4b57d]66do ln -sf /opt/openoffice/program/$appl /usr/bin/$appl
[e3f4d3e]67done</userinput></screen></para>
[b6f200a]68
69</sect2>
70
Note: See TracBrowser for help on using the repository browser.