java for 5.3 please

Jeff Mohney mohneyj at gmail.com
Thu Dec 23 14:49:38 PST 2004


On Wed, 22 Dec 2004 17:25:42 -0300, Franco Bruno Borghesi
<franco at akyasociados.com.ar> wrote:
> The unsopported jdk is the diablo-jdk, but you have other options.
> 
> Installing linux emulation is easy:
> # cd /usr/ports/emulators/linux_base
> # make install distclean
> 
> to enable it, just add to your /etc/rc.conf the following line:
> linux_enable="YES"
> 
> and add to your /etc/fstab:
> linprocfs         /compat/linux/proc         linprocfs      rw      0 0
> 
> then you have to build the jdk port:
> # cd /usr/ports/java/jdk14
> # make
> 
> you will get a couple of messages telling you to download some files
> manually and to leave them in the /usr/ports/distfiles directory.
> Download them with your favorite web browser and copy the files to the
> distfiles directory (as root). Then type make again until the build starts.
> 

Hi.  Thank you very much for your help.  I made it to this step but
the make is never successful.  After every attempt I get this:

neptune3# make
===>  Building for jdk-1.4.2p6_4
# Start of jdk build
bsd i586 1.4.2-p6 build started: 04-12-23 17:16
if [ -r ./../../deploy/make/Makefile ]; then \
  ( cd  ./../../deploy/make; gmake sanity EXTERNALSANITYCONTROL=true
CONTROL_TOPDIR=/usr/ports/java/jdk14/work/control
CONTROL_TOPDIR_NAME=control
ALT_OUTPUTDIR=/usr/ports/java/jdk14/work/control/build/bsd-i586 
ARCH_DATA_MODEL=32 MILESTONE=p6 BUILD_NUMBER=bogosse_23_dec_2004_17_16
; ); \
fi
gmake[1]: Entering directory `/usr/ports/java/jdk14/work/deploy/make'
gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/deploy/make'
gmake[1]: Entering directory `/usr/ports/java/jdk14/work/j2se/make'
gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make'

Build Machine Information:
   build machine =

Build Directory Structure:
   CWD = /usr/ports/java/jdk14/work/control/make
   TOPDIR = ./../..
   CONTROL_TOPDIR = ./../../control
   GENERICS_TOPDIR = ./../../generics
   HOTSPOT_TOPDIR = ./../../hotspot
   J2SE_TOPDIR = ./../../j2se
   MOTIF_TOPDIR = ./../../motif

Hotspot Settings:
   HOTSPOT_BUILD_JOBS =

Bootstrap Settings:
   JAVAWS_BOOTDIR = /usr/local/linux-sun-jdk1.4.2
   BOOTSTRAP J2SDK VERSION: 1.4.2_05
   OUTPUTDIR = /usr/ports/java/jdk14/work/control/build/bsd-i586

Build Tool Settings:
   UNIXCOMMAND_PATH = /bin/
   COMPILER_PATH = /usr/bin/
   DEVTOOLS_PATH = /usr/local/bin/
   USRBIN_PATH = /usr/bin/
   GCC32_COMPILER_PATH = /java/devtools/bsd/gcc3.2/
   MOZILLA_PATH =
   MOZILLA_HEADERS_PATH =
   MOZILLA_LIBS_PATH =
   CC_VER = 3.4.2
   PATH = /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin

Build Directives:
   PEDANTIC =
   INSANE =

Build Platform Settings:
   PLATFORM = bsd
   ARCH = i586
   LIBARCH = i386
   ARCH_FAMILY = i586
   ARCH_DATA_MODEL = 32
   OS_VERSION = 5.3-RELEASE
   TRUE_PLATFORM = FreeBSD (5.x CURRENT way)
   FREE_SPACE = 49112320

GNU Make Settings:
   MAKE = gmake
   MAKE VERSION =
   MAKECMDGOALS = sanity
   MAKEFLAGS = w -- BUILD_NUMBER=bogosse_23_dec_2004_17_16
MILESTONE=p6 ARCH_DATA_MODEL=32
ALT_OUTPUTDIR=/usr/ports/java/jdk14/work/control/build/bsd-i586
CONTROL_TOPDIR_NAME=control
CONTROL_TOPDIR=/usr/ports/java/jdk14/work/control
EXTERNALSANITYCONTROL=true
   SHELL = /bin/sh

Target Build Versions:
   JAVAWS_VERSION = 1.4.2
   MILESTONE = p6
   BUILD_NUMBER = bogosse_23_dec_2004_17_16

