LinuxQuestions.org
Visit Jeremy's Blog.
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 11-23-2007, 02:21 AM   #1
genix
LQ Newbie
 
Registered: Jul 2007
Distribution: slackware
Posts: 23

Rep: Reputation: 15
Slackware 12.0 openoffice install problem/fix


Fellow slackers,
Recently i downloaded openoffice 2.3 and happily
ran the installer and to my dismay it baulked after extracting all the rpm's complaining with various errors such as
/bin/sh not installed
/usr/bin/grep not installed

I only spent a little time wondering why i was getting these absurd errors. and, as i looked in the install directory and saw all the rpm's sitting there in RPMS
what i did next was this
i removed any rpm's that had anything like mandriva etc in their name and typed
Code:
rpm2tgz *
then waited untill all the rpm's were turned into tgz's
and then su to root and typed
Code:
installpkg *
this installed all the packages into /opt/openoffice.org2.3
and because i do not have that in my path to run i just type
/opt/openoffice/swriter or whatever and all is well.
It actually turned out to install nicer than the crusty java installer.
This probably wont help anyone but just on the off chance it does i thought i would mention it.
 
Old 11-23-2007, 09:02 AM   #2
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Just use the slackbuild at http://slackbuilds.org/repository/12...penoffice.org/

It does everything you need with the official openoffice binary rpm.
 
Old 11-23-2007, 06:26 PM   #3
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Yeah, what shadowsnipes said. I wrote the build script at SlackBuilds.org, and I use it to create a binary package that I make available for others in case you're interested - see the links in my signature.
 
Old 11-24-2007, 05:00 AM   #4
genix
LQ Newbie
 
Registered: Jul 2007
Distribution: slackware
Posts: 23

Original Poster
Rep: Reputation: 15
...............................

Last edited by genix; 11-24-2007 at 05:21 AM.
 
Old 11-24-2007, 06:15 AM   #5
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Rep: Reputation: 242Reputation: 242Reputation: 242
I too can recommend Robby Workman's Slackbuild script. However, if you want to install a non-English (ie multi-language) version of OOo, there's another, very comfortable option, that I used for my last two installations without any problems.

http://www.slacky.eu/index.php?optio...4006&Itemid=56

When install this .tgz package, you are asked which language you want to use. Then the OOo version you like is downloaded (!) and installed. It couldn't be simpler.

gargamel
 
Old 11-24-2007, 03:11 PM   #6
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by genix View Post
err, why whould i get the slackbuild when umm, it ALREADY INSTALLED!!!!!!
Read the README file that's distributed as part of the script tarball (and is displayed on the page at http://slackbuilds.org/repository/12...penoffice.org/) and look at the build script itself (it's commented very well). Pay particular attention to the patch that works around a bug in Xfce, bu there are other things too.

At risk of sounding a bit arrogant, you have two choices: You can either use rpm2tgz and get lots of sub-packages that are built like OpenOffice.org wants them to be built, or you can use the script from SlackBuilds.org (or get my package made from it) and get a package constructed by someone who is verifiably familiar with Slackware's packaging process and standards. It's up to you.
 
Old 11-24-2007, 03:15 PM   #7
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by gargamel View Post
I too can recommend Robby Workman's Slackbuild script. However, if you want to install a non-English (ie multi-language) version of OOo, there's another, very comfortable option, that I used for my last two installations without any problems.
You might find this interesting...
From http://slackbuilds.org/slackbuilds/1...org.SlackBuild:

Code:
# Thanks to eroc for the idea to include support for other languages.
<snipped lots>
# This should allow you to either pass a different value of OOLANG when you
# run the script (OOLANG=pt-BR ./openoffice.org.SlackBuild for example) or
# change it in this script.  Note that you will need to have the correct
# tarball in the build directory for this to work...
# You can get localized tarballs from the following location:
# ftp://ftp.free.fr/mirrors/ftp.openoffice.org/localized/$OOLANG/$VERSION/
# Thanks to Niki Kovacs for finding this :-)
OOLANG=${OOLANG:-en-US}
PKG_LANG=$(echo $OOLANG | sed s/-/_/)	# Leave this alone
 
