LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-26-2009, 09:31 PM   #1
masmddr
Member
 
Registered: Jun 2005
Location: Israel
Distribution: Arch Linux
Posts: 92

Rep: Reputation: 16
Problem installing OpenOffice on slack 12.1 Im a noobie.


Hello.

I just installed SlackWare 12.1 and tried installing openoffice 3.0 .

I downloaded OOo_3.0.1_LinuxIntel_install_wJRE_en-US.tar.gz from the site and ran into some trouble.
tried ./setup as root and got the following:

Quote:
Checksumming...
Extracting ...
./setup: line 246: rpm2cpio: command not found
cpio: premature end of archive
find: usr: No such file or directory
basename: missing operand
Try `basename --help' for more information.
/dev/pts/1
Error: Failed to extract the Java Runtime Environment (JRE) files. (exit code 7)
and so I got jre-6u13-linux-i586.bin and put it into /usr/local/java
ran bash jre-6u13-linux-i586.bin and all was well and it said done.

tried ./setup -j /usr/local/java/jre1.6.0_13/bin/java and got the following in the console:
Quote:
Parameter: j
Using /usr/local/java/jre1.6.0_13/bin/java
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)

Running installer
/usr/local/java/jre1.6.0_13/bin/java -DHOME=/root -DJRE_FILE=jre-6u11-linux-i586.rpm -jar JavaSetup.jar
System locale: en_US
Root privileges
OS: Linux
Mode: installation
Path to packages: /home/mas/Downloads/OOO300_m15_native_packed-1_en-US.9379/RPMS/
IOError: java.io.IOException: Cannot run program "rpm": java.io.IOException: error=2, No such file or directory
the setup screen came on and I chose my preferences and clicked next.
the following output came to the console:
Quote:
Exception in thread "Thread-4" java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
at java.util.Vector.get(Unknown Source)
at org.openoffice.setup.InstallerHelper.LinuxHelper.getRelocationString(LinuxHelper.java:435)
at org.openoffice.setup.Installer.LinuxInstaller.installPackage(LinuxInstaller.java:171)
at org.openoffice.setup.Controller.InstallationOngoingCtrl$1.run(InstallationOngoingCtrl.java:113)
and the install window shows installing and it hangs on "openoffice.org-ure-1.4.1-9379.i586.rpm "

what am I doing wrong?
I need openoffice to view/edit *.docx files I wrote in class using MS office 2007.
 
Old 03-27-2009, 02:12 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,637

Rep: Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808
It does not work, because OO comes in rpm packages. That's why the setup program complains. One way to install OO is to use rpm2tgz to convert rpms to Slackware pagkages, but it's more easier to use a slackbuild. Read this about installing software using slackbuilds

Regards
 
Old 03-27-2009, 05:50 AM   #3
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Slackware 14.0, Slackware 14.1, Slackware-current
Posts: 306

Rep: Reputation: 33
Quote:
Originally Posted by bathory View Post
It does not work, because OO comes in rpm packages. That's why the setup program complains. One way to install OO is to use rpm2tgz to convert rpms to Slackware pagkages, but it's more easier to use a slackbuild. Read this about installing software using slackbuilds

Regards
Yep, I endorse that. Slackbuilds of OO worked just fine for me with both Slack 12.1 and 12.2. Slightly more work that in the rpm world, but as always with Slack you end up knowing what you've done.
 
Old 03-27-2009, 01:24 PM   #4
masmddr
Member
 
Registered: Jun 2005
Location: Israel
Distribution: Arch Linux
Posts: 92

Original Poster
Rep: Reputation: 16
Thank you for your help.
I managed to install OpenOffice, although I had to format and reinstall SlackWare in the process... such a noobie I am...

I see now that OpenOffice can't read *.docx files.
What a shame. Ill have to convert all of them to *.doc .
never the less thank you again for the help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing OpenOffice 2.4.1 = Failed dependencies - slack 12.1 marneson Slackware 6 07-12-2008 12:17 PM
Problem installing Openoffice using blastwave alek66 Solaris / OpenSolaris 4 09-07-2007 10:32 AM
Problem on installing OpenOffice satimis Linux - Distributions 9 04-04-2007 10:29 PM
Installing OpenOffice problem satimis *BSD 2 04-24-2004 08:55 PM
noobie with slack driver issues devtek Linux - Newbie 4 09-06-2003 06:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration