How to build JDK15 on AMD64 with FreeBSD?

Toll, Eric etoll at vipstructures.com
Tue Jul 19 21:13:13 GMT 2005


> 
> We use the Sun SCSL source code as the base for our port.

> However, many patches are required for it to build on 
> FreeBSD.  These are contained in a patchset that you can
download at
> 
> http://www.eyesbeyond.com/freebsddom/java/jdk15.html
> 
> The easiest way to do this is simply to use the jdk15
port.  
> Simply do the
> following:
> 
> cd /usr/ports/java/jdk15
> make install
> 
> and follow the instructions.  There is one caveat on amd64
-- 
> one of the build commands will fail strangely (this is a
bug 
> in the Linux emulation on amd64 as far as I can
determine).  

> Simply execute that command by hand and restart the build.

> Also, if you have an EM64T rather than an actual
> amd64 then you will need one patch (just reply to me and I

> can send it to you or search the mailing list archives and

> you should find it).
> 


Is this the below command that fails and I am suppose to run
by hand??

I cannot get jdk15 or jdk14 running, I am not sure about
linux compatibility.

I heard rumors that other got theirs running in NATIVE mode,
which seems like it would be better but in all honestly I'm
confused.

Help would be appreciated.



> Attempting to fetch from
ftp://ftp.crc.ca/pub/systems/linux/redhat/ftp.redhat.com/lin
ux/updates/8.0/en/os/amd64/.
grep: /usr/ports/emulators/linux_base-8/distinfo.amd64: No
such file or directory
fetch:
ftp://ftp.crc.ca/pub/systems/linux/redhat/ftp.redhat.com/lin
ux/updates/8.0/en/os/amd64/glibc-common-2.3.2-4.80.8.amd64.r
pm: F
ile unavailable (e.g., file not found, no access)
=> Attempting to fetch from
ftp://ftp.univie.ac.at/systems/linux/ftp.redhat.com/redhat/l
inux/updates/8.0/en/os/amd64/.
grep: /usr/ports/emulators/linux_base-8/distinfo.amd64: No
such file or directory
fetch:
ftp://ftp.univie.ac.at/systems/linux/ftp.redhat.com/redhat/l
inux/updates/8.0/en/os/amd64/glibc-common-2.3.2-4.80.8.amd64
.rpm:
 File unavailable (e.g., file not found, no access)
=> Attempting to fetch from
ftp://ftp.redhat.de/pub/redhat/linux/updates/8.0/en/os/amd64
/.
grep: /usr/ports/emulators/linux_base-8/distinfo.amd64: No
such file or directory
fetch:
ftp://ftp.redhat.de/pub/redhat/linux/updates/8.0/en/os/amd64
/glibc-common-2.3.2-4.80.8.amd64.rpm: File unavailable
(e.g., fil
e not found, no access)
=> Attempting to fetch from
ftp://ftp.lip6.fr/pub/linux/distributions/redhat/linux/updat
es/8.0/en/os/amd64/.
grep: /usr/ports/emulators/linux_base-8/distinfo.amd64: No
such file or directory
fetch:
ftp://ftp.lip6.fr/pub/linux/distributions/redhat/linux/updat
es/8.0/en/os/amd64/glibc-common-2.3.2-4.80.8.amd64.rpm: File
unav
ailable (e.g., file not found, no access)
=> Attempting to fetch from
ftp://ftp.inet.it/pub/Linux/redhat/updates/8.0/en/os/amd64/.
grep: /usr/ports/emulators/linux_base-8/distinfo.amd64: No
such file or directory
fetch:
ftp://ftp.inet.it/pub/Linux/redhat/updates/8.0/en/os/amd64/g
libc-common-2.3.2-4.80.8.amd64.rpm: File unavailable (e.g.,
file
not found, no access)
=> Attempting to fetch from
ftp://ftp.nluug.nl/site/ftp.redhat.com/redhat/linux/updates/
8.0/en/os/amd64/.
grep: /usr/ports/emulators/linux_base-8/distinfo.amd64: No
such file or directory
fetch:
ftp://ftp.nluug.nl/site/ftp.redhat.com/redhat/linux/updates/
8.0/en/os/amd64/glibc-common-2.3.2-4.80.8.amd64.rpm: File
unavail
able (e.g., file not found, no access)
=> Attempting to fetch from
ftp://ftp.icm.edu.pl/pub/linux/redhat/linux/updates/8.0/en/o
s/amd64/.
grep: /usr/ports/emulators/linux_base-8/distinfo.amd64: No
such file or directory
fetch:
ftp://ftp.icm.edu.pl/pub/linux/redhat/linux/updates/8.0/en/o
s/amd64/glibc-common-2.3.2-4.80.8.amd64.rpm: Not logged in
=> Attempting to fetch from
ftp://ftp.mirrorservice.org/sites/ftp.redhat.com/pub/redhat/
linux/updates/8.0/en/os/amd64/.
grep: /usr/ports/emulators/linux_base-8/distinfo.amd64: No
such file or directory
fetch:
ftp://ftp.mirrorservice.org/sites/ftp.redhat.com/pub/redhat/
linux/updates/8.0/en/os/amd64/glibc-common-2.3.2-4.80.8.amd6
4.rpm
: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from
ftp://ftp.cs.nott.ac.uk/Mirrors/ftp.redhat.com/pub/redhat/li
nux/updates/8.0/en/os/amd64/.
grep: /usr/ports/emulators/linux_base-8/distinfo.amd64: No
such file or directory


More information about the freebsd-amd64 mailing list