Old 11-25-2007, 06:55 PM   #8
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Rep: Reputation: 242Reputation: 242Reputation: 242
Quote:
Originally Posted by rworkman View Post
You might find this interesting...
From http://slackbuilds.org/slackbuilds/1...org.SlackBuild:

Code:
# Thanks to eroc for the idea to include support for other languages.
<snipped lots>
# This should allow you to either pass a different value of OOLANG when you
# run the script (OOLANG=pt-BR ./openoffice.org.SlackBuild for example) or
# change it in this script.  Note that you will need to have the correct
# tarball in the build directory for this to work...
# You can get localized tarballs from the following location:
# ftp://ftp.free.fr/mirrors/ftp.openoffice.org/localized/$OOLANG/$VERSION/
# Thanks to Niki Kovacs for finding this :-)
OOLANG=${OOLANG:-en-US}
PKG_LANG=$(echo $OOLANG | sed s/-/_/)	# Leave this alone

Thanks, I was, of course, aware of this. ;-)
And, as I said more than a couple of times, I do like your scripts. But the OOo-multilang package from Slacky.eu doesn't even require to edit a config file, or to download OOo manually. It just does everything for you, only asking for the language. It is so damn comfortable that I use it despite the fact there is an rworkman SlackBuild script ;-), and although its behaviour is totally non-standard. In this case the non-conformance is totally to the advantage of the user.

Of course, I have used your script before, and it worked flawlessly, too. So, as I said in my post, I do recommend your script, too.

Friends? ;-)

gargamel
 
Old 11-25-2007, 08:05 PM   #9
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by gargamel View Post
Thanks, I was, of course, aware of this. ;-)
And, as I said more than a couple of times, I do like your scripts. But the OOo-multilang package from Slacky.eu doesn't even require to edit a config file, or to download OOo manually. It just does everything for you, only asking for the language. It is so damn comfortable that I use it despite the fact there is an rworkman SlackBuild script ;-), and although its behaviour is totally non-standard. In this case the non-conformance is totally to the advantage of the user.

Of course, I have used your script before, and it worked flawlessly, too. So, as I said in my post, I do recommend your script, too.

Friends? ;-)
Of course

I'm all for using the right solution for the problem, and if that solution isn't mine, then so be it. In fact, in your shoes, I'd almost certainly use the one from slacky.eu as well.

Another great example is the scripts that Eric Hameleers has online - his do much the same thing in the context of downloading the source and such. Totally "non-standard" for *my* way of doing things, but completely standard for his way. Neither is inherently better or worse - just different. I use quite a few of his offerings myself for the sake of convenience - after all, I trust his work as much as (if not more than) I trust mine :-)
 
Old 11-26-2007, 07:57 PM   #10
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Hi:

Quote:
Originally Posted by rworkman View Post
Yeah, what shadowsnipes said. I wrote the build script at SlackBuilds.org, and I use it to create a binary package that I make available for others in case you're interested - see the links in my signature.
Hey thanks for that build script, it made my life a lot easier!

Andrew
 
Old 11-27-2007, 11:03 PM   #11
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64- 5.15.2
Posts: 909

Rep: Reputation: 55
rworkman, quick question what is the XFCE bug related to OpenOffice Install? Running Xfce in slackware12 is a ongoing struggle, considering switching to Vector or Ubuntu? Will see if I can learn enough to install some software and compile my huge.smp kernel? Anyway have been wanting to install OpenOffice in Xfce, so whats the bug I have to pay attention to? Appreciate all your work.
 
Old 11-27-2007, 11:25 PM   #12
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by NightSky View Post
rworkman, quick question what is the XFCE bug related to OpenOffice Install?
From the build script:
Code:
# Correct icon paths and Exec commands in the desktop files
# See http://bugzilla.xfce.org/show_bug.cgi?id=2430 for why we want to
# change the Exec lines 
cat $CWD/desktop-file-fix-2.3.diff | patch -p1
Here's an example of what the patch is doing:
Code:
-Exec=openoffice.org2.3 -base %U
+Exec=sbase %U
Essentially, xfdesktop's menu implementation doesn't handle the "-base" or any other "-option" command properly; see the bug report for a full description of what it does. To fix it in Xfce would require deep code changes, and since 4.4.x is a stable series, it's simply not going to happen. They're working on a completely rewritten menu system for 4.6, but that's way down the road still. In the meantime, we work around the bug.

