LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem installing OpenOffice on slack 12.1 Im a noobie. (https://www.linuxquestions.org/questions/linux-software-2/problem-installing-openoffice-on-slack-12-1-im-a-noobie-714722/)

masmddr 03-26-2009 08:31 PM

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.

bathory 03-27-2009 01:12 AM

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

bogzab 03-27-2009 04:50 AM

Quote:

Originally Posted by bathory (Post 3489210)
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.

masmddr 03-27-2009 12:24 PM

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.


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