Date: Sun, 24 Sep 2000 01:48:56 GMT From: groggy@iname.com To: "freebsd-questions" <questions@freebsd.org> Subject: StarOffice 5.2 FBSD 3.5.1 Message-ID: <200009240148.BAA89337@groggy.anc.ptialaska.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009240148.BAA89337>