LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-28-2008, 07:56 AM   #16
mongoosecage
Member
 
Registered: Jun 2008
Distribution: Slackware 13.0, Ubuntu 9.10, Windows XP Pro SP3
Posts: 100

Original Poster
Rep: Reputation: 15

Code:
bash-3.1# chmod +x openoffice.org.SlackBuild
bash-3.1# sh openoffice.org.SlackBuild

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
openoffice.org.SlackBuild: line 80: cd: /tmp/SBo//RPMS/: No such file or directory
bash-3.1#
I don't understand why am I getting these errors. Is it a bad file or something?
 
Old 06-28-2008, 08:56 AM   #17
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by mongoosecage View Post
[code]
Code:
sh openoffice.org.SlackBuild
Should be:
Code:
./openoffice.org.SlackBuild
As I'v mentioned before

Quote:
Originally Posted by mongoosecage View Post
I don't understand why am I getting these errors. Is it a bad file or something?
I've no idea either. You'll have to hope somebody else knows the answer. I've installed plenty of SlackBuilds, but not that one.

Last edited by brianL; 06-28-2008 at 11:04 AM.
 
Old 06-28-2008, 11:47 AM   #18
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Moved: This thread is more suitable in Linux Distributions -> Slackware and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 06-28-2008, 04:19 PM   #19
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
You're getting that error because the OOo source file (which actually just contains binaries and not source code, but that is unimportant here) either does not exist or is corrupt. Try following these directions EXACTLY, starting from scratch, in a terminal (you must enter your root password when prompted after the `su` command):
Code:
$ cd
$ mkdir OOo
$ cd OOo
$ wget http://slackbuilds.org/slackbuilds/12.1/office/openoffice.org.tar.gz
$ tar -zxvf openoffice.org.tar.gz
$ cd openoffice.org
$ wget http://openoffice.osuosl.org/stable/2.4.1/OOo_2.4.1_LinuxIntel_install_en-US.tar.gz
$ chmod +x openoffice.org.SlackBuild
$ su
# umask 0022
# ./openoffice.org.SlackBuild
# installpkg /tmp/openoffice.org-2.4.1_en_US-i586-2_SBo.tgz
# exit
I think I have thought about basically everything that could go wrong. Note, however, that it takes a LOT of room to build this package -- almost 1 GB. It may error out if it runs out of room in /tmp. You can always tell the script to use another partition with more room if you need to, but that is beyond the scope of these intructions.

The $ and # at the start of each line should not be typed -- they're just there to remind you when you're a regular user ($) or root (#).

Also note that in the future it would be best to check the md5sum of the source file to make sure the download is not corrupt.
Code:
$ md5sum OOo_2.4.1_LinuxIntel_install_en-US.tar.gz
should output the following line:
Code:
77932202620618bb2a4aed0a35125d5f  OOo_2.4.1_LinuxIntel_install_en-US.tar.gz

Last edited by T3slider; 06-28-2008 at 04:23 PM.
 
Old 06-28-2008, 05:17 PM   #20
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
You can always just get the Slack package of openoffice from Roby.
http://rlworkman.net/pkgs/

Always works perfect for me.
 
Old 06-28-2008, 05:46 PM   #21
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,226

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
I just use RPM (which comes with Slackware) to install OxgenOffice Professional. OxygenOffice Professional is an enhanced version of OpenOffice.org that can, among other things, open and save docx files.

Specifically, I download the RPMs, cd to the directory and type:
Quote:
rpm --nodeps -ihv *.rpm
Then I edit /etc/profile to add the directory to the PATH.

Last edited by dugan; 06-28-2008 at 05:49 PM.
 
Old 06-29-2008, 01:51 AM   #22
mongoosecage
Member
 
Registered: Jun 2008
Distribution: Slackware 13.0, Ubuntu 9.10, Windows XP Pro SP3
Posts: 100

Original Poster
Rep: Reputation: 15
Thumbs up

