Subject: Re: staroffice
To: David Wetzel <dave@turbocat.de>
From: None <rmcm@compsoft.com.au>
List: netbsd-help
Date: 01/18/2002 11:00:39
David Wetzel writes:
 > Rex McMaster wrote:
 > 
 > 
 > > Yes, and stable. A couple of minor hacks to the setup and soffice scripts are
 > > needed
 > >         - location of /bin/test ( near top of scripts )
 > >         - need to set SAL_IGNOREXERRORS=1 if you want to run on 
 > >           remote display.
 > > 
 > > then you can do network installs.
 > 
 > What I did was to get the german staroffice version 5.2 and I installend on my linux box in /usr/local/staroffice52
 > 
 > then I copied the directory to the netbsd box.
 > I get coredumps all over the place now.
 > My opera and acrobat work fine what is wrong here?
 > 

here is the method used here;

     - install (network installation - /net) office52 on linux (/opt/office52)
     - mkdir -p /usr/pkg/emul/linux/opt
     - ln -fsh /usr/pkg/emul/linux/opt /opt
     - copy tree from LINUX to NetBSD
            - ssh linuxhost -C /opt -cf - office52 | \
                  tar -C /usr/pkg/emul/linux/opt -xpf -

     - patch /opt/office52/program/setup

          *** setup.orig  Mon Oct 29 06:10:00 2001
          --- setup       Mon Oct 29 10:25:17 2001
          ***************
          *** 7,11 ****
            sd_platform=`uname -s`
            case $sd_platform in
          !         SCO_SV) test=/bin/test     ;;
                    *)      test=/usr/bin/test ;;
            esac
          --- 7,11 ----
            sd_platform=`uname -s`
            case $sd_platform in
          !         SCO_SV|NetBSD) test=/bin/test     ;;
                    *)      test=/usr/bin/test ;;
            esac
          ***************
          *** 43,46 ****
          --- 43,52 ----
                   export LD_LIBRARY_PATH
                   ;;
          +   NetBSD)
          +          ## Ignore errors with remote display
          +          SAL_IGNOREXERRORS=1 export SAL_IGNOREXERRORS
          +          LD_LIBRARY_PATH=.:../lib:$LD_LIBRARY_PATH
          +          export LD_LIBRARY_PATH
          +          ;;
              Linux)
                   LD_LIBRARY_PATH=.:../lib:$LD_LIBRARY_PATH
          
     - patch /opt/office52/program/setup

          *** soffice.orig        Mon Oct 29 06:10:00 2001
          --- soffice     Mon Oct 29 07:22:14 2001
          ***************
          *** 15,22 ****
            # set -x
           
            # resolve installation directory
            sd_platform=`uname -s`
            case $sd_platform in
          !       SCO_SV) test=/bin/test     ;;
                  *)      test=/usr/bin/test ;;
            esac
          --- 15,24 ----
            # set -x
           
          + ## Ignore errors with remote display
          + SAL_IGNOREXERRORS=1 export SAL_IGNOREXERRORS
            # resolve installation directory
            sd_platform=`uname -s`
            case $sd_platform in
          !       SCO_SV|NetBSD) test=/bin/test     ;;
                  *)      test=/usr/bin/test ;;
            esac
          
 > thanks a lot!
 > 
 > ---
 >    _  _
 >  _(_)(_)_  David Wetzel, Turbocat's Development,
 > (_) __ (_) Buchhorster Strasse 23, D-16567 Muehlenbeck/Berlin, FRG,
 >   _/  \_   Fax +49 33056 82835 Phone +49 33056 82834
 >  (______)  http://www.turbocat.de/  dave@turbocat.de
 > 
 > >> Send by TCWebMail http://www.turbocat.de/products/

-- 
Rex McMaster