From owner-freebsd-questions Sat Sep 23 18:49:17 2000 Delivered-To: freebsd-questions@freebsd.org Received: from groggy.anc.ptialaska.net (groggy.anc.ptialaska.net [198.70.228.224]) by hub.freebsd.org (Postfix) with ESMTP id 1596637B422 for ; Sat, 23 Sep 2000 18:49:10 -0700 (PDT) Received: (from abc@localhost) by groggy.anc.ptialaska.net (8.9.3/8.9.3) id BAA89337 for "freebsd-questions" ; Sun, 24 Sep 2000 01:48:56 GMT (envelope-from groggy@iname.com) Date: Sun, 24 Sep 2000 01:48:56 GMT From: groggy@iname.com Message-Id: <200009240148.BAA89337@groggy.anc.ptialaska.net> X-Authentication-Warning: groggy.anc.ptialaska.net: abc set sender to groggy@iname.com using -f Subject: StarOffice 5.2 FBSD 3.5.1 X-Mailer: Umail v1.3 (FreeBSD) To: "freebsd-questions" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG i searched everywhere for SO 5.2 and FBSD 3.5.1, but couldn't find anything. seems like people said "get FBSD 4.1" or whatever ... or "use SO 5.1a". well - if this saves some people with FBSD 3.5.1 from struggling with SO 5.2, so be it - if not, so be it :) but i wish i woulda had something like this so i didn't have to waste a whole day :) good luck :) and thanks to the list for help in the past ... -- #!/bin/sh # SO 5.2 install on 3.5.1 ... # a crummy hack, but it may help. # i really got better things to do :) # must be root. L="/compat/linux" # linux_base-6.1 ... I="/bsd/packages" # SO bin directory ... # relative to the linux root i guess ... export LD_LIBRARY_PATH=/usr/local/bin:/usr/local/office52/program # clean out previous root install stuff. rm 2>&- -r /root/.kde /root/.sversionrc rm 2>&- -r $L/usr/local/lib $L/usr/local/office52 # make sure you understand this first!!! echo "requires unzip & KPOSIX stuff in 3.5.1 kernel & linux_base-6.1 ..." echo "this install script assumes SO is the ONLY/1st linux app ..." echo "you MUST enter /usr/local/office52 for SO home directory ..." echo "CTRL-C to abort ..." read x # prepare for the worst. mkdir 2>&- $L/usr/local mkdir 2>&- $L/usr/local/lib mkdir 2>&- $L/usr/local/office52 ln -sf $L/usr/bin/test /usr/bin/test # SO zipped binaries / Install directory. cd $I # get needed install libs & run install ... unzip -d so so-* chmod 0555 so/*.so mv so/*.so $L/usr/local/lib rm -r so echo "/usr/local/lib" > $L/etc/ld.so.conf echo "/usr/X11R6/lib" >> $L/etc/ld.so.conf echo "/usr/i486-linux-libc5/lib" >> $L/etc/ld.so.conf echo "/usr/local/office52/program" >> $L/etc/ld.so.conf ./so-* # finish up stuff - all members of group wheel can run SO ... $L/sbin/ldconfig -r $L /usr/local/lib /usr/local/office52/program cd $L/usr/local/office52 chmod -R root:wheel . chmod -R 0770 . echo "now copy /root/.kde and /root/sv* to user home directories ..." echo "and, of course, check all permissions / ownerships therein ..." echo "and, you can use system.twmrc to make a \"SO/user\" softlink" echo " to simulate multiple users - the /net thing didn't work for me ..." echo "and edit Xpdefaults if needed (gets corrupt), use GENERIC stuff ..." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message