[K12OSN] Open Office problem!

Graham Lauder graham at theingots.org.nz
Sun Jan 11 09:41:23 UTC 2009


On Saturday 10 January 2009 14:39:55 Joseph Bishay wrote:
> Hello,

Hi Joseph

>
> Thank you for the instructions you provided.  I tried my best to
> follow them.  The first part, where you talked about downloading the
> tar from OO.org and then running ./setup as root was no problem.  I
> went through the installation steps and it exited successfully.  I am
> able to go to my main manu -> Office -> and find all the parts of open
> office there and get them to run successfully.
>
> However, two issues.  I was confused by your steps with respect to the
> desktop integration.  

The Desktop integration step isn't essential, it's just that the "RedHat 
Desktop Integration" is in a separate folder in the install setup, with the 
old CLI installer moving it was essential.  However with the new installer I 
don't think thats an issue

>After using the ./setup command to get the
> program installed, my currently existing open office icons no longer
> work.  Clicking them gives the error:
>
> "Could not launch application  Failed to execute child process
> "openoffice.org" (No such file or directory)"
>
> The command the shortcut references is:
>
> openoffice.org -writer %U

Generally the Distribution versions have a different install location and 
shell scripts.  It varies. For instance in the Novell version, the above link 
would be "oowriter".  In the vanilla OOo version the above link would be 
soffice -writer or swriter, both work.  OOo also installs by default in 
the /opt directory rather than say /usr/local  or whatever the particular 
distro favours.  That also varies.  If you modify the links to swriter, 
scalc, sdraw, smath and simpress you should be good as long as /opt is in 
your PATH, otherwise just put the whole path in which would 
be /opt/openoffice.org3/program/swriter or soffice for the launch menu 


>
> The second problem is a bit more crucial -- the whole reason I was not
> able to just stick with the stock CentOS 5.2 version of open office is
> because of its inability to deal with *.docx files.  After
> installation of the most recent version (OO help indicates that it is
> indeed version 3) everytime I try to open a MS office 2007 docx file,
> Open Office crashes.  I've tried several different types of files, and
> each time it does the same thing -- crashes, restarts, attempts to
> recover.
>
> What should I do?

OOo 3 should automatically work with docx import.  However if it is causing a 
crash then  that's an issue that should be put up on the OOo Issue Tracker.  
I haven't had any issues with OOo 3 opening docx files, but then I use 
OpenSUSE and so have the Novell version (go-ooo.org) installed by default.    
The only thing that comes to mind is your current JRE.  Make sure you have 
the latest Java Runtime installed.   
>
> Thank you
> Joseph
>

Cheers
GL


