LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   OpenOffice for Slackware 10.1 - installation problems! (https://www.linuxquestions.org/questions/linux-software-2/openoffice-for-slackware-10-1-installation-problems-303752/)

grazak 03-19-2005 09:43 PM

OpenOffice for Slackware 10.1 - installation problems!
 
Im trying to install openoffice for slackware 10.1. First off, Im not sure which files I need to download and which ones I dont need to download. The files available in all the indexes are:

File: OOo_1.1.2_LinuxPPC_SDK.tar.gz
Fie: OOo_1.1.2_LinuxPPC_SDK_md5sum.txt
File: OOo_1.1.2_LinuxPPC_en_installer.tar.gz
File: OOo_1.1.2_LinuxPPC_installer_md5sum.txt
File: OOo_1.1.2_README_FIRST.txt
File: SETUP_GUIDE.pdf
File: j2re-1.3.1-02d-FCS-linux-ppc.bin
File: j2sdk-1.3.1-02d-FCS-linux-ppc.bin

I just downloaded all of them to my desktop. I followed the setup guide, and extracted
OOo_1.1.2_LinuxPPC_en_installer.tar.gz, then I tryed ./setup and I got the message "cannot execute binary file"

Here is what I did:
root@Sleemans:~# tar -zxf OOo_1.1.2_LinuxPPC_en_installer.tar.gz
root@Sleemans:~# cd OOo_1.1.2_LinuxPPC_en_installer
root@Sleemans:~/OOo_1.1.2_LinuxPPC_en_installer# chown -R root:root ./
root@Sleemans:~/OOo_1.1.2_LinuxPPC_en_installer# ./setup -net
-bash: ./setup: cannot execute binary file
root@Sleemans:~/OOo_1.1.2_LinuxPPC_en_installer# ./setup -net
-bash: ./setup: cannot execute binary file
root@Sleemans:~/OOo_1.1.2_LinuxPPC_en_installer# install
install: too few arguments
Try `install --help' for more information.
root@Sleemans:~/OOo_1.1.2_LinuxPPC_en_installer# ./install
Installation starting, please be patient ...
./install: line 137: ./setup: cannot execute binary file

Im not sure what Im missing here! Am I supposed to do something with the OOo_1.1.2_LinuxPPC_SDK.tar.gz file before I touch the installer? Am I even dl'ing the right version for my slackware? Im downloading for PPC Linux. Thanks

yakkmeister 03-19-2005 10:23 PM

Have all the files got executable rights?
- - fix this with chmod

First, unless yuu want to develop, you probably don't need the SDK files.

You should have an installer script (nstall?), an installer binary (setup?), a file with the list of files to install and copies of the licences.

You will probably want to get the java part of your system working and upto date.
From your download list, you have a copy already, so you should just install that one, or get a copy from sun microsystems.

When you have java going (you don't *need* java, but it's a good idea.)

do this

logon as root
startx
open a terminal where the 'install' script is located
./install

this script is an automated script to perform a basic install.
If you think you need to do customisations, do

./setup -net

Note that you *have* to be root and you have to be in X to make this work.

You can do a single user install (OO.org does not recommend this) by the same procedure, only don't login as root, and do

./setup

I don't know why they say single user is not a good idea, but they'd know more about it than me.

Good hunting.

grazak 03-19-2005 11:06 PM

hmmm
 
hmmm. I have Java working and up to date. I know it works, because I installed azureus and it works fine. As you can see, I attempted the install as root.

When I tryed ./install, I got
./setup: cannot execute binary file

When I try ./setup, I get\
-bash: ./setup: cannot execute binary file

carboncopy 03-19-2005 11:55 PM

Why did you download LinuxPPC?
PPC stands for PowerPC processor.

Is your computer powered by PowerPC processor? E.g. Apple Computers, IBM mainframe, etc..

If you are running Slackware, that means you are using a x86 powered machine. cause Slackware (official, not the 390 port) only runs on x86 machines.

Go grab the latest stable which is 1.1.4 from http://mirror.switch.ch/ftp/mirror/O...install.tar.gz
or grab the 2.0 beta from http://mirror.switch.ch/ftp/mirror/O...install.tar.gz

When you install 2.0 beta, read instruction from the following post in LQ slackware forum: http://www.linuxquestions.org/questi...ht=openoffice+

grazak 03-20-2005 02:26 AM

wee
 
I had a feeling I did something stupid like that! Thanks:)

BTW, I downloaded the Linux86 version first, but I discared it as it came in RPM files. I didnt know Slackware handled RPM files?

carboncopy 03-20-2005 07:01 AM

Re: wee
 
Quote:

Originally posted by grazak
I had a feeling I did something stupid like that! Thanks:)

BTW, I downloaded the Linux86 version first, but I discared it as it came in RPM files. I didnt know Slackware handled RPM files?

Slackware comes with a tool (program) called rpm2tgz

just rpm2tgz prog-in-question.rpm
And it will produce a prog-in-question.tgz package which you can install using installpkg prog-in-question.rgz :)

Read the lq post link I provided for installation of Openoffice 2.0 beta on slackware. It works!


All times are GMT -5. The time now is 02:44 AM.