Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jun 2004 02:05:00 -0400
From:      Bill Vermillion <bv@wjv.com>
To:        Ethan Killian <ethan@hkfanatic.com>
Cc:        freebsd-java@freebsd.org
Subject:   Re: jdk 1.4
Message-ID:  <20040608060500.GF44006@wjv.com>
In-Reply-To: <40C5080A.5080502@hkfanatic.com>
References:  <40C26132.7070705@indigomoon.ca> <40C4FAA2.2080103@hkfanatic.com> <20040608001115.GB42346@wjv.com> <40C5080A.5080502@hkfanatic.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On or about Mon, Jun 07, 2004 at 18:27 , while attempting a=20
Zarathustra emulation Ethan Killian thus spake:

> Bill,

> I have been working on an Eclipse 3.0 port so I just installed a fresh=20
> install of Java today on my 4.10 FreeBSD Box.  It did originally crash=20
> because I did not run the following first:

> kldload linprocfs
> mount -t linprocfs linprocfs /compat/linux/proc

I've done both of those.

> Once these are loaded though, I did a 'make clean' and then
> 'make install' from the /usr/ports/java/jdk14/ directory and
> it completed. The thing catch is that you will also have to
> download the j2sdk-1_4_2_04-linux-i586.bin file. This applies to
> my previous email that I forgot to include. Basically to build
> the native port, it uses the linux binary to help with the build
> process.

I've also done that.  The docs do say that you have to have Java
running to bootstrap the jdk14 and the boostrap of choice is the
sun-linux with the above *586* name you have listed above.


> So, first run:
>=20
> kldload linprocfs
> mount -t linprocfs linprocfs /compat/linux/proc

kldload linprocfs gives "can't load linproc fs: file exist"

Here is mount output

/dev/ad0s2a on / (ufs, local)
/dev/ad0s2g on /usr (ufs, local, noatime, soft-updates)
/dev/ad0s2f on /usr2 (ufs, local, soft-updates)
/dev/ad0s2e on /var (ufs, local, soft-updates)
procfs on /proc (procfs, local)
linprocfs on /usr/compat/linux/proc (linprocfs, local)

> Make sure you have all 4 files (in /usr/ports/distfiles)

> j2sdk-1_4_2_04-linux-i586.bin
> <>j2sdk-1_4_2-src-scsl.zip
> j2sdk-1_4_2-bin-scsl.zip
> bsd-jdk14-patches-6.tar.gz

All there.

> Run 'make install' from the /usr/ports/java/jdk14/

> If you are missing some of the files, it should tell you what
> you need to get and where to place the file. This port is
> difficult to get installed because you have to manually fetch
> the files and register with sun.com to get them. It did work
> for me today however when I installed this from scratch. If you
> still get failures paste the error.

> And I am running a Generic 4.10 kernel on the box I got the jdk14=20
> installed on today.

My kernel is almost GENERIC - and it was built on Friday when I had
the problems. I did a complete removal of /usr/src and /usr/obj.

I just did a make clean in jdk14. And reran it.

I'll inlcude the tail end of the failur here.  I ran this under
script, and there are 8100 lines of output.  I'll just include the
last few lines here.  It always fails on the linux-sun thing.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D>  Extracting for linux-sun-jdk-1.4.2.04
>> Checksum OK for j2sdk-1_4_2_04-linux-i586.bin.
=3D=3D=3D>   linux-sun-jdk-1.4.2.04 depends on file: /compat/linux/lib/libc=
=2Eso.6 - found
Bad system call (core dumped)
*** Error code 140

Stop in /usr/ports/java/linux-sun-jdk14.
*** Error code 1

Stop in /usr/ports/java/jdk14.
root@bilver.wjv.com# =07=07=07=07t
/bin/ksh: t: not found [No such file or directory]
root@bilver.wjv.com# exit

Script done on Tue Jun  8 01:58:39 2004

------------------

I just had a thought and about a year ago I had problems with Bison
building under the KSH I had and an update fixed that.

I'm now running the jdk14 under csh after editing the master
password and logging and in to make sure all the ksh stuff is gone.
I'll see if that works.

Nope. Failed at the ame place with a Bad System call right after
the libc.so.6

Any other information you want?


--=20
Bill Vermillion - bv @ wjv . com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040608060500.GF44006>