Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Aug 2000 08:05:56 +0200
From:      "Ralf S. Engelschall" <rse@engelschall.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: FreeBSD Port: staroffice-5.1a
Message-ID:  <20000814080556.A19251@engelschall.com>

next in thread | raw e-mail | index | archive | help

In article <20000813163452.C516@luna.osd.bsdi.com> you wrote:
> On Sun, 13 Aug 2000 at 12:15:17 -0400, Barella, Scott wrote:
>> Any chance there will soon be a Staroffice 5.2 port.  I'm a newbie
>> trying to install ports for my 4.1 BSD Box.
> 
> Not unless someone submits a diff or the maintainer has some extra time
> on his hands to make it work under FreeBSD.  I've heard a few reports
> that 5.2 was a major PITA to get working.
> [...]

The trouble with 5.2 might exists on older FreeBSD 3.x or 4.0 or with an
out-dated linux_base, but with a fresh 4.1-STABLE and a fresh linux_base, I
was able to successfully install StarOffice 5.2 twice on different boxes with
the appended script. Feel free to turn this script into a new port for
StarOffice 5.2.
                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com
#!/bin/sh

echo "1. Creating run-time environment in /compat/linux/tmp/office52"
rm -rf /compat/linux/tmp/office52
mkdir -p /compat/linux/tmp/office52
unzip -d /compat/linux/tmp/office52 -X -x so-5_2-ga-bin-linux-en.bin
rm -rf /compat/linux/tmp/soffice.tmp 
rm -rf /compat/linux/tmp/sv001.tmp 
chmod a+x so-5_2-ga-bin-linux-en.bin

echo "2. Installing StarOffice 5.2 into /usr/local/lib/office52"
mkdir -p /usr/local/lib/office52
(LD_LIBRARY_PATH="/lib:/usr/lib:/usr/i486-linux-libc5/lib:/usr/X11R6/lib:/tmp/office52"
 export LD_LIBRARY_PATH
 HOME=/usr/local/lib; export HOME
 /compat/linux/bin/sh -c './so-5_2-ga-bin-linux-en.bin /net')

echo "3. Creating wrapper script /usr/local/bin/soffice"
cat >/usr/local/bin/soffice <<EOT
#!/bin/sh
cd /usr/local/lib/office52/program
/compat/linux/bin/sh soffice "\$@"
EOT
chmod a+rx /usr/local/bin/soffice

echo "4. Cleaning up"
rm -rf /compat/linux/tmp/office52
rm -rf /compat/linux/tmp/soffice.tmp 
rm -rf /compat/linux/tmp/sv001.tmp 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000814080556.A19251>