|
|
| fresh install on -CURRENT? |
  United States |
2007-06-13 10:21:38 |
What is the correct way to install native jdk15 on
-CURRENT?
I'm trying to boot-strap from linux-jdk15, but Sun only
seems to
have the binaries and sources for -12, not -11 as the port
wants.
Thanks,
Robert Huff
_______________________________________________
freebsd-java freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to
"freebsd-java-unsubscribe freebsd.org"
|
|
| Re: fresh install on -CURRENT? |
  United States |
2007-06-13 11:37:37 |
On Wednesday 13 June 2007 11:21 am, Robert Huff wrote:
> What is the correct way to install native jdk15 on
-CURRENT?
> I'm trying to boot-strap from linux-jdk15, but Sun only
seems to
> have the binaries and sources for -12, not -11 as the
port wants.
You can get my unofficial and experimental patch for JDK 1.5
Update 12
from here:
http://people.freebsd.org/~jkim/ports-update-to-jdk
15u12.diff
BTW, WITH_WEB is enabled by default on amd64 with this
patch. If you
dare, please test the following experimental patch as well:
http://people.freebsd.org/~jkim/patch-amd64_plugin.bz2
How to build:
1. Download all necessary files/patches in
/usr/ports/distfiles.
2. cd /usr/ports/java/jdk15
3. patch -p3 <
../../distfiles/ports-update-to-jdk15u12.diff
4a. (Optional steps for the plugin patch)
make patch
cd work
bunzip2 -c ../../../distfiles/patch-amd64_plugin.bz2 |
patch -p
cd ..
make WITH_WEB=yes
4b. make
5. Install.
If you decided to try out plugin patches, let me know if
there's any
build breakage or regression on i386 and/or amd64.
Thanks,
Jung-uk Kim
_______________________________________________
freebsd-java freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to
"freebsd-java-unsubscribe freebsd.org"
|
|
| Re: fresh install on -CURRENT? |
  United States |
2007-06-13 12:21:32 |
Jung-uk Kim writes:
> BTW, WITH_WEB is enabled by default on amd64 with this
patch. If you
> dare, please test the following experimental patch as
well:
>
> http://people.freebsd.org/~jkim/patch-amd64_plugin.bz2
Does this apply if the system is i386?
Robert Huff
_______________________________________________
freebsd-java freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to
"freebsd-java-unsubscribe freebsd.org"
|
|
| Re: fresh install on -CURRENT? |
  United States |
2007-06-13 12:33:22 |
On Wednesday 13 June 2007 01:21 pm, Robert Huff wrote:
> Jung-uk Kim writes:
> > BTW, WITH_WEB is enabled by default on amd64 with
this patch.
> > If you dare, please test the following
experimental patch as
> > well:
> >
> > http://people.freebsd.org/~jkim/patch-amd64_plugin.bz2
>
> Does this apply if the system is i386?
It does not fix anything on i386 but I'd like to know if
there's any
regression with the patch, of course. It's up
to you.
Jung-uk Kim
_______________________________________________
freebsd-java freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to
"freebsd-java-unsubscribe freebsd.org"
|
|
| Re: fresh install on -CURRENT? |
  Australia |
2007-06-13 13:25:42 |
On Wed, Jun 13, 2007 at 11:21:38AM -0400, Robert Huff
wrote:
>
> What is the correct way to install native jdk15 on
-CURRENT?
> I'm trying to boot-strap from linux-jdk15, but Sun only
seems to
> have the binaries and sources for -12, not -11 as the
port wants.
> Thanks,
http://download.java.net/tiger/archive/tiger_u11/index
.csp
--
Greg Lewis Email : glewis eyesbeyond.com
Eyes Beyond Web : http://www.eyesbeyond.com
a>
Information Technology FreeBSD : glewis FreeBSD.org
_______________________________________________
freebsd-java freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to
"freebsd-java-unsubscribe freebsd.org"
|
|
| Re: fresh install on -CURRENT? |
  United States |
