mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-25 07:42:13 +08:00
b6f200a416
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@222 af4574ff-66df-0310-9fd7-8a98e5e911e0
31 lines
1.0 KiB
XML
31 lines
1.0 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" &&
|
|
./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>
|
|
|