Notice that the menu entries are changed to just call "app" - for example, "sbase" as given above. To make this work, I add symlinks in /usr/bin to each of the actual binaries.

Quote:
Running Xfce in slackware12 is a ongoing struggle, considering switching to Vector or Ubuntu?
I don't understand why it's a struggle. It's a fairly minimal (compared to kde) environment, but plenty full-featured for my tastes. If it's not enough for you, then use something else - don't try to fit a round peg into a square hole.

Quote:
Will see if I can learn enough to install some software and compile my huge.smp kernel?
Why would you want to compile a new kernel? Unless you can explain *why* you need to compile your own kernel, you almost certainly do *not* need to do so - use the provided generic-smp kernel (yes, create an initrd for it by following /boot/README.initrd).

Don't get me wrong - I think everyone should compile at least *one* good working custom kernel sooner or later, if only to know how it's done. However, I do not think compiling a custom kernel should be looked at as a "must do" thing or even as some "magic solution" to all sorts of problems, as many seem to think it is. For the vast majority of users, the stock kernel(s) will work just fine, and you save yourself a *lot* of heartache and headache by using them.

Quote:
Anyway have been wanting to install OpenOffice in Xfce, so whats the bug I have to pay attention to? Appreciate all your work.
See above; thanks!
 
Old 11-28-2007, 01:35 AM   #13
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
WMs, which I have seen in descending order of complexity:

1)KDE or Gnome
2)CDE probably (but now probably too old for most people)
2)Xfce
3)Enlightenment
4)*boxes (fluxbox, blackbox, ratbox, etc..)
5)*wm (WindowMaker, twm, fvwm2, fvwm95, etc...)
 
Old 11-28-2007, 04:58 PM   #14
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64- 5.15.2
Posts: 909

Rep: Reputation: 55
rworkman and Alien_Homnid, thanks..reason I am thinking kernel compile is because I just have a little old box: SY6ba+IV mobo, HPT366, PIII 600e, 640mb crucial, Dualboot 2-ATA 100 Segate 160gb slackware12, win98, cdrom, cdrw, modem blaster flash 56II, Eth0, 2WireGateway,Yamaha YMF 724F sndcrd, ATI Rage128 Pro Ultra AGP 32mb; running the huge.smp kernel and all I need is a safe stable desktop to run file/web server for XP and a mac..
I have had a difficult time with Xfce - permissions, getting xserver, sound, printer. Its all so time intensive learning linux just to get it to a productive level. None of this OS software and application installation is straight forward. I would like to migrate My Documents and Firefox bookmarks from win98 but truth is firefox and win98 at this point run faster than my current slackware12, xfce setup. I was thinking a kernel recompile would be a way to trim the excess modules given my hardware requirement and speed everything up too? Thanks again for your hard work.

Last edited by NightSky; 12-04-2007 at 06:13 AM.
 
Old 11-29-2007, 01:02 AM   #15
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Bah, to setup file/web server I only needed less than 5 minutes after installation. And you don't need x. You enable apache (rc.httpd) and mysqld (rc.mysqld) when installing slack (choosing services). That's the place where you should have selected cups. Later you need to edit several conf files and that's all. To get a service starting at boot time, you need to:

Code:
cd /etc/rc.d
chmod +x service_name
you need to be root, cause you give executable flag to the service

if you need to stop starting at boot:
Code:
chmod -x service_name
 
  


Reply

Tags
cannot, cant, openoffice.org, slackware



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
How to fix/prevent OpenOffice virus-BadBunny- cucolin@ Linux - Security 2 08-29-2007 07:04 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
Corrupt Zip/OpenOffice file - any way to fix? gazurtoids Linux - Software 0 12-09-2003 03:39 AM
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 06:46 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
Open Source Consulting | Domain Registration