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 10-04-2018, 05:38 AM   #1
Hooks123
Member
 
Registered: Aug 2014
Location: Ohio
Distribution: Slackware64 Current
Posts: 69

Rep: Reputation: 10
libreoffice-6.1.0-x86_64-1alien.txz Could not find a Java Runtime Environment


I am running current64. I installed the libreoffice-6.1.0-x86_64-1alien.txz pkg. When i run libreoffice --writer i get the following message. Could not find a Java Runtime Environment. I then installed the openjkd-8u171_b11-x86_64-1alien.txz package.

I am still unable to open the libreoffice. Same message. Could not find a Java Runtime Environment. I'm not sure how to diagnose this although I'm pretty sure this is related to multilib.

Any ideas.

thanks
 
Old 10-04-2018, 07:18 AM   #2
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Have you tried logging out and back in after installing java?
 
Old 10-04-2018, 07:28 AM   #3
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Java environment

Did you set the JAVADIR environment variable?
I don't know AlienBob's packages, but it may be they do not automatically set this variable. It should be set to the base dir of the Java runtime tree.
You should either set it globally (i.e. in /etc/profile.d/java.*sh) or in your login scripts. In both cases you must logout and login again for the setting to become active.
 
Old 10-04-2018, 08:45 AM   #4
Hooks123
Member
 
Registered: Aug 2014
Location: Ohio
Distribution: Slackware64 Current
Posts: 69

Original Poster
Rep: Reputation: 10
I logged out and back in. I no longer get the Java error. Now i get this when i run libreoffice --writer

Code:
hooks@:/home/hooks> libreoffice --writer
Intrinsic has incorrect return type!
i8 addrspace(2)* ()* @llvm.amdgcn.dispatch.ptr
Intrinsic has incorrect return type!
i8 addrspace(2)* ()* @llvm.amdgcn.dispatch.ptr
Intrinsic has incorrect return type!
i8 addrspace(2)* ()* @llvm.amdgcn.dispatch.ptr
Intrinsic has incorrect return type!
i8 addrspace(2)* ()* @llvm.amdgcn.implicitarg.ptr
LLVM ERROR: Broken function found, compilation aborted!
 
Old 10-04-2018, 08:54 AM   #5
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
This looks like a new issue. What llvm version do you have installed? Maybe your llvm version is mismatched with the version Alien Bob used to compile libreoffice?
 
Old 10-04-2018, 10:10 PM   #6
Hooks123
Member
 
Registered: Aug 2014
Location: Ohio
Distribution: Slackware64 Current
Posts: 69

Original Poster
Rep: Reputation: 10
UPDATE

I reinstalled. This time slackware current 32 bit.

I updated everything using slackpkg update upgrade-all

I then downloaded and installed the libreoffice-6.1.0-i586-1alien.txz. I then got the Java error above so i loaded openjdk. Now im still getting the

Code:
bash-4.4$ libreoffice --writer
Intrinsic has incorrect return type!
i8 addrspace(2)* ()* @llvm.amdgcn.dispatch.ptr
Intrinsic has incorrect return type!
i8 addrspace(2)* ()* @llvm.amdgcn.dispatch.ptr
Intrinsic has incorrect return type!
i8 addrspace(2)* ()* @llvm.amdgcn.dispatch.ptr
Intrinsic has incorrect return type!
i8 addrspace(2)* ()* @llvm.amdgcn.implicitarg.ptr
LLVM ERROR: Broken function found, compilation aborted!
What is strange is i reloaded my computer a week ago and the libreoffice package worked fine. Im not sure what i am doing wrong.

Im going to install llvm from sbopkg and see what happens.
 
Old 10-04-2018, 11:38 PM   #7
zuriel
Member
 
Registered: Aug 2012
Distribution: Slackware
Posts: 60

Rep: Reputation: 50
Quote:
Originally Posted by Hooks123 View Post
I updated everything using slackpkg update upgrade-all
Did you remember install-new and clean-system?
 
