Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2002 07:51:18 -0500
From:      Michael E Mercer <mmercer@nc.rr.com>
To:        Alexey Zelkin <phantom@freebsd.org.ua>
Cc:        freebsd-java@freebsd.org
Subject:   COMPILING NOW: Re: unable to compile 1.4 on 4.7-STABLE...
Message-ID:  <3DDB8545.CC58B4DB@nc.rr.com>
References:  <3DDAE5F0.2EA59E1B@nc.rr.com> <20021120125215.A39920@phantom.cris.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello peoples,

I logged in as root and ran the build commands.
I noticed as root,
1) no syntax error reported.
2) linux-sun-1.4.1 works
3) currently compiling, will report on success or failure...

Also note, the BUILD file with the patches states gcc32 is required for 4.7-STABLE, which
is why I was asking about it earlier.

The patch for XFree86-libraries, in order to get it to work inside the ports make structure,
I had to remove the "xc/" from the --- and +++ lines in the file patch-imLcPrs.c.
I then placed it in the files directory of XFree86-4-libraries and it was picked up.

Thanks to all for such speedy replies.
Michael Mercer


Alexey Zelkin wrote:

> On Tue, Nov 19, 2002 at 08:31:28PM -0500, Michael E Mercer wrote:
> > Hello peoples,
> >
> > I am running 4.7-STABLE as of  11/13/2002
> >
> > > uname -a
> > FreeBSD dual.mmercer.com 4.7-STABLE FreeBSD 4.7-STABLE #1: Wed Nov 13 01:11:43
> > EST 2002
> > root@dual.mmercer.com:/usr/obj/usr/src/sys/dualII_4_7  i386
> >
> >
> > I get the error below... notice the syntax error just after the ENV list...
> > Also both sun and linux jdk's bomb out with the same error, also below.
>
> Strange. Did not expirienced any syntax errors before :-( Will take a look
> on it.
>
> > Any ideas?
>
> First, you need to check is jdk actually works at your system. Just try
> to execute 'java -version'. If it's not working I'd suggest to try to play
> with linux_base ports. I am using linux-sun-jdk1.4.1 and linux_base-6.1_3
> ones.
>
> > Also, what directories am I supposed to create to allow the patch to run
> > smoothly?
>
> Please send me output of 'ls -l /home/mmercer/jdk1.4.0/jdk14' and
> 'find /home/mmercer/jdk1.4.0/jdk14 -name \*.rej' commands.
>
> > And how do tell it to use gcc32? I have successfully installed it.
>
> jdk1.4 is supposed to be compiled with base compiler only for both
> CURRENT and STABLE.
>
> > bsd i386 1.4.0-internal build started: 02-11-19 20:26
> > current working directory = /home/mmercer/jdk1.4.0/jdk14/control/make
> > build machine =
> > TOPDIR = ./../..
> > CONTROL_TOPDIR = ./../../control
> > GENERICS_TOPDIR = ./../../generics
> > HOTSPOT_TOPDIR = ./../../hotspot
> > J2SE_TOPDIR = ./../../j2se
> > MOTIF_TOPDIR = ./../../motif
> > COBUNDLE_TOPDIR = ./../../cobundle
> > JDK_VERSION = 1.4.0
> > MILESTONE = internal
> > BUILD_NUMBER = mmercer_19_nov_2002_20_26
> > PLATFORM = bsd
> > TRUE_PLATFORM = FreeBSD (4.x STABLE way)
> > ARCH = i386
> > ARCH_FAMILY = i386
> > ARCH_DATA_MODEL = 32
> > BOOTDIR = /usr/local/linux-blackdown-jdk1.4.1
> > OUTPUTDIR = ./../build/bsd-i386
> > UNIXCOMMAND_PATH = /bin/
> > COMPILER_PATH = /usr/bin/
> > DEVTOOLS_PATH = /usr/local/bin/
> > USRBIN_PATH = /usr/bin/
> > MOTIF_DIR = /usr/X11R6
> > HOTSPOT_CLIENT_PATH =
> > /home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/hotspot-i386/client
> > HOTSPOT_SERVER_PATH =
> > /home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/hotspot-i386/server
> > BUNDLE_PLATFORM = bsd
> > BUNDLE_DATE = 19_nov_2002
> > J2SDK_LICENSE_PATH =
> > /home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/j2sdk-image/LICENSE
> > J2SDK_BUNDLE_PATH =
> > /home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/bundles/j2sdk-1_4_0-internal-bin-mmercer_19_nov_2002_20_26-bsd-19_nov_2002.tar
> >
> > FORTE_LICENSE_PATH = /java/re/forte4j/3.0/promoted/latest/utils/LICENCE.TXT
> > FORTE_BUNDLE_PATH =
> > /java/re/forte4j/3.0/promoted/latest/bundles/bsd/FFJ-dev-010817-f4j_ce.zip
> > Syntax error: "(" unexpected
> > gmake[1]: Entering directory `/home/mmercer/jdk1.4.0/jdk14/j2se/make'
> > [: -ne: unexpected operator
> > gmake[1]: Leaving directory `/home/mmercer/jdk1.4.0/jdk14/j2se/make'
> >
> > NOTE: 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.
> > /bin/mkdir -p ../build/bsd-i386/hotspot-i386/tmp
> > (cd  ./../build/bsd-i386/hotspot-i386/tmp; \
> >   gmake -f /home/mmercer/jdk1.4.0/jdk14/hotspot/build/bsd/Makefile product \
> >         HOTSPOT_BUILD_VERSION=1.4.0-internal-mmercer_19_nov_2002_20_26
> > GAMMADIR=/home/mmercer/jdk1.4.0/jdk14/hotspot ; )
> > gmake[1]: Entering directory
> > `/home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/hotspot-i386/tmp'
> > sh /home/mmercer/jdk1.4.0/jdk14/hotspot/build/bsd/makefiles/buildATree.sh
> > compiler2 /home/mmercer/jdk1.4.0/jdk14/hotspot bsd i486
> > (cd bsd_i486_compiler2/product; gmake)
> > gmake[2]: Entering directory
> > `/home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler2/product'
> >
> > #
> > # HotSpot Virtual Machine Error, Internal Error
> > # Please report this error at
> > # http://www.blackdown.org/cgi-bin/jdk
> > #
> > # Java VM: Java HotSpot(TM) Client VM (Blackdown-1.4.1-beta mixed mode)
> > #
> > # Error ID: 4F533F4C494E55580E435050030B
> > #
> > gmake[2]: *** [../generated/MakeDeps.class] Abort trap (core dumped)
> > gmake[2]: Leaving directory
> > `/home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler2/product'
> >
> > gmake[1]: *** [product] Error 2
> > gmake[1]: Leaving directory
> > `/home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/hotspot-i386/tmp'
> > gmake: *** [product] Error 2
> >
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-java" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




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