> On Thu, Jan 8, 2009 at 5:16 AM, Graham Lauder <graham at theingots.org.nz> 
wrote:
> > On Thursday 08 January 2009 13:01:24 Graham Lauder wrote:
> >> On Wednesday 07 January 2009 20:15:58 Joseph Bishay wrote:
> >> Apologies if this appears twice, sent from the wrong email
> >>
> >> > Hello,
> >> >
> >> > I hope everyone is doing well!
> >> >
> >> > I'm *almost* done completely revamping the technology in our
> >> > organization and a final hurdle happens to be Open Office.  I hung out
> >> > in both #openoffice, #ltsp, and #centos but no solution was found (or
> >> > I was met with stony silence in one of the channels).  In any case,
> >> > I'm running K12LTSP based on Centos 5.2.  The stock OpenOffice
> >> > installation is 2.3 and yum update shows nothing after that available.
> >> >  The problem is that Office 2007 docx files are only recognized by OO
> >> > ver 2.4 or higher.  I've tried to follow the instructions I've found
> >> > online to download the appropriate tar file from OpenOffice, switch
> >> > into the RPMS directory and run rpm -Uvh *.rpm.  However, I get an
> >> > error as follows:
> >> >
> >> > # rpm -Uvh *.rpm
> >> > error: Failed dependencies:
> >> >         java-gcj-compat >= 1.0.31 is needed by (installed)
> >> > tomcat5-servlet-2.4-api-5.5.23-0jpp.1.0.3.el5.x86_64
> >> >         java-gcj-compat is needed by (installed)
> >> > xalan-j2-2.7.0-6jpp.1.x86_64 java-gcj-compat >= 1.0.31 is needed by
> >> > (installed)
> >> > xml-commons-apis-1.3.02-0.b2.7jpp.10.x86_64
> >> >         java-gcj-compat is needed by (installed)
> >> > xml-commons-resolver-1.1-1jpp.12.x86_64
> >> >         java-gcj-compat >= 1.0.31 is needed by (installed)
> >> > xerces-j2-2.7.1-7jpp.2.x86_64
> >> >         java-gcj-compat is needed by (installed)
> >> > hsqldb-1.8.0.4-3jpp.4.x86_64 java-gcj-compat >= 1.0.31 is needed by
> >> > (installed)
> >> > tomcat5-jsp-2.0-api-5.5.23-0jpp.1.0.3.el5.x86_64
> >> >         java-gcj-compat is needed by (installed)
> >> > bsf-2.3.0-11jpp.1.x86_64 java-gcj-compat is needed by (installed)
> >> > bsh-1.3.0-9jpp.1.x86_64 java-gcj-compat >= 1.0.64 is needed by
> >> > (installed)
> >> > gjdoc-0.7.7-12.el5.x86_64
> >> >         java-gcj-compat is needed by (installed)
> >> > antlr-2.7.6-4jpp.2.x86_64 java-1.4.2-gcj-compat = 0:1.4.2.0-40jpp.112
> >> > is needed by (installed)
> >> > java-1.4.2-gcj-compat-javadoc-1.4.2.0-40jpp.112.x86_64
> >> > java-1.4.2-gcj-compat = 0:1.4.2.0-40jpp.112 is needed by (installed)
> >> > java-1.4.2-gcj-compat-src-1.4.2.0-40jpp.112.x86_64
> >> >         java-1.4.2-gcj-compat = 0:1.4.2.0-40jpp.112 is needed by
> >> > (installed) java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp.112.x86_64
> >> >         java-1.4.2-gcj-compat = 0:1.4.2.0-40jpp.112 is needed by
> >> > (installed) java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp.112.i386
> >> >
> >> > After that I thought it was some sort of conflict with the existing
> >> > open office installation so I yum removed that one, repeated the above
> >> > command, and received te same error.  Now I've got NO copy of open
> >> > office and I have no idea what to do!
> >> >
> >> > What should I do?
> >> >
> >> > Thank you
> >>
> >> Hi Joseph,
> >>
> >> Which version did you download? With or without JRE included
> >>
> >> 3.0 uses a different install process to the 2.0 version.  Things are
> >> packaged differently..  If you went through the main page you would have
> >> got a file something like :
> >> OOo_3.0.0_LinuxIntel_install_wJRE_en-US.tar.gz
> >>
> >> unpack it #tar -zxvf OOo_3.0.0_LinuxIntel_install_wJRE_en-US.tar.gz
> >>
> >> navigate into the folder it creates and you'll see four folders, a jar
> >> file and  two shell scripts.  One called "setup"
> >>
> >> as root do ./setup and follow the instructions.
> >>
> >> Alternatively, if your JRE is up to date you can click on the "Get more
> >> platforms and languages" link at the bottom of the download panel on the
> >> front page and you can get OOo_3.0.0_LinuxX86-64_install_en-US.tar.gz .
> >> (I presume you're using 64 bit) This doesn't have the JRE installer
> >> included. The 32 bit will work as well.
> >>
> >> The third alternative is Novell's version which is available from
> >> http://go-ooo.org.  If ooxml  filters is your issue then I would suggest
> >> this as the best option.
> >>
> >> Cheers
> >> GL
> >
> > And I forgot to add, the version without the the JRE doesn't have the
> > Setup shell script, just do the normal navigate to the RPMs directory,
> > move your specific desktop integration file into the main folder and do
> > rpm -ivh *.rpm and you should be in business.
> >
> > Cheers
> > GL
> >



-- 
Graham Lauder,

INGOTs Assessor Trainer
(International Grades in Office Technologies)
http://www.theingots.org

OpenOffice.org MarCon (Marketing Contact) NZ
http://marketing.openoffice.org/contacts.html

Open Opportunities ltd.
Open Technologies Training and Migration Consultants

OOoGear: For the Well dressed OOo Advocate
http://ooogear.co.nz




More information about the K12OSN mailing list