2007-06-22 07:22:57 |
Am I correct in remembering Greg saying once compat6x was
in
place, diablo-jdk15 ought to work pn -CURRENT?
If so, is there a reason diablo still says:
huff >> make
===> diablo-jdk-1.5.0.07.01_5 Not available for FreeBSD
7.x yet.
*** Error code 1
?
Robert Huff
_______________________________________________
freebsd-java freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to
"freebsd-java-unsubscribe freebsd.org"
|
|
| Re: fresh install on -CURRENT? |
  Australia |
2007-06-26 02:27:49 |
On Mon, Jun 25, 2007 at 11:25:26AM -0400, Robert Huff
wrote:
> Greg Lewis writes:
>
> > I wasn't aware compat6x had been committed (it
hadn't when I last
> > checked). Please cvsup (or whatever you do) and
try again. I
> > just committed a change that makes the port
depend on compat6x on
> > 7.x.
>
> Done. daiblo-jdk15 is now installed.
> However: after applying the patch and attempting to
build
> jdk15-p12, I get the appended.
> What have I done wrong?
Looks like jdk15 isn't completely up to date. In particular
it looks
suspiciously like you have some patches which no longer
exist still
there.
>
> Hmm... The next patch looks like a unified diff to
me...
> The text leading up to this was:
> --------------------------
> |Index: j2se/src/solaris/native/sun/nio/ch/Net.c
>
|===========================================================
========
> |RCS file:
/var/jcvs/javasrc_1_5_jrl/j2se/src/solaris/native/sun/nio/ch
/Net.c,v
> |retrieving revision 1.1.1.2
> |retrieving revision 1.5
> |diff -u -r1.1.1.2 -r1.5
> |--- j2se/src/solaris/native/sun/nio/ch/Net.c 6 Mar
2007 16:53:30 -0000 1.1.1.2
> |+++ j2se/src/solaris/native/sun/nio/ch/Net.c 15 May
2007 22:23:52 -0000 1.5
> --------------------------
> Patching file j2se/src/solaris/native/sun/nio/ch/Net.c
using Plan A...
> Hunk #1 succeeded at 120.
> Hunk #2 succeeded at 154.
> Hunk #3 succeeded at 330.
> Hmm... The next patch looks like a unified diff to
me...
> The text leading up to this was:
> --------------------------
> |Index:
j2se/src/solaris/native/sun/nio/ch/ServerSocketChannelImpl.c
>
|===========================================================
========
> |RCS file:
/var/jcvs/javasrc_1_5_jrl/j2se/src/solaris/native/sun/nio/ch
/ServerSocketChannelImpl.c,v
> |retrieving revision 1.1.1.1
> |retrieving revision 1.4
> |diff -u -r1.1.1.1 -r1.4
> |---
j2se/src/solaris/native/sun/nio/ch/ServerSocketChannelImpl.c
8 Nov 2004 22:27:40 -0000 1.1.1.1
> |+++
j2se/src/solaris/native/sun/nio/ch/ServerSocketChannelImpl.c
30 Mar 2007 16:45:50 -0000 1.4
> --------------------------
> Patching file
j2se/src/solaris/native/sun/nio/ch/ServerSocketChannelImpl.c
using Plan A...
> Hunk #1 succeeded at 63.
> Hunk #2 succeeded at 97.
> Hmm... The next patch looks like a unified diff to
me...
> The text leading up to this was:
> --------------------------
> |Index:
j2se/src/solaris/native/sun/nio/ch/SocketChannelImpl.c
>
|===========================================================
========
> |RCS file:
/var/jcvs/javasrc_1_5_jrl/j2se/src/solaris/native/sun/nio/ch
/SocketChannelImpl.c,v
> |retrieving revision 1.1.1.1
> |retrieving revision 1.2
> |diff -u -r1.1.1.1 -r1.2
> |---
j2se/src/solaris/native/sun/nio/ch/SocketChannelImpl.c 8 Nov
2004 22:27:40 -0000 1.1.1.1
> |+++
j2se/src/solaris/native/sun/nio/ch/SocketChannelImpl.c 16
Jan 2007 21:34:56 -0000 1.2
> --------------------------
> Patching file
j2se/src/solaris/native/sun/nio/ch/SocketChannelImpl.c using
Plan A...
> Hunk #1 succeeded at 37.
> Hmm... The next patch looks like a unified diff to
me...
> The text leading up to this was:
> --------------------------
> |Index: j2se/src/solaris/native/sun/xawt/XWindow.c
>
|===========================================================
========
> |RCS file:
/var/jcvs/javasrc_1_5_jrl/j2se/src/solaris/native/sun/xawt/X
Window.c,v
> |retrieving revision 1.1.1.2
> |retrieving revision 1.3
> |diff -u -r1.1.1.2 -r1.3
> |--- j2se/src/solaris/native/sun/xawt/XWindow.c 6 Mar
2007 16:53:30 -0000 1.1.1.2
> |+++ j2se/src/solaris/native/sun/xawt/XWindow.c 6 Mar
2007 17:45:05 -0000 1.3
> --------------------------
> Patching file
j2se/src/solaris/native/sun/xawt/XWindow.c using Plan A...
> Hunk #1 succeeded at 210.
> Hunk #2 succeeded at 840.
> Hmm... The next patch looks like a unified diff to
me...
> The text leading up to this was:
> --------------------------
> |Index: j2se/src/solaris/transport/socket/socket_md.c
>
|===========================================================
========
> |RCS file:
/var/jcvs/javasrc_1_5_jrl/j2se/src/solaris/transport/socket/
socket_md.c,v
> |retrieving revision 1.1.1.1
> |retrieving revision 1.3
> |diff -u -r1.1.1.1 -r1.3
> |--- j2se/src/solaris/transport/socket/socket_md.c 8
Nov 2004 22:27:40 -0000 1.1.1.1
> |+++ j2se/src/solaris/transport/socket/socket_md.c 3
Jan 2005 18:32:01 -0000 1.3
> --------------------------
> Patching file
j2se/src/solaris/transport/socket/socket_md.c using Plan
A...
> Hunk #1 succeeded at 17.
> Hunk #2 succeeded at 264.
> done
> ===> Applying FreeBSD patches for jdk-1.5.0.12p5,1
> Ignoring previously applied (or reversed) patch.
> 1 out of 1 hunks ignored--saving rejects to
../../hotspot/src/os_cpu/bsd_amd64/vm/os_bsd_amd64.hpp.rej
> Ignoring previously applied (or reversed) patch.
> 1 out of 1 hunks ignored--saving rejects to
../../hotspot/src/os_cpu/bsd_i486/vm/os_bsd_i486.hpp.rej
> Ignoring previously applied (or reversed) patch.
> 1 out of 1 hunks ignored--saving rejects to
../../hotspot/src/os_cpu/bsd_amd64/vm/os_bsd_amd64.hpp.rej
> Ignoring previously applied (or reversed) patch.
> 1 out of 1 hunks ignored--saving rejects to
../../hotspot/src/os_cpu/bsd_i486/vm/os_bsd_i486.hpp.rej
> Ignoring previously applied (or reversed) patch.
> 1 out of 1 hunks ignored--saving rejects to
../../hotspot/src/os_cpu/bsd_amd64/vm/os_bsd_amd64.hpp.rej
> Ignoring previously applied (or reversed) patch.
> 1 out of 1 hunks ignored--saving rejects to
../../hotspot/src/os_cpu/bsd_i486/vm/os_bsd_i486.hpp.rej
> => Patch patch-setup_fpu failed to apply cleanly.
> => Patch(es) patch-control::common: efs-bsd.
gmk patch-deploy::common: efs-bsd.
gmk patch-deploy::common::config.gmk
patch-deploy::controlpanel::sun_java.desktop
patch-deploy::jvmnative::Makefile
patch-deploy::make::common: efs-bsd.
gmk patch-deploy::ns7-adapter::Makefile
patch-deploy::nscore::Makefile
patch-hotspot::bsd_i486::vm::os_bsd_i486.cpp
patch-hotspot::i486::vm::i486.ad
patch-hotspot::i486::vm::register_i486.hpp
patch-j2se::awt::fontpath.c patch-j2se::awt::mawt.gmk
patch-j2se::awt::mlib_sys.c patch-j2se::bin::java_md.c
patch-j2se::common: efs-bsd.
gmk patch-j2se::font::Makefile
patch-j2se::gtk::GTKLookAndFeel.java
patch-j2se::gtk::Metacity.java patch-j2se::hpi::memory_md.c
patch-j2se::instrument::Makefile
patch-j2se::nio::genCharsetProvider.sh
patch-j2se::sound::HAE_API_BSDOS.c patch-j2se: awt::
Makefile patch-java_Makefile applied cleanly.
> *** Error code 1
>
> Stop in /usr/ports/java/jdk15.
> *** Error code 1
>
> Stop in /usr/ports/java/jdk15.
> huff jerusalem>> ^Dexit
>
> Script done on Mon Jun 25 09:04:56 2007
>
--
Greg Lewis Email : glewis eyesbeyond.com
Eyes Beyond Web : http://www.eyesbeyond.com
a>
Information Technology FreeBSD : glewis FreeBSD.org
_______________________________________________
freebsd-java freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to
"freebsd-java-unsubscribe freebsd.org"
|
|
| Re: fresh install on -CURRENT? |
  United States |
