From owner-freebsd-emulation Tue Nov 2 10:41:20 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from loki.intrepid.net (intrepid.net [204.71.127.3]) by hub.freebsd.org (Postfix) with ESMTP id 2EE8014CE8; Tue, 2 Nov 1999 10:40:33 -0800 (PST) (envelope-from mark@loki.intrepid.net) Received: (from mark@localhost) by loki.intrepid.net (8.8.5/8.8.5) id NAA17158; Tue, 2 Nov 1999 13:40:32 -0500 Message-ID: <19991102134031.B7641@intrepid.net> Date: Tue, 2 Nov 1999 13:40:31 -0500 From: Mark Conway Wirt To: freebsd-questions@freebsd.org, freebsd-emulation@freebsd.org Subject: StarOffice 5.1A Howto Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Seems like there are many questions on these lists about StarOffice. I've just successfully gotten SO5.1A to install and run on a 3.X machine, so I've put together a little HOWTO document on it (attached). If you have any questions or comments, please CC me on the reply, as I don't subscribe to these lists. Thanks! --Mark ------------------------------------------------------------------------ $Id: HOWTO,v 1.1 1999/11/02 18:33:38 mark Exp $ RUNNING STAROFFICE 5.1A ON FREEBSD 3.X INTRODUCTION Up until now, I've been successfully avoided "office productivity software," but a recent change in my employment has seen an increase in MS Word documents and X-Cell Spreadsheets trickling into my mailbox. I imagine that other people are in the same situation; the ubiquity of these format makes it harder and harder to ignore them. StarOffice offers FreeBSD'ers the ability to work within these formats, while retaining an intelligent and literate operating system. All of the information necessary to get the Linux version of StarOffice up and running on FreeBSD is already on the Net. Unfortunately, it's spread all over, and some of the information from older versions doesn't seem to work with SO 5.1A. I've gathered this information into one place (there is very little new information here). Following this information, it should be pretty easy to get it up and running on any reasonably current FreeBSD system. PREREQUISITES Kernel ------ First, your kernel mush be complied with the following options enabled: options "P1003_1B" options "_KPOSIX_PRIORITY_SCHEDULING" options "_KPOSIX_VERSION=199309L" Furthermore, while I'm not sure that it's strictly necessary, it's probably a good idea to enable System V Inter Process Communications: options SYSVSHM options SYSVSEM options SYSVMSG as many emulated programs require them. Before you compile your kernel with these options, however, you may need to patch it. StarOffice uses a Linux-like reading of the /proc file-system to process command line arguments. Code which emulates this facility has been added to the kernel recently (initially in January of 1999, but it looks like additional work was done in August. So, if you're not tracking -STABLE or -CURRENT, you'll want to verify that your kernel has this ability. I've attached a UUENCODED file of the patch at the end of this document. Decode it with "uudecode" and then check it against your procfs_status.c file: cd /usr/src/sys/miscfs/procfs/ patch -C < /path/to/procfs-status.patch If you see a message that both hunks were successfully applied, then you probably need the patch. You can apply it as above without the "-C" option: cd /usr/src/sys/miscfs/procfs/ patch < /path/to/procfs-status.patch (as root), and then recompile your kernel. Libraries --------- Make sure you have a current version of the Linux_lib port installed. On my system, I'm running 2.6, and it seems to work well. The package is in /usr/ports/emulators in case you haven't installed it. There is much discussion as to the version of Lib C necessary to run StarOffice. Libc 6 (aka glibc) is required, and the StarOffice Installation Document goes on about how to install them if you don't have them -- it even references a GZIP file that isn't present in the distributions (at least not in the down-load version). As of Linux_lib-2.6, however, glibc is included, you make sure that you've installed at least that version of the package. Utilities --------- You will need one of the unzip versions from /usr/ports/archivers Startup ------- You must ensure that Linux emulation is enabled on your machine. The easiest way to do so is to add the following line to /etc/rc.conf so that it will be enabled at boot: linux_enable="YES" If you're not sure if you're currently running the emulation module, you can use the kldstat command to verify all loaded kernel modules. If kldstat lists "linux.ko" you're set. If not, you can execute: kldload linux to enable this emulation on-the-fly. The above modification of /etc/rc.conf will enable it on boot. File System ----------- Like most modern "productivity" suites, StarOffice takes a hefty chunk of disk-space: make sure you install it to a partition with sufficient free real estate. One potential "gotcha" is the installation process itself. The setup program unzips megabytes of temporary files into /tmp. Many FreeBSD systems have small root partitions, so you may get "file system full" errors when you try to run the installation process. If you keep a small root partition, you may want to temporarily reassign /tmp to another partition. For example: cd / rmdir tmp ; # or "rm -R tmp" if it has stuff in it mkdir /usr/tmp ; # If it doesn't already exist ln -s /usr/tmp /tmp TWO WARNINGS! First, if you need to move /tmp for the installation process, don't remove it while you're in X windows. If you do, your X session will probably start acting flaky; if that happens, shut down X and restart it. Secondly, make sure to move /tmp back to the root partition when you're done: cd / rm tmp mkdir tmp chmod 1777 tmp As part of the boot-up sequence, some programs may need access to /tmp before the other partitions are mounted. Having said that, I've installed UN*X systems with /tmp in its own partition and not had problems -- I'm not sure if FreeBSD complains about this -- but if you don't already have /tmp in its own partition, make sure to change things back before your next reboot. PREPARING FOR SETUP You will need to unpack the tar file in a directory that has about 70 megabytes free. If you've unpacking it from a download, you may want to unpack it from one partition to another, depending upon just how much space you have free. For example, tar xvf so51a_lnx_01.tar -C /path/to/big/partition will unpack the files into /path/to/big/partition. This will also be useful for people who have the CD. Now that you have the files unpacked, you may want to look at the setup document provided in the so51inst/documentation directory. It's a PDF file, so you may need to install Acrobat As an added bonus [Acrobat is a good test to see if your machine is correctly running Linux programs]. DON'T RUN SETUP YET! Unfortunately, there are libraries that the setup process needs that you'll need to install by hand. Move the setup.zip file into a temporary directory and unzip it. Note that the libraries will need to be in lower case, so check the man page of your unzip to see if you can force that. My copy of unzip will do that with the "-L" option: unzip -L setup.zip After you've unziped the libraries in setup.zip, you'll need to move them into the /usr/compat/linux hierarchy. For example: mkdir /usr/compat/linux/usr/so5/ cp *.so /usr/compat/linux/usr/so5/ Next, you will need to modify your /usr/compat/linux/etc/ld.so.conf file so that it knows where to find these files. If you put them in the ./usr/so5 directory as above, add the line: /usr/so5 to this file and run /usr/compat/linux/sbin/ldconfig Please note that you no matter where you place these libraries in the hierarchy, don't include the "/usr/compat/linux/" path prefix. The linux ldconfig included in linux_libs seems to be chroot(8)ed, so it will assume that prefix. After you've completed the setup, so can remove this directory and the libraries that it contains, as well as removing the line that you've just added to ld.so.conf. StarOffice keeps it's own local copies of these that it adds to your LD_LIBRARY_PATH when you start it up. RUNNING SETUP OK! We're ready to run setup. Change to the unpacked directory and run ./setup /net as root to start the installation process. Choose a directory on a large partition and if everything has goes well, in a few minutes you will have the software installed. The StarOffice installation documents state that for a network install (the /net switch above) you should choose "custom" in the installation process and choose everything. I don't know if this is really necessary, but you may want to consider it. My guess is that one does this to be polite, but it's *possible* that the network installation requires files that aren't installed by default. If you're installing to a directory to which you have write access, it's probably not necessary to run as root. AFTER INSTALLATION Modifications to the soffice Script ----------------------------------- OK. You've installed the software, and you're ready to roll! Well...not quite. There are still a few things that you'll need to take care of. Change to the ./bin/ directory of the directory to which you installed the software. Make a backup of the soffice script (unless you like to live dangerously) and open it in your favorite text editor. There are a few lines that you'll need to change. First, change the line that defines "$test" from *) test=/usr/bin/test ;; to *) test=/bin/test ;; (unless your test really is in /usr/bin for some reason). Next, change the line that performs the test from: if $test -L "$0" ; then to if $test -f "$0" ; then Lastly, change the line that read sd_script=`ls -l $0 | sed "s/.*${sd_basename} -> //g"` to read instead sd_script=`ls $0 | sed "s/.*${sd_basename} -> //g"` and save your changes. Modifications to applicat.rdb ----------------------------- While the software will work at this point (but don't run it until you've done the personal installation below), the plug-ins will not work. Apparently, there is a file, applicat.rdb, that is modified in the setup process on Linux, but for some reason is not modified in the FreeBSD install. Fortunately, there is a work-around. At the end of this document there is a UUENCODED binary patch to this file. You will need the xdelta port to apply it (which is located in /usr/ports/misc). After uudecoding the patch, apply it to applicat.rdb: cd /office/bin/directory xdelta patch /path/to/patch/applicat.patch applicat.rdb This will create a file called applicat.rdb-GOOD in the current directory. Back up the old applicat.rdb (just in case) and copy the applicat.rdb-GOOD over top of it. PERSONAL SETUP Now that you've installed and patched the software, you will need to initialize it for each account that is to use it. Logged in as the account from which you will be using the software, change to the ./bin/ directory to which you installed and run ./setup This will copy about 3 megabytes of files you your home directory, query you for some information. This sets it up so that you will be able to use the software as "yourself." [NOTE: Because you installed the software as root, I'm not sure if this process can be run from the root account. When I tried it, it complained about the software already having been installed] And thats it! One more thing: As part of the personal setup, a copy of the soffice shell script is copied into your home directory. The software doesn't seem to work if you attempt to start it from there: instead, call it from the bin directory directly. You can make it easy on yourself by placing that directory in your path. Good Luck! THANKS TO: Most of the information in this document came from the many FreeBSD'ers who have been kind enough to post their knowledge to the web. I looked at a lot of site and postings; I hope I haven't overlooked anyone, but the list of thanks should include: Warren Toomey and Ken McGlothlen For information on the dynamic libs and kernel compilation Andrew Gordon For the procfs_status.c patch Darren Wiebe For the applicat.rdb patch AUTHOR Mark Conway Wirt All errors are mine, of course! PATCHES =============The procfs_status.c Patch======================= begin 644 procfs-status.patch M0V]N=&5N="U$97-C7,O='1Y+F@^"B`@(VEN8VQU9&4@/'-Y&5C+F@^"B`@"B`@:6YT"B`@<')O8V9S7V1O2!W;W5L M9"!R97%U:7)E"B$@"2`J(&=R;W!I;F<@87)O=6YD(&EN('1H92!P&QE;B`M/2!U:6\M/G5I;U]O9F9S970["BTM M+2`Q-C@L,C`W("TM+2T*("`)"7)E='5R;B`H14]03D]44U504"D["B`@"B`@ M"2\J"B$@"2`J(%1H:7,@:7,@82!H86-K.B!T:&4@8V]R2!I;7!L96UE;G1E9"!F;W(*(2`)("H@=&AE(&-A0HA(`D@ M*B!D;VXG="!F86QL(&)A8VL@;VX@<"T^<%]C;VUM(&]R(')E='5R;B!A;B!E M"!B96AA=FEO=7(@:7,@ M=&\@71E&QE;B`M/2!U 0:6\M/G5I;U]O9F9S970["F5N ` end ===============The applicat.rdb Patch========================= begin 644 applicat.patch M)5A$6C`P,B4````(`!$`$0`8@```&8````````````!A<'!L:6-A="YR9&(N M;W)I9V%P<&QI8V%T+G)D8BU'3T]$'XL(`````````YU;"5S-V1<_*DM*J.3W M$IIL23TI0A*%E*4-E674JUZTJ/0J&339LD9(3-DC:S)-C>Q)5,I.$OJ'2,9$ M,2&&_^_>U[OOU^\^R^3SF>'4N>>>>^[WWGNVWZA)$^T%M@>+P%?0^)>!LL!# M?&7G9%`"`*48^-+X!Y':B[3NV0U>T#[%MV$77&5$O33T809F:R%C8RG(;#]Z ML*W_EK8J%^<`K&;0CZ"FM;<9IF.EM*%52@FFES#V%H>B82T2D]-$S(E?IY4M MW?[S(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org; Tue, 2 Nov 1999 21:09:37 +0100 (CET) (envelope-from freebsd-emulation@scc.nl) Received: from GATEWAY by dwarf.hq.scc.nl with netnews for emulation@FreeBSD.org (emulation@FreeBSD.org) To: emulation@FreeBSD.org Date: Tue, 02 Nov 1999 21:09:29 +0100 From: Marcel Moolenaar Message-ID: <381F44F9.B8688654@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <19991102134031.B7641@intrepid.net> Subject: Re: StarOffice 5.1A Howto Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mark Conway Wirt wrote: > Libraries > --------- > > Make sure you have a current version of the Linux_lib port > installed. On my system, I'm running 2.6, and it seems to work > well. The package is in /usr/ports/emulators in case you haven't > installed it. linux_lib has been replaced by linux_base-5.2 for a while now. > File System > ----------- > > If you keep a small root partition, you may want to temporarily > reassign /tmp to another partition. For example: You can set the TMPDIR env. variable to handle this: csh: setenv TMPDIR /usr/tmp sh: TMPDIR=/usr/tmp; export TMPDIR > Unfortunately, there are libraries that the setup process needs > that you'll need to install by hand. Move the setup.zip file into > a temporary directory and unzip it. Note that the libraries will > need to be in lower case, so check the man page of your unzip to > see if you can force that. My copy of unzip will do that with the > "-L" option: I always installed SO without all this hassle. Setting LD_LIBRARY_PATH always was enough: csh: setenv LD_LIBRARY_PATH . sh: LD_LIBRARY_PATH=.; export LD_LIBRARY_PATH > Modifications to the soffice Script > ----------------------------------- > > First, change the line that defines "$test" from > > *) test=/usr/bin/test ;; > > to > > *) test=/bin/test ;; This is not needed for linux_base-5.2 > change the line that performs the test from: > > if $test -L "$0" ; then > > to > > if $test -f "$0" ; then Probably also not needed, because the test that's being used understands -L > Lastly, change the line that read > > sd_script=`ls -l $0 | sed "s/.*${sd_basename} -> //g"` > > to read instead > > sd_script=`ls $0 | sed "s/.*${sd_basename} -> //g"` New too me... > Modifications to applicat.rdb > ----------------------------- This is indeed necessary for SO5.1a, so I've been told :-) All in all a pleasant HOWTO, but a bit outdated and needlessly complex :-) -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ The FreeBSD project mailto:marcel@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Nov 2 17: 1:29 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from kiwi.mail.easynet.net (kiwi.mail.easynet.net [195.40.1.40]) by hub.freebsd.org (Postfix) with ESMTP id A8B6B1549E for ; Tue, 2 Nov 1999 17:00:05 -0800 (PST) (envelope-from ak@freenet.co.uk) Received: from freenet.co.uk (alister.w.easynet.co.uk [212.212.251.86]) by kiwi.mail.easynet.net (Postfix) with ESMTP id 1A653DAF04; Wed, 3 Nov 1999 01:00:03 +0000 (GMT) Message-ID: <381F8929.14BC40F8@freenet.co.uk> Date: Wed, 03 Nov 1999 01:00:25 +0000 From: Alex X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Marcel Moolenaar Cc: emulation@FreeBSD.org Subject: Re: StarOffice 5.1A Howto References: <19991102134031.B7641@intrepid.net> <381F44F9.B8688654@scc.nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Marcel Moolenaar wrote: > All in all a pleasant HOWTO, but a bit outdated and needlessly complex > :-) The HOWTO is correct. There seem to be a number of things that work differently in -stable. > I always installed SO without all this hassle. Setting LD_LIBRARY_PATH > always was enough: > > csh: setenv LD_LIBRARY_PATH . > sh: LD_LIBRARY_PATH=.; export LD_LIBRARY_PATH This worked for me on a -current system but not -stable. When I was installing SO5.1 on a -stable system, the setup program did not extract some of the libraries and therefore couldn't find them, even though LD_LIBRARY_PATH was set. Very strange. I had to extract the missing libraries just like described in the HOWTO. Reproduced on two -stable boxes. > > Modifications to the soffice Script > > ----------------------------------- > > > > First, change the line that defines "$test" from > > > > *) test=/usr/bin/test ;; > > > > to > > > > *) test=/bin/test ;; > > This is not needed for linux_base-5.2 Why not? The StarOffice script begins with the line: #!/bin/sh and therefore it will look for `test' in its real location and not /compat/linux. Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Nov 3 12:55:50 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from mail.scc.nl (node1374.a2000.nl [62.108.19.116]) by hub.freebsd.org (Postfix) with ESMTP id A46CE14BD8 for ; Wed, 3 Nov 1999 12:55:29 -0800 (PST) (envelope-from freebsd-emulation@scc.nl) Received: (from daemon@localhost) by mail.scc.nl (8.9.3/8.9.3) id VAA87560 for emulation@FreeBSD.org; Wed, 3 Nov 1999 21:40:29 +0100 (CET) (envelope-from freebsd-emulation@scc.nl) Received: from GATEWAY by dwarf.hq.scc.nl with netnews for emulation@FreeBSD.org (emulation@FreeBSD.org) To: emulation@FreeBSD.org Date: Wed, 03 Nov 1999 21:40:32 +0100 From: Remco Moolenaar Message-ID: <38209DC0.F03A30AF@scc.nl> Organization: SCC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <19991102134031.B7641@intrepid.net>, <381F8929.14BC40F8@freenet.co.uk> Reply-To: remco@scc.nl Subject: Re: StarOffice 5.1A Howto Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Alex wrote: > Marcel Moolenaar wrote: > > > All in all a pleasant HOWTO, but a bit outdated and needlessly complex > > :-) > > The HOWTO is correct. There seem to be a number of things that work > differently in -stable. Three things: 1) Check http://www.bsdapps.org/ for an entry of 5.1a (its there). 2) I've heard a rumour that someone is creating a port for this. 3) Euh, sorry, I forgot ;-) Remco. -- Remco Moolenaar mailto:remco@scc.nl SCC Internetworking & Databases http://www.scc.nl/ Amsterdam, The Netherlands mailto:remco@bsdapps.org Maintainer of the BSD Applications database at http://www.bsdapps.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Nov 3 14:39: 9 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from loki.intrepid.net (intrepid.net [204.71.127.3]) by hub.freebsd.org (Postfix) with ESMTP id 719561510E for ; Wed, 3 Nov 1999 14:39:06 -0800 (PST) (envelope-from mark@loki.intrepid.net) Received: (from mark@localhost) by loki.intrepid.net (8.8.5/8.8.5) id RAA28687; Wed, 3 Nov 1999 17:38:04 -0500 Message-ID: <19991103173804.F6711@intrepid.net> Date: Wed, 3 Nov 1999 17:38:04 -0500 From: Mark Conway Wirt To: Alex Cc: freebsd-emulation@freebsd.org Subject: Re: StarOffice 5.1A Howto Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > This worked for me on a -current system but not -stable. When I was > installing SO5.1 on a -stable system, the setup program did not > extract some of the libraries and therefore couldn't find them, even > though LD_LIBRARY_PATH was set. Very strange. I had to extract the > missing libraries just like described in the HOWTO. Reproduced on > two -stable boxes. I've checked Marcel's suggestion on a -stable machine, and it works provided that: You extract the libs via unzip -L setup.zip cd to the directory export LD_LIBRARY_PATH=. the key seems to be to unzip the libs first. One nice thing that putting things in /usr/compat: While soffice keeps it's own copy of the libs and correctly sets the LD_LIBRARY_PATH, the "setup" utility doesn't. So, if you've done a network install and have to run setup, you'll need to explicitly set your path, e.g., export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/Office51/lib/ before running setup to set up your personal space (if you haven't put them in /usr/compat). --Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message