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 12-08-2022, 05:55 AM   #1
southernlegends
LQ Newbie
 
Registered: Sep 2022
Location: High seas
Distribution: Slackware
Posts: 6

Rep: Reputation: 0
Java slackbuild from DVD builds i586 package from x64 binary on pure Slackware64 15


Greetings friends,

I want to install java on my Slackware64 15 laptop in order to run aard2 web dict app in Firefox.

I've downloaded java binary package from Oracle website for my arch, changed directory into Slack DVD Extra directory for Java and executed command:

Code:
./java.SlackBuild /home/southernlegends/Downloads/jdk-17_linux-x64_bin.tar.gz
After slackbuild succesfully finished building package, I was presented with this:

Code:
Slackware package /tmp/jdk-17_linux-i586-1.txz created
I'am puzzled with what happened, it seems I shouldn't proceed with installing i586 package on my x86_64 system.

So what should I do?
 
Old 12-08-2022, 06:36 AM   #2
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 929

Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
I think they changed the file name scheme, the SlackBuild doesn't get the arch anymore.
Try changing "jdk-17_linux-x64_bin.tar.gz" to "jdk-17-linux-x64.tar.gz" as said in the README
Code:
<snip>
Then, run the script like this:

./java.SlackBuild /tmp/jre-7u5-linux-x64.tar.gz
<snip>
 
1 members found this post helpful.
Old 12-08-2022, 07:15 AM   #3
southernlegends
LQ Newbie
 
Registered: Sep 2022
Location: High seas
Distribution: Slackware
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Paulo2 View Post
Try changing "jdk-17_linux-x64_bin.tar.gz" to "jdk-17-linux-x64.tar.gz" as said in the README
Indeed, following your suggestion, proper package was built.
So, strict adherence to naming convention and layout is mandatory.
Thank you, Paulo2.
 
  


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] query for json-c-0.13.1_20180305-i586-1.txz and libvpx-1.10.0-i586-1.txz nobodino Slackware 3 12-08-2021 04:48 AM
[SOLVED] Had to revert Samba to 4.4.16-i586-3 from 4.6.16-i586-1 ljb643 Slackware 10 05-21-2020 06:23 PM
[SOLVED] Shall I use i486 or i586 for my Slackware package builds girvinh Slackware 5 09-08-2016 02:28 AM
FFMPEG for APACHE 2.4.6 (x64), PHP 5.5 (x64), MYSQL 5.6 (x64) on WINDOWS 8 (x64) Punctual Programming 3 08-07-2013 05:20 PM
[SOLVED] x64 Mozilla Sunbird slackbuild/package brooky9999 Slackware 12 04-27-2010 08:51 AM

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

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