2007-06-26 07:37:58 |
Greg Lewis writes:
> > However: after applying the patch and attempting
to build
> > jdk15-p12, I get the appended.
> > What have I done wrong?
>
> Looks like jdk15 isn't completely up to date. In
particular it
> looks suspiciously like you have some patches which no
longer
> exist still there.
Like I said, applied Jung-uk's
patch(ports-update-to-jdk15u12.diff).
Is this no longer operative or somehow defective? Because I
run
"make clean" before every build attempt.
Robert Huff
_______________________________________________
freebsd-java freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to
"freebsd-java-unsubscribe freebsd.org"
|
|
| Re: fresh install on -CURRENT? |
  Australia |
2007-06-26 10:05:31 |
On Tue, Jun 26, 2007 at 08:37:58AM -0400, Robert Huff
wrote:
> Greg Lewis writes:
>
> > > However: after applying the patch and
attempting to build
> > > jdk15-p12, I get the appended.
> > > What have I done wrong?
> >
> > Looks like jdk15 isn't completely up to date. In
particular it
> > looks suspiciously like you have some patches
which no longer
> > exist still there.
>
> Like I said, applied Jung-uk's
patch(ports-update-to-jdk15u12.diff).
> Is this no longer operative or somehow defective?
Because I run
> "make clean" before every build attempt.
Its not a matter of make clean. The problem looked like you
had some
patches in the files directory which were no longer
applicable. I suggest
that whatever way you update ports (CVSup, CVS, etc.) you
clean out the
jdk15 port and update it.
--
Greg Lewis Email : glewis eyesbeyond.com
Eyes Beyond Web : http://www.eyesbeyond.com
a>
Information Technology FreeBSD : glewis FreeBSD.org
_______________________________________________
freebsd-java freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to
"freebsd-java-unsubscribe freebsd.org"
|
|
| Re: fresh install on -CURRENT? |
  United States |
2007-06-26 10:59:08 |
Greg Lewis writes:
> Its not a matter of make clean. The problem looked
like you had
> some patches in the files directory which were no
longer
> applicable. I suggest that whatever way you update
ports (CVSup,
> CVS, etc.) you clean out the jdk15 port and update
it.
Fixed that. THanks.
Now:
WARNING: Your FreeBSD installation is not valid for building
a
the J2SDK. You must be using FreeBSD
4.1[01]|5.[345]|6.*.
Your release is 7.0-CURRENT
ERROR: Your BOOTDIR environment variable does not point
to a valid Java 2 SDK for bootstrapping this build.
A Java 2 SDK 5.0_12 build must be bootstrapped using
J2SDK 1.4.2 fcs (or later).
Apparently, your bootstrap JDK is version libz.so.3
Please update your ALT_BOOTDIR setting and start your
build again.
Robert Huff
_______________________________________________
freebsd-java freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to
"freebsd-java-unsubscribe freebsd.org"
|
|