![]() |
|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]() Code:
>> (SHA256) jdk-1_5_0_14-fcs-src-b03-jrl-05_oct_2007.jar: OK >> (SHA256) jdk-1_5_0_14-fcs-bin-b03-jrl-05_oct_2007.jar: OK >> (SHA256) bsd-jdk15-patches-8.tar.bz2: OK >> (SHA256) jdk-1_5_0_14-solaris-i586.tar.Z: OK >> (SHA256) xalan-j_2_7_0-bin.tar.gz: FAILED >> Checksum mismatch for xalan-j_2_7_0-bin.tar.gz. (sha256) Make sure the Makefile and checksum file (/usr/ports/devel/jdk/1.5/distinfo) are up to date. If you want to fetch a good copy of this file from the OpenBSD main archive, type "make REFETCH=true [other args]". *** Error code 1 Stop in /usr/ports/devel/jdk/1.5 (line 1774 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/devel/jdk/1.5 (line 1921 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/devel/jdk/1.5 (line 1392 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/devel/jdk/1.5 (line 1890 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/devel/jdk/1.5 (line 1422 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/devel/jdk/1.6 (line 1550 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/devel/jdk/1.6 (line 1921 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/devel/jdk/1.6 (line 1392 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/devel/jdk/1.6 (line 1890 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/devel/jdk/1.6 (line 1422 of /usr/ports/infrastructure/mk/bsd.port.mk). # exit Please help. ![]() |
|
|||
![]() Quote:
Sun has recently GPL'ed the JDK, but packages are not yet available -- possibly in the OpenBSD 4.4 timeframe or later. Quote:
http://www.openbsd.org/4.3_packages/....tgz-long.html Last edited by ocicat; 22nd June 2008 at 08:20 AM. |
|
|||
![]() Quote:
|
|
|||
![]() Quote:
Nevertheless, you could try ftp(1) assuming that you attempted downloading through HTTP. |
|
||||
![]()
You could also save the file from any web browser.
Since you seem unable to obtain the tarball from apache.org, I will make it temporarily available from here: www.jggimi.homeip.net/xalan-j_2_7_0-bin.tar.gz Let us know if you are able to obtain it. |
|
|||
![]()
Oh, thank you. I download the xalan from the link u provided and it works.
|
|
|||
![]()
What should i install in case to compile and run java program?
|
|
|||
![]() Quote:
Code:
# ln -sf /usr/local/jdk-1.6.0/bin/java /usr/local/bin/java # ln -sf /usr/local/jdk-1.6.0/bin/javac /usr/local/bin/javac |
|
|||
![]()
Good day gents,
Got a problem here... Attempting to install jdk 1.6 from ports... and I get this: *** You're missing files: jdk-1_5_0_14-solaris-i586.tar.Z ![]() : Would any of you kind sirs know where I might get this beast? ![]() Cheers, Guy on a fresh OpenBSD 4.4 install |
|
||||
![]()
According to FAQ 8, for Java versions with Sun's restrictive licenses, you must register with Sun and agree to Sun's licenses, then manually fetch the distribution files yourself.
If you take a moment to read the output of your failing make command, you will see the exact instructions you must follow. Here's the output from a jdk 1.6 make on -current; you should see similar output with whatever you are running: Code:
$ make ===> Checking files for jdk-1.6.0.03 *** You're missing files: jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar jdk-6u3-fcs-bin-b05-jrl-24_sep_2007.jar jdk-6u3-fcs-mozilla_headers-b05-unix-24_sep_2007.jar bsd-jdk16-patches-4.tar.bz2 *** You must manually fetch the distribution files, place *** them in /usr/ports/distfiles and then run make again. *** Get the JDK 6u3 Source file: *** jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar *** and the JDK Binaries file: *** jdk-6u3-fcs-bin-b05-jrl-24_sep_2007.jar *** and the Mozilla Binaries file: *** jdk-6u3-fcs-mozilla_headers-b05-unix-24_sep_2007.jar *** from http://download.java.net/jdk6/6u3/promoted/b05/index.html *** *** Get the BSD patchset file: *** bsd-jdk16-patches-4.tar.bz2 *** from http://www.eyesbeyond.com/freebsddom/java/jdk16.html *** Error code 1 ... |
|
|||
![]()
You have to download the java sources from the Sun website first.
This is explained in the section "Building the Sun JDK" from http://www.openbsd.org/faq/faq8.html#Programming ![]()
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
![]()
Good evening gents,
Forgive me... Some background. I have already registered with Sun.
The problem is that the path/URL provided in the error referring to this file is incorrect. This is why I was wondering if any of you had this file. I had meant to keep the post short, however, if you want me to go through my install steps, step by step, that would not be a problem. ![]() Cheers, Guy |
|
|||
![]()
Just a quick question; ignoring for a moment that I don't use Java; and never have.. but isn't the jdk/jre 1.7 port.. (OpenJDK).. available as a package?
Why use 1.{5,6} instead of that? |
|
||||
![]() Quote:
It is likely that while you have all of your distfiles for 1.6, you have not noticed that the make is attempting to build 1.5 first... unfortunately, 1.5 is a build dependency for 1.6. See the BUILD_DEPENDS variable in the 1.6 Makefile. Quote:
Quote:
|
|
|||
![]() Quote:
Anyway, I found references to "gcjwebplugin", a replacement that works with OpenJDK. Do you know anything about that? |
|
|||
![]()
Please disregard; I did a little more research.. seems as if it's still in the early stages.. no apparent port for OpenBSD available either.
Ignore me.. ![]() EDIT: Is also something called IcedTeaPlugin... such a confusing thing java is. Last edited by BSDfan666; 1st January 2009 at 07:48 AM. |
|
|||
![]()
Good evening gentlemen,
First, let me reply to BSDfan666: I installed the jre package, but it didn't seem to be acknowledged by the UML tool I was trying to build. I thought it might be prudent to install from ports as I had hoped it might be more readily recognized... This still appears to be seen. ![]() Secondly, my reply to jggimi: I did notice that the requirements were for 1.5, as opposed to 1.6. If you will notice my original post, I cited the file requested. When a java build errors, it displays an address for the build requirement. Unfortunately for me, the address specified did not house the file in question. That is the challenge I am facing right now. So in summary, does anyone have the file in question? I'll post the required file again: jdk-1_5_0_14-solaris-i586.tar.Z If not, I do not want to waste anyone's time or extend this thread indefinitely. I can try to build another tool/solution. I will try again when I have free time next week. ![]() Cheers gents and have a good weekend! Guy |
|
||||
![]() Code:
*** Get JDK 5.0 Update 14 for Solaris x86 packages file: *** jdk-1_5_0_14-solaris-i586.tar.Z *** from http://java.sun.com/javase/downloads/index_jdk5.jsp or *** http://java.sun.com/products/archive/j2se/5.0_14/index.html The second link is apparently no longer valid. |
![]() |
Tags |
java, java jdk, jdk |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
make build hangs | chill | OpenBSD Installation and Upgrading | 5 | 2nd April 2009 05:03 PM |
Do you build your own computers? | JMJ_coder | Off-Topic | 28 | 28th July 2008 03:04 AM |
lang/pcc build errors | JMJ_coder | NetBSD Package System (pkgsrc) | 1 | 17th June 2008 02:00 AM |
New server build | tanked | FreeBSD General | 1 | 5th June 2008 06:41 AM |
BitchX build failure | mahoney | FreeBSD Ports and Packages | 1 | 8th May 2008 07:48 AM |