RE: Star Office 5.1

From: Meissner, Norbert <norbert.meissner(at)daimlerchrysler.com>
Date: Fri, 7 Jan 2000 14:56:06 +0100

> -----Original Message-----
> From: timo(at)rixdorf.NET [SMTP:timo(at)rixdorf.NET]
> Sent: Friday, January 07, 2000 2:20 PM
> To: norbert.meissner(at)daimlerchrysler.com
> Cc: de-bsd-questions(at)DE.FreeBSD.ORG
> Subject: Re: Star Office 5.1
>
> Hi,
>
> On Fri, 7 Jan 2000, Meissner, Norbert wrote:
> > gestern habe ich versucht das StarOffice 5.1 (deutsche Version) auf
> meinem
> > BSD 3.3 zum laufen zu bringen.
> > Mit einem bisschen Hilfe aus dem Internet (FreeBSDRocks-Howto) lief die
> > Installation denn auch, wenn ich es
> > aber starten will, komme ich aber immer wieder in der Installation
> heraus
> > (Star Office ist in /usr/local/Office51
> > installiert, wollen Sie Komponenten hinzufügen, deinstallieren oder
> > reparieren --- so in der Art). Hat das schon
> > einer gelöst?
>
> Wenn Du das als user (also !root) startest, will StarOffice fuer den
> entsprechenden User einen Bereich mit Deinen individuellen Einstellungen
> anlegen. Leider bietet er Dir per default /usr/local/Office51 an, wo Du
> als normaler User kein Schreibrecht hast. Versuchs mit einem anderen Pfad
> (~username/Office51 oder so), dann sollte es funktionieren.
>
> Gruesse
> Timo
>
> --
> "Hey Pitr? In computer terms, what does a 'K' represent?"
> "1024. You are askink why ?"
> "Doesn't take Y2K take place in the year 2048 then ?"
> -- UF, Dec. 31, 1999
>
        Ich habe das als root gemacht, ich hänge mal die Anleitung unten
dran

        Build new kernel with:

            options "P1003_1B"
            options "_KPOSIX_PRIORITY_SCHEDULING"
            options "_KPOSIX_VERSION=199309L"

        append to /etc/rc.conf

            linux_enable="YES"

        cd /usr/local/src
        tar xf /somewhere/so51a_lnx_49.tar
        cd /tmp
        mkdir sosetup
        cd sosetup
        unzip -L /usr/local/src/so51inst/office51/setup.zip
        echo "/tmp/sosetup" >> /compat/linux/etc/ld.so.conf
        /compat/linux/sbin/ldconfig
        cd /usr/local/src/so51inst/office51
        ./setup
        < installation starts >
        rm -rf /tmp/sosetup
        rm -rf /usr/local/src/so51inst
        vi /compat/linux/etc/ld.so.conf
        <exchange /tmp/sosetup with /usr/local/Office51/lib>
        cd /usr/local/Office51/lib
        mv libosl517li.so libosl517li.so.bak
        sed -e 's,/proc/%u/cmdline,/compat/linux/so,' \
        < libosl517li.so.bak > libosl517li.so
        touch /compat/linux/so

        vi /usr/local/Office51/bin/soffice
        <exchange>
            case $sd_platform in
                    SCO_SV) test=/bin/test; ;;
                    *) test=/usr/bin/test; ;;
            esac

            sd_cwd="`pwd`"
            if $test -L "$0" ; then

        with

            case $sd_platform in
                    FreeBSD) test=/bin/test; symb=-h ;;
                    SCO_SV) test=/bin/test; symb=-L ;;
                    *) test=/usr/bin/test; symb=-L ;;
            esac

            sd_cwd="`pwd`"
            if $test $symb "$0" ; then
        < :wq>

        vi /usr/local/bin/soffice
        <type in>
        #!/bin/sh
        
#---------------------------------------------------------------------------

---
	#       soffice
	#       Based on a script by Warren Toomey <wkt(at)cs.adfa.edu.au>.
	#       Modified by Ken McGlothlen <mcglk(at)serv.net>.
	#       Build an Office51 symlink tree for the user if the user
doesn't have
	#       one already, and then launch StarOffice.
	
#---------------------------------------------------------------------------
---
	
#---------------------------------------------------------------------------
---
	#       so_src is where you installed StarOffice.
	#       so_dst is where you want it to go for each user.
	
#---------------------------------------------------------------------------
---
	so_src=/usr/local/Office51
	so_dst=$HOME/Office51
	# If the destination directory doesn't exist. . . .
	if [ ! -d $so_dst ]
	then
	        echo ''
	        echo Making StarOffice directory tree in $HOME/Office51.
	        echo '[Versions]' > $HOME/.sversionrc
	        echo "StarOffice 5.1=$so_dst" >> $HOME/.sversionrc
	        mkdir $so_dst
	        chdir $so_src
	        # Make all the subdirectories necessary.
	        echo "(subdirectories . . . )"
	        find * -type d -exec mkdir -p $so_dst/{} \;
	        # Create the symbolic tree farm.
	        echo "(symbolic links . . . )"
	        find * -type f -exec ln -s $so_src/{} $so_dst/{} \;
	        # Now copy a few directories.  Sorry about the "rm"---we get
a little
	        # redundant.
	        echo "(user directories . . . )"
	        rm -rf $so_dst/Desktop $so_dst/basic $so_dst/config
$so_dst/explorer
	        tar cf - Desktop basic config explorer | (cd $so_dst; tar xf
-)
	        echo ''
	        echo "Done."
	        echo ''
	fi
	exec $so_src/bin/soffice $*
	< :wq>
	chmod a+rx /usr/local/bin/soffice
	/usr/local/bin/soffice
	< MIST!!!>
	So lief das alles ab, hast du noch eine Idee??
	Viele Grüße
	Norbert
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Fri 07 Jan 2000 - 14:56:48 CET

search this site