Quote:
Originally Posted by T3slider View Post
You're getting that error because the OOo source file (which actually just contains binaries and not source code, but that is unimportant here) either does not exist or is corrupt. Try following these directions EXACTLY, starting from scratch, in a terminal (you must enter your root password when prompted after the `su` command):
Code:
$ cd
$ mkdir OOo
$ cd OOo
$ wget http://slackbuilds.org/slackbuilds/12.1/office/openoffice.org.tar.gz
$ tar -zxvf openoffice.org.tar.gz
$ cd openoffice.org
$ wget http://openoffice.osuosl.org/stable/2.4.1/OOo_2.4.1_LinuxIntel_install_en-US.tar.gz
$ chmod +x openoffice.org.SlackBuild
$ su
# umask 0022
# ./openoffice.org.SlackBuild
# installpkg /tmp/openoffice.org-2.4.1_en_US-i586-2_SBo.tgz
# exit
I think I have thought about basically everything that could go wrong. Note, however, that it takes a LOT of room to build this package -- almost 1 GB. It may error out if it runs out of room in /tmp. You can always tell the script to use another partition with more room if you need to, but that is beyond the scope of these intructions.

The $ and # at the start of each line should not be typed -- they're just there to remind you when you're a regular user ($) or root (#).

Also note that in the future it would be best to check the md5sum of the source file to make sure the download is not corrupt.
Code:
$ md5sum OOo_2.4.1_LinuxIntel_install_en-US.tar.gz
should output the following line:
Code:
77932202620618bb2a4aed0a35125d5f  OOo_2.4.1_LinuxIntel_install_en-US.tar.gz
Whow, thanks a lot. That really did the trick. I will for sure use this thread for reference next time.

There are sure lots of ways to install programs in slackware.
 
Old 06-29-2008, 02:04 AM   #23
mongoosecage
Member
 
Registered: Jun 2008
Distribution: Slackware 13.0, Ubuntu 9.10, Windows XP Pro SP3
Posts: 100

Original Poster
Rep: Reputation: 15
How did you get the wget (slackbuild site) and all that? I tried doing it by getting the http and the file name together but i get an error

Trying to get compiz-fusion from slackbuilds. I used compiz-install.sh earlier which i flunked on. The emerald wouldnt work and the code to initiate it wont work on the Autostarted Applications menu.

So rather do it this way.

Last edited by mongoosecage; 06-29-2008 at 02:06 AM.
 
Old 06-29-2008, 10:00 AM   #24
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by mongoosecage View Post
How did you get the wget (slackbuild site) and all that? I tried doing it by getting the http and the file name together but i get an error
Do this in your terminal:
Code:
man wget
 
Old 06-29-2008, 11:33 AM   #25
mongoosecage
Member
 
Registered: Jun 2008
Distribution: Slackware 13.0, Ubuntu 9.10, Windows XP Pro SP3
Posts: 100

Original Poster
Rep: Reputation: 15
nice. should have tried that earlier.
 
Old 06-29-2008, 06:14 PM   #26
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Quote:
Originally Posted by mongoosecage
How did you get the wget (slackbuild site) and all that? I tried doing it by getting the http and the file name together but i get an error
Well, the wget thing was just to make sure you downloaded everything to the correct folders. It's not really necessary, and you can just download using Firefox or another browser if you want. Just make sure to download "emerald.tar.gz" first (under the text "Download SlackBuild:"), then extract it using `tar -zxvf emerald.tar.gz`, then cd into the folder it just created (it should be called emerald), and then download the source package (emerald-0.7.4.tar.gz) to the newly created emerald folder. Then do the remaining steps as explained above (`chmod +x emerald.SlackBuild`, etc.).

