LinuxQuestions.org
Review your favorite Linux distribution.
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 01-23-2020, 09:50 AM   #1
samtsco
LQ Newbie
 
Registered: Sep 2010
Posts: 8

Rep: Reputation: 0
LibreOffice package in /var/log/ but Remains in /tmp


Hi,

Just installed Slackware 14.2 and been running it about a week, and did the build with the Slackbuilds.org script and sources, for LibreOffice and the programs it required.

As an aside, I found it curious that the script (after running all night) first produced a corrupt .tgz, then on the 2nd try, aborted near the beginning, and on the 3rd try, aborted at a different place. What makes the same program run differently each time?

Finally, I got a good LibreOffice-6.2.8.2-x86_64-1_SBo.tgz. But I noticed a message when it was still running that make had not been used to build the package, or something (I don't remember for sure, exactly). I used installpkg and received the message that it had installed successfully; I confirmed that the package was listed in /var/log/packages.

However, nothing for Libre showed up anywhere in /usr or anywhere else. The entire /tmp/SBo remained in /tmp.

Can you describe to me how I might arrange the files from SBo in /usr or wherever they should go, either manually, or by existing command or script? Or should I reinstall? If I reinstall, what can I look out for?

Meanwhile, I moved the entire SBo to my ~/ to free up my sa1 partition and /tmp, and have been using LO by typing ./soffice from the ~/<mydir>/SBo/libreoffice-6.2.8.2/instdir/program directory.

I will continue to work from there till I get smarter or die, whichever comes first.

Thanks
 
Old 01-23-2020, 11:29 AM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 6,465

Rep: Reputation: 4257Reputation: 4257Reputation: 4257Reputation: 4257Reputation: 4257Reputation: 4257Reputation: 4257Reputation: 4257Reputation: 4257Reputation: 4257Reputation: 4257
You should be able to view the listing in /var/log/packages for LibreOffice (it's just a text file with all the file locations). That should let you know where the files for LibreOffice are residing.

If I am to trust the file listing from slonly, soffice should reside in /usr/lib64/libreoffice-6.2.8.2/program/

But you should have several programs available in /usr/bin that you should be able to run from the commandline:

Code:
loimpress
lobase
localc
lowriter
loweb
unopkg
lomath
lodraw
loffice
lofromtemplate
And if you're using XFCE or KDE (possibly others), you should have entries for the following programs in the "start" menu:

Code:
base
calc
draw
impress
math
startcenter
writer
xsltfilter
/tmp/SBo is only used to extract the files, compile if needed, and then repackage the files to be made into a Slackware package. It can safely be deleted after successfully running the SlackBuild.
 
Old 01-23-2020, 10:51 PM   #3
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 1,664

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
From what I've heard, building LibreOffice from source is fraught with difficulties, including running out of memory. It's quite possible that your package was somehow corrupt or incomplete despite having been "successfully" installed. Unless you have a particular reason for building from source, I would recommend using the binary-repackaged version from SBo rather than the from-source version.
 
Old 01-23-2020, 11:54 PM   #4
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware Linux
Posts: 564

Rep: Reputation: 212Reputation: 212Reputation: 212
This is one of those times that I shamelessly resort to using a pre-built pkg.

http://www.slackware.com/~alien/slac...s/libreoffice/
 
1 members found this post helpful.
Old 01-24-2020, 11:54 AM   #5
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 646

Rep: Reputation: 70
samtsco

If you've still got the LibreOffice-6.2.8.2-x86_64-2_SBo.tgz try this

Code:
tar -tvf LibreOffice-6.2.8.2-x86_64-2_SBo.tgz | head
the expected results should look similar to this

Quote:
drwxr-xr-x root/root 0 2019-11-20 12:04 ./
drwxr-xr-x root/root 0 2019-11-20 12:04 etc/
drwxr-xr-x root/root 0 2019-11-20 12:04 etc/profile.d/
-rwxr-xr-x root/root 186 2019-11-20 12:04 etc/profile.d/libreoffice.csh
-rwxr-xr-x root/root 186 2019-11-20 12:04 etc/profile.d/libreoffice.sh
drwxr-xr-x root/root 0 2019-11-20 12:04 install/
-rw-r--r-- root/root 935 2019-11-20 12:04 install/slack-desc
-rw-r--r-- root/root 4020 2019-11-20 12:04 install/doinst.sh
drwxr-xr-x root/root 0 2019-11-20 12:03 usr/
drwxr-xr-x root/root 0 2019-11-20 12:03 usr/share/
then try this

Code:
tar -tvf LibreOffice-6.2.8.2-x86_64-2_SBo.tgz | tail
the expected results should look similar this

Quote:
-rwxr-xr-x root/root 158792 2019-11-20 12:04 usr/lib64/libreoffice-6.2.8.2/sdk/bin/javamaker
-rwxr-xr-x root/root 212232 2019-11-20 12:04 usr/lib64/libreoffice-6.2.8.2/sdk/bin/idlc
-rwxr-xr-x root/root 10488 2019-11-20 12:04 usr/lib64/libreoffice-6.2.8.2/sdk/bin/unoapploader
-rwxr-xr-x root/root 88952 2019-11-20 12:04 usr/lib64/libreoffice-6.2.8.2/sdk/bin/ucpp
-rwxr-xr-x root/root 43624 2019-11-20 12:04 usr/lib64/libreoffice-6.2.8.2/sdk/bin/unoidl-check
-rwxr-xr-x root/root 212104 2019-11-20 12:04 usr/lib64/libreoffice-6.2.8.2/sdk/bin/cppumaker
-rwxr-xr-x root/root 220296 2019-11-20 12:04 usr/lib64/libreoffice-6.2.8.2/sdk/bin/uno-skeletonmaker
-rwxr-xr-x root/root 9074 2019-11-20 12:03 usr/lib64/libreoffice-6.2.8.2/sdk/setsdkenv_unix.sh
-rw-r--r-- root/root 36129 2019-10-10 12:27 usr/lib64/libreoffice-6.2.8.2/sdk/config.sub
-rw-r--r-- root/root 44026 2019-10-10 12:27 usr/lib64/libreoffice-6.2.8.2/sdk/config.guess

Alex
 
  


Reply

Tags
install, libre, libreoffice, tmp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] iptables troubleshooting icmp and best place to log /var/log/messages or /var/log/iptables JockVSJock Linux - Security 18 02-12-2016 01:31 AM
[SOLVED] No /var/log/messages , syslog , kern.log -but cat /var/spool/octopussy/octo_fifo masuch Linux - Newbie 4 06-13-2012 09:05 PM
Can Samhain log my entries in /var/log/secure and /var/log/mesage to a central server abefroman Linux - Software 2 04-13-2008 05:13 PM
/tmp /var/tmp Manuel-H Linux - General 3 04-23-2005 06:30 AM
Newbie question - /tmp /var/tmp Mr happy Linux - Security 3 01-27-2003 02:03 PM

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

All times are GMT -5. The time now is 01:17 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration