LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-01-2018, 06:25 AM   #1
eindemwort
Member
 
Registered: Dec 2017
Location: Regensburg, DE
Distribution: Slackware -current
Posts: 35

Rep: Reputation: Disabled
Question Building openjdk fails


Hello,

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.
 
Old 01-01-2018, 06:29 AM   #2
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Just use the AlienBOB's OpenJDK shipped binary packages, and be happy: https://slackware.nl/people/alien/slackbuilds/openjdk/

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.
 
Old 01-01-2018, 06:53 AM   #3
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Does it work if you do not set the TMP environment variable? I just built openjdk on Slackware64-14.2 yesterday without issue.

Edit: did you also ensure you downloaded all the source files for openjdk (there are many) and that the md5sums are correct?

Last edited by montagdude; 01-01-2018 at 06:56 AM.
 
Old 01-01-2018, 06:53 AM   #4
eindemwort
Member
 
Registered: Dec 2017
Location: Regensburg, DE
Distribution: Slackware -current
Posts: 35

Original Poster
Rep: Reputation: Disabled
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?


mulţumesc!
 
Old 01-01-2018, 06:56 AM   #5
eindemwort
Member
 
Registered: Dec 2017
Location: Regensburg, DE
Distribution: Slackware -current
Posts: 35

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by montagdude View Post
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.
.
 
Old 01-01-2018, 07:02 AM   #6
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by eindemwort View Post
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 View Post
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 View Post
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.
 
Old 01-01-2018, 07:07 AM   #7
eindemwort
Member
 
Registered: Dec 2017
Location: Regensburg, DE
Distribution: Slackware -current
Posts: 35

Original Poster
Rep: Reputation: Disabled
Great!
Thanks again! Tittle has been changed!
 
Old 01-01-2018, 08:41 AM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Hi eindemwort, welcome to Slackware.
There's a lot of information in the Slack Docs Wiki and as a beginner you may want to follow the links on its homepage https://docs.slackware.com/ . And what you are looking for specifically can be found in https://docs.slackware.com/howtos:sl...ing_software?s[]=repositories
 
2 members found this post helpful.
  


Reply

Tags
openjdk, slackbuilds, slackware 14.2



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] OpenJDK compile fails on 32-bit current canadensis Slackware 5 03-07-2016 08:31 AM
Compiling java icedtea for openjdk 7 with openjdk 6 Alpha90 Programming 2 03-29-2015 01:32 PM
[SOLVED] Both java-1.7.0-openjdk and java-1.6.0-openjdk are installed ?? SharpyWarpy Linux - Software 2 01-16-2013 11:28 AM
Installation from external CD fails to find it during installation darrelljon Ubuntu 3 08-19-2008 04:16 AM

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

All times are GMT -5. The time now is 11:31 PM.

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