unable to compile 1.4 on 4.7-STABLE...

unable to compile 1.4 on 4.7-STABLE...

Post by Greg Lew » Thu, 21 Nov 2002 13:01:11




> 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

> 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.

> Any ideas?

Can you actually run the Linux JDK at all?  If you can't, can you run them
as root?  There are some known problems with executing 1.4 as a non-root user.
Just try a java -version.

Quote:> Also, what directories am I supposed to create to allow the patch to run
> smoothly?

I didn't have to create any :).  Just should apply cleanly with the
instructions I put in.  Let me know if its not applying cleanly for you.

Quote:> And how do tell it to use gcc32? I have successfully installed it.

You don't have to use gcc32 on -stable.

--

Eyes Beyond                         Web     : http://www.eyesbeyond.com


with "unsubscribe freebsd-java" in the body of the message

 
 
 

unable to compile 1.4 on 4.7-STABLE...

Post by Michael E Merc » Thu, 21 Nov 2002 13:28:44


Hello peoples,

I am running 4.7-STABLE as of  11/13/2002

Quote:> uname -a

FreeBSD dual.mmercer.com 4.7-STABLE FreeBSD 4.7-STABLE #1: Wed Nov 13 01:11:43
EST 2002

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.

Any ideas?

Also, what directories am I supposed to create to allow the patch to run
smoothly?
And how do tell it to use gcc32? I have successfully installed it.

Thanks
Michael Mercer

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


with "unsubscribe freebsd-java" in the body of the message

 
 
 

unable to compile 1.4 on 4.7-STABLE...

Post by Alexey Zelk » Thu, 21 Nov 2002 19:47:31



> 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

> 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.

Quote:> 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.

Quote:> 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.

Quote:> 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


> with "unsubscribe freebsd-java" in the body of the message


with "unsubscribe freebsd-java" in the body of the message