Old 10-05-2018, 06:01 AM   #8
Hooks123
Member
 
Registered: Aug 2014
Location: Ohio
Distribution: Slackware64 Current
Posts: 69

Original Poster
Rep: Reputation: 10
Yes. I did install-new. I didn't do install-clean though
 
Old 10-05-2018, 07:05 AM   #9
Hooks123
Member
 
Registered: Aug 2014
Location: Ohio
Distribution: Slackware64 Current
Posts: 69

Original Poster
Rep: Reputation: 10
Can someone point me in the direction of verifying my build environment is correct? I have tried to compile 2 different sbopkgs and both of them failed. I tried llvm and abiword. I think something is wrong.

thanks
 
Old 10-05-2018, 07:32 AM   #10
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Quote:
Originally Posted by orbea View Post
What llvm version do you have installed? Maybe your llvm version is mismatched with the version Alien Bob used to compile libreoffice?
Still not answered...
 
Old 10-05-2018, 07:51 AM   #11
Hooks123
Member
 
Registered: Aug 2014
Location: Ohio
Distribution: Slackware64 Current
Posts: 69

Original Poster
Rep: Reputation: 10
Quote:
Originally Posted by orbea View Post
Still not answered...
Sorry, It is llvm-7.0.0-i586-1. This is a stock install of current. all i done was update via slackpkg
 
Old 10-05-2018, 07:52 AM   #12
Hooks123
Member
 
Registered: Aug 2014
Location: Ohio
Distribution: Slackware64 Current
Posts: 69

Original Poster
Rep: Reputation: 10
I was able to install libreoffice via sbopkg. Im not sure what is going on. lol
 
Old 10-05-2018, 07:58 AM   #13
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Thanks, I suspect Alien Bob's libreoffice needs to be recompiled. If he doesn't notice this thread I would share the issue with him on his blog.

llvm-7.0.0 was added to current on on September 21.
Code:
Fri Sep 21 18:51:07 UTC 2018
d/llvm-7.0.0-x86_64-1.txz: Upgraded.
While Alien Bob's current libreoffice package seems to have been built last on August 16.
Code:
libreoffice-6.1.0-i586-1alien.txz	  16-Aug-2018 17:23 	148M
http://www.slackware.com/~alien/slac...e/pkg/current/
 
Old 10-05-2018, 07:59 AM   #14
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Quote:
Originally Posted by Hooks123 View Post
I was able to install libreoffice via sbopkg. Im not sure what is going on. lol
libreoffice from SBo is the repackaged binary install from libreoffice upstream.
 
Old 10-05-2018, 08:08 AM   #15
Hooks123
Member
 
Registered: Aug 2014
Location: Ohio
Distribution: Slackware64 Current
Posts: 69

Original Poster
Rep: Reputation: 10
Actually the Libreoffice sbopkg didn't install correctly. I got a compile error.


Code:
checking whether to use specific JVM search path at runtime... no
checking for jakarta-ant... no
checking for ant... no
checking for ant.sh... no
checking for ant.bat... no
checking for ant.cmd... no
configure: error: Ant not found - Make sure it's in the path or use --with-ant-home

I think i need to do a complete reload of my system. not sure what is going on.

Thanks for the help.

Last edited by Hooks123; 10-05-2018 at 08:12 AM.
 
  


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
[SOLVED] libreoffice-6.1.0-x86_64-1alien no postscript Xsane Slackware 6 10-07-2018 09:09 PM
chromium-62.0.3202.75-x86_64-1alien.txz won't run for me Zwergele Slackware 25 11-01-2017 11:51 AM
Installed Allen VLC vlc-2.2.4-x86_64-1alien.txz and PulseAudio Volume Control not working properly BW-userx Slackware 2 01-05-2017 07:16 AM
How to install only Writer from Libreoffice package"libreoffice-4.0.3-i486-1alien.txz just.srad Slackware 10 05-30-2013 02:37 PM

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

All times are GMT -5. The time now is 11:16 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