old-www/LDP/LG/issue09/staroffice.html

300 lines
12 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html> <head>
<title>StarOffice 3.1</title>
</head>
<H4>&quot;Linux Gazette...<I>making Linux just a little more fun!</I>
&quot;</H4>
<HR>
<center><h1>Getting Up and Running on StarOffice 3.1</h1></center>
<center><H4>by Dwight William Johnson johnson@olympus.net</h4></center>
<center>Copyright (c) 1996</center><BR>
<center> <H5>Published in Issue 9 of the Linux Gazette</H5></center>
<HR>
<P>
Happy as can be, I am composing this in Linux on StarWriter, the extremely
capable word processor that is part of the StarOffice 3.1 suite of business
applications. Below I will guide you through the labyrinth of tricks and fixes
that you will need to get this first beta of StarOffice working on your Linux
system.
<p>Star Office 3.1 is a suite of office productivity applications containing
StarWriter 3.1 (word processor), StarCalc 3.1 (spreadsheet), StarDraw 3.1
(graphics and presentation package), StarImage 3.1 (image manipulation)
StarChart 3.1 (bar-, pie- and other charts) and StarMath 3.1 (formula design).
StarOffice 3.1 makes heavy use of common code in shared libraries, therefore
using relatively few resources for the level of functionality.
<p>If you don't have the patience to fix things that aren't right, you should
wait for the next beta release. But if, like me, you don't mind fixing a few
things to get the immediate gratification of state-of-the-art business software
on Linux that you would pay $400 for on Windows 95, read on.
<p>To save you frustration and disappointment, I must also caution you that you
will need about 200 megabyes on your hard drive to install StarOffice the way
I outline below.
<p>Like many Linux users, I was delighted when the German company StarDivision
announced it would release an international Linux version of its major office
suite StarOffice, which competes head to head with Microsoft Office in Europe.
And still more pleased when I learned that for non-commercial use
StarOffice would be free.
<p>I am almost never, however, the first to jump into a new application. Let
others find the bugs; let me find a productive application is my credo.
<p>Nevertheless, the prospect of having a high-end WYSIWYG word processor to
use in Linux was irresistible. When StarDivision was pressured into an early
release of the first beta of StarOffice 3.1 for Linux on July 31, I rushed up
to the StarDivision Home Page at <A HREF="http://www.stardivision.de/index.html">
http://www.stardivision.de/index.html</a> and
linked to one of a number of possible download sites which in my case was
<A HREF="ftp://ftp.io.org/pub/mirrors/linux/sunsite/apps/staroffice">
ftp://ftp.io.org/pub/mirrors/linux/sunsite/apps/staroffice</a>.
<p>What I saw stopped me. StarOffice3.1 is a more than a 40Mb download in 53
files, mostly diskette images. The installed product takes over 120 megabytes.
<p>I decided to see what the feedback was on StarOffice before investing in that
kind of bandwidth. I aimed my Netscape newsreader for a place I knew I could
count on: comp.os.linux.development.apps.
<p>The news was bad. Many users were having problems installing StarOffice and
those who could were finding lots of bugs, mostly segmentation faults.
<p>The worst news of all was being reminded that StarOffice 3.1 requires Motif 2.0.
Even though StarOffice was free, it did not seem worth the $100-$200 investment
in Motif 2.0 to bring up an application that might be useless because of
segmentation and other faults.
<p>As the days passed, however, the news began to come in that some were getting
StarOffice installed and were quite thrilled with its look and feel.
<P>Then on August 18 Peter Klein wrote in the Redhat-List:
<br>
"to run and even to install Star Office 3.1. you don't need Motif."
<br>
I found his tips and tricks irresistible. I decided to try StarOffice.
<P>Below is step-by-step how I installed StarOffice 3.1 on my Red Hat 3.0.3
system with Metro-X server upgraded to the 2.0.10 kernel using Peter Klein's
recipe garnished with a few additional tricks and fixes which I gleaned
from the usenet and mailing lists.
<ol>
<P><LI>I went to my chosen ftp site,
<A HREF="ftp://ftp.io.org/pub/mirrors/linux/sunsite/apps/staroffice"</a>
ftp.io.org/pub/mirrors/linux/sunsite/apps/staroffice</a>,
(Alternatively, you can go to any sunsite mirror. Sunsite is at
<A HREF="ftp://sunsite.unc.edu/pub/Linux/apps/staroffice">
sunsite.unc.edu/pub/Linux/apps/staroffice</a>.)
and downloaded the file 'staroffice.README'. Here I learned about the
StarOffice for Linux license, StarDivision's plans for the product, how
to connect with the StarOffice technical support and development system
and valuable installation notes.
<P><LI>My internet service provider has free hours from midnight to 7:30 A.M.
So I waited till midnight, fired up xtftp, pointed it to the ftp site,
created a ~/download/staroffice directory for the download, highlighted
all 53 files, pressed 'copy' and 'ok' and went to bed.
<p>(The 'staroffice.README' mentions that you can install only part of
StarOffice. So my first attempt, not recommended, was to install just
the common files with StarWriter. Unfortunately, the install program
comes to an error which has to be stepped past each time it finds a file
from the complete package that is missing. After clicking 'ignore' with
my mouse for the first hundred or so times, I abandoned this attempt.)
<P><LI>If you are fortunate to have Motif 2.0 installed on your system, you
can skip down to step 6.
<P><LI>Peter Klein: "You have to install the SO libraries <I>before</I> you can start
the install program."
<UL>
<P><LI>I created the directory ~/so-temp and executed:
<pre>
cp ~/download/staroffice/file.01-? ~/so-temp
cd ~/so-temp
unzip file.01-1
unzip file.01-2
unzip file.01-3
unzip file.01-4
unzip file.01-5
unzip file.01-6
unzip file.01-7
</pre>
In the ~/so-temp file you now have a bunch of subdirectories with the unzipped
files in them.
<P><LI>Create a directory to hold the 'so' files. I created mine in /usr/X11R6/lib
with the command:
<pre>
mkdir /usr/X11R6/lib/so-libs.
</pre>
<P><LI>Among the subdirectories created in ~/so-temp you will find the
~/so-temp/lib* directories. I manually went through the
~/so-temp/lib* directories and copied every file to /usr/X11R6/lib/so-libs.
I used Midnight Commander, a handy two-panel file manager for the virtual
console, for this task.
<P><LI>Next, in the /usr/X11R6/lib/so-libs directory I created the symbolic links:
<pre>
cd /usr/X11R6/lib/so-libs
ln -s libso312.so libMrm.so.2
ln -s libso312.so libXm.so.2
</pre>
<P><LI>I edited the /etc/ld.so.conf file to contain the line:
<pre>
/usr/X11R6/lib/so-libs
</pre>
<P><LI>I executed ldconfig from root.
<p>Thank you Peter Klein.
</UL>
<P><LI>Not recommended because of the large number of failures reported,
but still worth checking out for an install approach, is the 'StarInst'
Perl script by Steffen Winterfeldt which can be downloaded at:<BR>
<A HREF="http://www.physik.uni-leipzig.de/~wfeldt/starinst/starinst.html">
http://www.physik.uni-leipzig.de/~wfeldt/starinst/starinst.html</A>.<BR>
This script is alleged to work with installed versions of Motif 1.2.
<P><LI>I next ran StarOffice Install which must be executed from root.
Install is very easy to use. Just make sure you have enough disk space
(about 125 Mb) and follow the simple prompts that Install presents in its
dialog boxes. If you have Red Hat and you are executing Install from its
own directory, you will need to remember to enter './Install'. I installed
StarOffice into /usr/local/StarOffice3.1.
<P>At the end of Install, I was given directions for proceeding with the second
part, the user installation. During the user installation, a user-specified
directory and configuration files are created for each user. I found it very
easy to just follow the directions in the dialog boxes. I answered 'yes' to
the prompt to copy the templates and demo documents to my directory tree
because I had been informed that if I answered 'no', I would not be able to
modify these documents, although I could still access them as read-only master
copies.
<P><LI>It is now necessary to fix a couple of things that StarDivision didn't
think of in order to actually use StarOffice. I had to glean these fixes from
posters to comp.os.linux.development.apps and the Redhat-List after finding
that my installation of StarOffice didn't work.
<P>Logged in users must get permission to use StarOffice's fonts and other files.
Log ('su') into root, and
<pre>
chgrp -R users /usr/local/StarOffice3.1/Xp3.
</pre>
J. Maynard Gelinas proposed the alternate
<pre>
chmod -R a+r /usr/local/StarOffice3.1/Xp3
</pre>
for this fix on the Red-Hat List.
<P><LI>Printing is impossible without this next fix. While logged as root,
<pre>
mkdir /tmp/XpSp_
mkdir /tmp/Xp_
mkdir /tmp/XpSp_/tmp
mkdir /tmp/Xp_/tmp
chgrp -R users /tmp/XpSp_
chgrp -R users /tmp/Xp_
</pre>
<P><LI>To get the on-line help system (unfortunately only in German in this
release), you will need to start the two daemons, 'svdaemon' and 'svportmap'
before starting StarOffice. This is how I did it.
<P>While logged as root, I added the lines:
<pre>
/usr/local/StarOffice3.1/linux-x86/bin/svdaemon &
/usr/local/StarOffice3.1/linux-x86/bin/svportmap &
</pre>
to my /etc/rc.d/rc.local.
<P><LI>Finally, as directed by the StarOffice user installation, I edited my
~/.bashrc file to contain the line:
<pre>
. ~/.sd.sh
</pre>
and rebooted my computer.
</OL>
<P>And, if you followed along with me -- you are finished! All the download and
intermediate directories can now be deleted. (Wait a few days, in case you
find you have to redo something.)
<P>Log into your user account, 'startx' and open an 'xterm'. The StarOffice
applications start at the command line with:
<pre>
swriter3
scalc3
sdraw3
schart3
simage3
smath3
</pre>
You will find bugs in this release of StarOffice. But by experimenting, you
will also find work-arounds.
<P>For example, I found that exiting the search and replace dialog in StarWriter
would generate a fatal segmentation fault. But by activating the cursor in
the search area and pressing <Esc> I can close the dialog box and continue
working.
<P>Also, when you use the scroll bar, StarWriter loses its blinking cursor. I
just go to the menu bar and activate a pull-down menu and then click my mouse
in the document area. Wherever the mouse touches down places the blinking
cursor.
<P>For printing on my Postscript printer I have found that I need to set the
printer to 'NULL' and the default options to 'lpr'.
<P>There is a neat little button bar, 'soffice3', that is designed to coordinate
all these applications. Unfortunately, bugs make it unfunctional. So look,
but don't touch until the next release.
<P>Tip of the day for enjoying StarOffice beta one: save your work often.
<P>StarDivision operates a news server with StarOffice newsgroups at:<br>
<A HREF="news://starnews.stardivision.com/beta.staroffice.linux">
news://starnews.stardivision.com/beta.staroffice.linux</a><br>
where users share their experiences. Be sure to connect during German
business hours -- no nights or weekends. The same goes for their Web site.
<p>StarDivision is eager to get your bug reports at:<br>
<A HREF="mailto:linux-suggest@stardivision.com">
linux-suggest@stardivision.com</A><BR>
I am still getting my feet on the ground in StarOffice. But I found
composing this article in StarWriter quite easy and fun. I used a lot
of cut and paste between multiple windows, formatting, changing fonts,
printing, search and replace -- all the basic things you do in word
processing. But I didn't even scratch the surface of the capabilities
of just StarWriter. And I haven't even looked at the other applications
yet. I am looking forward to exploring StarOffice in the coming months.
<p>I congratulate the vision of StarDivision to recognize that Linux is an
important platform for major application development.
<hr>
<A HREF="./index.html"><IMG SRC="../gx/indexnew.gif" ALT="[ TABLE OF
CONTENTS ]"></A>
<A HREF="../index.html"><IMG SRC="../gx/homenew.gif" ALT="[ FRONT
PAGE ]"></A>
<A HREF="filerunner.html"><IMG SRC="../gx/back2.gif" ALT=" Back "></A>
<A HREF="yodl.html"><IMG SRC="../gx/fwd.gif" ALT=" Next "></A>
<hr>
</body> </html>