SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am using Slackware 14.2, and KDE.
I want to install openjdk. I have already installed apache-ant successfully.
I get the error just one or two minutes after executing the slackbuild script - I run the command
Code:
TMP=../tmp ./openjdk.SlackBuild
The error I get is:
Code:
mv stamps/patch.stamp.tmp stamps/patch.stamp
Checking patches/rh1022017.patch
Invalid file name openjdk/jdk/src/share/classes/sun/security/ssl/SupportedEllipticCurvesExtension.java -- skipping patch
ERROR patch patches/rh1022017.patch FAILED!
WARNING make clean-patch before retrying a fix
Makefile:2157: recipe for target 'stamps/patch.stamp' failed
make: *** [stamps/patch.stamp] Error 2
I doubled checked that I do have installed the required packages, which according to slackbuilds.org is only apache-ant - even though I am not sure this Error is related to apache-ant.
I have also updated all my packages just in case I was missing some required version, but the problem is still there.
Has anybody gotten this error in the past?
Thanks!
PD By the way, Happy new Year!
Last edited by eindemwort; 01-01-2018 at 07:06 AM.
Anyway, if you believe that the Slackware way to install custom packages is to build them from sources, you are terrible mistaken.
Slackware in NOT like the Gentoo, if you do not noticed already.
PS. Your thread title create (intentionally?) confusion, because you do not talk about installing of an OpenJDK package, but about building it from sources, which is not a trivial task.
Last edited by Darth Vader; 01-01-2018 at 08:21 AM.
Thanks for the hint DarthVader
I am simply new to Slackware maybe, but the docs I have read where talking about using slackbuild scripts - which I found interesting but yes... not comfortable.
I will follow your advice.
You are riht about the misleading title. It was not my intention to create confusion but I cannot change it now. I will pay more attention next time.
By the way, is there a way to search for binary packages?
How did you find this link you provided to me?
Does it work if you do not set the TMP environment variable? I just built openjdk on Slackware64-14.2 yesterday without issue.
I actually don't know.
I set another tmp directory because I definitely don't have 11 GB in root - simply followed the suggestion of the README file.
.
Thanks for the hint DarthVader
I am simply new to Slackware maybe, but the docs I have read where talking about using slackbuild scripts - which I found interesting but yes... not comfortable.
I will follow your advice.
Do not complicate your life and do as you promised.
Quote:
Originally Posted by eindemwort
You are riht about the misleading title. It was not my intention to create confusion but I cannot change it now. I will pay more attention next time.
You can edit the thread title, going in advanced mode while editing your first post, BTW...
Quote:
Originally Posted by eindemwort
By the way, is there a way to search for binary packages?
How did you find this link you provided to me?
mulţumesc!
I strongly suggest you to inspect the AlienBOB's really huge repository.
He's The Heavy Lifter of Slackware, and you can find there even really, but really heavy things like Plasma 5.
Last edited by Darth Vader; 01-01-2018 at 07:06 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.