LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   openoffice 3 on archlinux duke; installing without pacman (https://www.linuxquestions.org/questions/linux-software-2/openoffice-3-on-archlinux-duke%3B-installing-without-pacman-692266/)

neothephoenix 12-22-2008 11:52 AM

openoffice 3 on archlinux duke; installing without pacman
 
Hi LQ,

I have archlinux Duke installed on a Compaq Presario P4 1GB Ram machine.
I am trying to install Openoffice 3 on it. This is what I tried:

Download Openoffice3 from the site, the file being OOo3.0_0_LinuxIntel_install_wJRE_en-US.tar.gz

Untar the file and run ./setup

After that the gui comes up for installation... clicked on next.. next and finally install..
After that it dosen't go any further no matter how long I wait...

I am posting the error messages below:

93396 blocks
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode)
System locale: en_US
Root privileges
OS: Linux
Mode: installation
Path to packages: /toads/OOO300_m9_native_packed-1_en-US.9358/RPMS/
IOError: java.io.IOException: Cannot run program "rpm": java.io.IOException: error=2, No such file or directory
IOError: java.io.IOException: Cannot run program "rpm": java.io.IOException: error=2, No such file or directory
Exception in thread "Thread-3" 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)



Any leads or help or suggestions?

Any sort of input would be greatly appreciated..

Thanks in advance

neothephoenix 12-24-2008 10:15 AM

Hi LQ,

I finally did it, with a little but timely help from the internet..
These are my steps:

>Untar/unpack the tar.gz to get the RPMS

>Used the program rpm2cpio.pl (downloaded and installed it separately) to extract all the RPMs to an isolated directory to get three directories
~/opt ~/etc ~/usr
I used the following command
#rpm2cpio myrpmfile.rpm|cpio -idmv

>Copied the contents of ~/opt , ~/etc , ~/usr to /opt , /etc , /usr respectively

>Created an executable file /etc/profile.d/openoffice.sh
#export PATH="{PATH}:/opt/openoffice.org3/program

>rebooted the system; done

to start openoffice

#/opt/openofficeorg3/programs/soffice
or simply
#soffice or #swriter etc..


All times are GMT -5. The time now is 11:37 AM.