If you want to use wget to follow the EXACT same procedure, just go to the page on slackbuilds.org for emerald (http://slackbuilds.org/repository/12.1/desktop/emerald/), right-click on the desired link (for example, emerald.tar.gz) and select "Copy Link Location" in Firefox (or the equivalent command in another browser. It is called "Copy Link Address" in Opera and Konqueror, for example). You can use the middle-click button of your mouse if it has a scrollwheel to paste the result (or press Shift+Insert) in the terminal. You can generally follow the same procedure for the source file, but not always. For example, some projects hosted on sourceforge.net require you to visit their download page which will pop up a download link -- slackbuilds.org doesn't link directly to the file. In that case, you should probably just download the file manually to the proper directory.

In the end, the only important thing is that the source file (emerald-0.7.4.tar.gz) is in the same directory as the SlackBuild (emerald.SlackBuild).

Last edited by T3slider; 06-29-2008 at 06:16 PM.
 
Old 06-29-2008, 06:39 PM   #27
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Rep: Reputation: 32
Someone else sugested this on another thread (unfortunately I cannot locate the link for you now), but you could just download OO from Zenwalk and use pkgtool. The only difference I see is that you'll be loading "Zen OpenOffice" instead of "OpenOffice". But, you'll learn more doing it the right way that everyone else si showing you. But, if all else fails...
 
Old 06-29-2008, 06:51 PM   #28
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Quote:
Originally Posted by joegumbo
Someone else sugested this on another thread (unfortunately I cannot locate the link for you now), but you could just download OO from Zenwalk and use pkgtool. The only difference I see is that you'll be loading "Zen OpenOffice" instead of "OpenOffice". But, you'll learn more doing it the right way that everyone else si showing you. But, if all else fails...
I would be wary of doing that. Zenwalk != Slackware, and it's set up a little differently. Some packages won't work, and may overwrite Slackware things (though I doubt that would happen frequently). You'd be better off downloading ready-made Slackware packages from Alien Bob's repository or rworkman's repository. slacky.eu also has a lot of packages and SlackBuilds, but I would trust it a little less than the previously mentioned repositories (though you shouldn't have any problems using their packages). I would discourage the use of linuxpackages.net -- although there are reputable packagers out there, finding them takes experience. Also, linuxpackages.net does not always include SlackBuilds, so you're basically using blind faith that the application was built and packaged properly.

My repository of choice is slackbuilds.org (though it is only a repository of SlackBuilds and not pte-built packages).
 
Old 06-29-2008, 07:13 PM   #29
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Rep: Reputation: 32
Quote:
Originally Posted by T3slider View Post
I would be wary of doing that. Zenwalk != Slackware, and it's set up a little differently. Some packages won't work, and may overwrite Slackware things (though I doubt that would happen frequently). You'd be better off downloading ready-made Slackware packages from Alien Bob's repository or rworkman's repository. slacky.eu also has a lot of packages and SlackBuilds, but I would trust it a little less than the previously mentioned repositories (though you shouldn't have any problems using their packages). I would discourage the use of linuxpackages.net -- although there are reputable packagers out there, finding them takes experience. Also, linuxpackages.net does not always include SlackBuilds, so you're basically using blind faith that the application was built and packaged properly.

My repository of choice is slackbuilds.org (though it is only a repository of SlackBuilds and not pte-built packages).

I'm sure you're right. And I'm not certainly suggesting that Zenwalk = Slackware in all apps. But, I did download that Zenwalk OpenOffice pkg and install it on SW 12.1. It seems to be working perfectly. Even integrated into the menus.

Last edited by joegumbo; 06-29-2008 at 07:15 PM.
 
Old 06-29-2008, 09:04 PM   #30
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Just a note, a pre-built package for OOo is available at rworkman's repository (linked in my previous post), so using Zenwalk, although convenient, isn't necessary.
 
  


Reply



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
Slackware 12.0 openoffice install problem/fix genix Slackware 21 12-13-2007 12:57 PM
OpenOffice install trouble on Slackware -- RPM can't find /bin/sh ACE91 Linux - Software 3 08-06-2006 11:10 PM
How to Install OpenOffice 2.0 on Slackware 10.2 JockVSJock Slackware 10 12-14-2005 12:54 PM
openoffice 1.1 install on slackware 9.0 srenar Slackware 11 10-27-2003 03:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:03 PM.

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
Open Source Consulting | Domain Registration