mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-04 15:37:16 +08:00
2b36b6bfd1
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@352 af4574ff-66df-0310-9fd7-8a98e5e911e0
32 lines
1.1 KiB
XML
32 lines
1.1 KiB
XML
<sect2>
|
|
<title>Installation of openoffice</title>
|
|
|
|
<para>Install openoffice by running the following commands:</para>
|
|
|
|
<para><screen><userinput>
|
|
mv ../gpc231/gpc.* external/gpc &&
|
|
patch -Np1 -i ../openoffice-1.0.1.patch &&
|
|
cd config_office/ &&
|
|
autoconf &&
|
|
./configure --enable-gcc3 --with-jdk-home=${JAVA_HOME} \
|
|
--with-lang=ENUS --with-x --with-stlport4-home=/usr &&
|
|
cd .. &&
|
|
mkdir -p solver/641/unxlngi4.pro/inc/ &&
|
|
touch solver/641/unxlngi4.pro/inc/minormkchanged.flg &&
|
|
mkdir -p solver/641/unxlngi4.pro/lib/ &&
|
|
cp -f /usr/lib/libstdc++.so.5* /usr/lib/libgcc_s.so* \
|
|
solver/641/unxlngi4.pro/lib/ &&
|
|
chmod +x solenv/bin/zipdep.pl &&
|
|
tcsh -c "source LinuxIntelEnv.Set; ./bootstrap" &&
|
|
tcsh -c "source LinuxIntelEnv.Set; dmake" &&
|
|
cd instsetoo/unxlngi4.pro/01/normal &&
|
|
./install --prefix=/opt &&
|
|
for appl in swriter scalc sdraw simpress smath soffice; do \
|
|
ln -sf /opt/openoffice/program/$appl /usr/X11R6/bin/$appl; done
|
|
|
|
</userinput></screen></para>
|
|
|
|
|
|
</sect2>
|
|
|