Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Dec 2004 17:49:36 -0500
From:      Jeff Mohney <mohneyj@gmail.com>
To:        Franco Bruno Borghesi <franco@akyasociados.com.ar>
Cc:        freebsd-java@freebsd.org
Subject:   Re: java for 5.3 please
Message-ID:  <d193f37f04122314493b0d20d8@mail.gmail.com>
In-Reply-To: <41C9D846.70105@akyasociados.com.ar>
References:  <d193f37f0412221155513d764@mail.gmail.com> <41C9D846.70105@akyasociados.com.ar>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 22 Dec 2004 17:25:42 -0300, Franco Bruno Borghesi
<franco@akyasociados.com.ar> wrote:
> The unsopported jdk is the diablo-jdk, but you have other options.
>=20
> Installing linux emulation is easy:
> # cd /usr/ports/emulators/linux_base
> # make install distclean
>=20
> to enable it, just add to your /etc/rc.conf the following line:
> linux_enable=3D"YES"
>=20
> and add to your /etc/fstab:
> linprocfs         /compat/linux/proc         linprocfs      rw      0 0
>=20
> then you have to build the jdk port:
> # cd /usr/ports/java/jdk14
> # make
>=20
> 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 start=
s.
>=20

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
=3D=3D=3D>  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=3Dtrue
CONTROL_TOPDIR=3D/usr/ports/java/jdk14/work/control
CONTROL_TOPDIR_NAME=3Dcontrol
ALT_OUTPUTDIR=3D/usr/ports/java/jdk14/work/control/build/bsd-i586=20
ARCH_DATA_MODEL=3D32 MILESTONE=3Dp6 BUILD_NUMBER=3Dbogosse_23_dec_2004_17_1=
6
; ); \
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 =3D

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

Hotspot Settings:
   HOTSPOT_BUILD_JOBS =3D

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

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

Build Directives:
   PEDANTIC =3D
   INSANE =3D

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

GNU Make Settings:
   MAKE =3D gmake
   MAKE VERSION =3D
   MAKECMDGOALS =3D sanity
   MAKEFLAGS =3D w -- BUILD_NUMBER=3Dbogosse_23_dec_2004_17_16
MILESTONE=3Dp6 ARCH_DATA_MODEL=3D32
ALT_OUTPUTDIR=3D/usr/ports/java/jdk14/work/control/build/bsd-i586
CONTROL_TOPDIR_NAME=3Dcontrol
CONTROL_TOPDIR=3D/usr/ports/java/jdk14/work/control
EXTERNALSANITYCONTROL=3Dtrue
   SHELL =3D /bin/sh

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

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

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

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

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

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

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

External File/Binary Locations:
   HOTSPOT_SERVER_PATH =3D
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/server
   HOTSPOT_CLIENT_PATH =3D
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/client
   MOTIF_DIR =3D /usr/X11R6
   CACERTS_FILE =3D ./../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=3D1.4.2-p6-bogosse_23_dec_2004_17_16=20
GAMMADIR=3D/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_i48=
6_compiler2/product'
gmake[3]: Entering directory
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i48=
6_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_i48=
6_compiler2/product'
gmake[3]: Entering directory
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i48=
6_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_i48=
6_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_i48=
6_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
>=20
> and that=B4s it.
>=20
>=20
> Jeff Mohney wrote:
>=20
> >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@freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-java
> >To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"
> >
> >
> >
> >
>=20
>



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