Bootstrap Settings:
   BOOTDIR = /usr/local/linux-sun-jdk1.4.2
   BOOTSTRAP J2SDK VERSION: 1.4.2_05
   OUTPUTDIR = /usr/ports/java/jdk14/work/control/build/bsd-i586

Build Tool Settings:
   UNIXCOMMAND_PATH = /bin/
   COMPILER_PATH = /usr/bin/
   DEVTOOLS_PATH = /usr/local/bin/
   USRBIN_PATH = /usr/bin/
   MOTIF_DIR = /usr/X11R6
   CC_VER = 3.4.2
   ZIP_VER = 2.3
   PATH = /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin

Build Directives:
   USE_ONLY_BOOTDIR_TOOLS =
   USE_HOTSPOT_INTERPRETER_MODE =
   PEDANTIC =
   DEV_ONLY = YES
   J2RE_ONLY =
   NO_DOCS =
   NO_IMAGES =
   TOOLS_ONLY = true
   INSANE =

Build Platform Settings:
   PLATFORM = bsd
   ARCH = i586
   LIBARCH = i386
   ARCH_FAMILY = i586
   ARCH_DATA_MODEL = 32
   OS_VERSION = 5.3-RELEASE
   TRUE_PLATFORM = FreeBSD (5.x CURRENT way)
   FREE_SPACE = 49112320

GNU Make Settings:
   MAKE = gmake
   MAKE VERSION =
   MAKECMDGOALS = sanity
   MAKEFLAGS =
   SHELL = /bin/sh

Target Build Versions:
   JDK_VERSION = 1.4.2
   MILESTONE = p6
   BUILD_NUMBER = bogosse_23_dec_2004_17_16

External File/Binary Locations:
   HOTSPOT_SERVER_PATH =
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/server
   HOTSPOT_CLIENT_PATH =
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/client
   MOTIF_DIR = /usr/X11R6
   CACERTS_FILE = ./../src/share/lib/security/cacerts

WARNING: Your build environment has the variable DEV_ONLY
         defined. This will result in a development-only
         build of the J2SE workspace, lacking the documentation
         build and installation bundles.

Sanity check passed.
(cd  ./../build/bsd-i586/hotspot-i586/tmp; \
  gmake -f /usr/ports/java/jdk14/work/hotspot/build/bsd/Makefile product \
        HOTSPOT_BUILD_VERSION=1.4.2-p6-bogosse_23_dec_2004_17_16 
GAMMADIR=/usr/ports/java/jdk14/work/hotspot ; )
gmake[1]: Entering directory
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp'
(cd bsd_i486_compiler2/product; gmake)
gmake[2]: Entering directory
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product'
gmake[3]: Entering directory
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product'
Rescanned ../generated/adfiles/bsd_i486.ad  but encountered no changes.
gmake[3]: Leaving directory
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product'
gmake[3]: Entering directory
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product'
Compiling ../generated/adfiles/ad_i486_format.cpp
Compiling ../generated/adfiles/ad_i486_gen.cpp
{standard input}: Assembler messages:
{standard input}:3167: Warning: end of file not at end of a line;
newline inserted
{standard input}:3881: Error: junk `@GO' after expression
{standard input}:3881: Error: suffix or operands invalid for `mov'
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gmake[3]: *** [ad_i486_gen.o] Error 1
gmake[3]: Leaving directory
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product'
gmake[2]: *** [the_vm] Error 2
gmake[2]: Leaving directory
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product'
gmake[1]: *** [product] Error 2
gmake[1]: Leaving directory
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp'
gmake: *** [product] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk14.
neptune3#


What should I do next?  I'm a bit at a loss here to really comprehend
what the problem is....I tried even bouncing the machine and trying
again...but that didn't work either....
Any suggestions still?
Thank you again for your help!!  :)

> When build finishes, type:
> make install distclean
> 
> and that´s it.
> 
> 
> Jeff Mohney wrote:
> 
> >Please help.
> >I looked here and it appears that both jdk and jvm are not supported
> >in freebsd 5.3
> >
> >http://www.freebsdfoundation.org/downloads/java-errata.shtml
> >
> >I do not have linux emulation nor am I skilled enough to emulate
> >linux, install linux jvm/jdk, build natively, and then remove linux
> >emulation from my OS.
> >
> >I have googled for how to's such as freebsddiary.org, etc, but any
> >real how to's for a simpleton like myself are scarce....
> >it looks as though this hasn't made it into the 5.x branch yet.....
> >
> >YIKES....any advice/pointers/help?
> >Thanks!!!
> >_______________________________________________
> >freebsd-java at freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-java
> >To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"
> >
> >
> >
> >
> 
>


More information about the freebsd-java mailing list