Skip to Content.
Sympa Menu

sm-grimoire - Re: [SM-Grimoire] j2sdk

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: Jose Bernardo Silva <josebernardo1 AT yahoo.com>
  • To: Jason Flatt <jasonflatt AT wizard.com>, sm-grimoire AT lists.ibiblio.org
  • Subject: Re: [SM-Grimoire] j2sdk
  • Date: Wed, 22 Jan 2003 10:33:24 +0000 (GMT)

--- Jason Flatt <jasonflatt AT wizard.com> wrote:
>
> Well I just attempted to cast it and got warnings
> and errors right off the
> bat. This is on a fairly new install w/only KDE
> (only minimal GNOME) and no
> previous or existing Java or Mozilla installation.
> I also have make 3.80 and
> gcc 3.2.1 installed.
>
>
> [ Previous Contents of Compile Log Snipped ]
> 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.

This is normal.

> WARNING: You are building in 'INSANE' mode. You
> should not use this mode, and in fact,
> it may be removed at any time. If you
> have build problems as a result of using
> INSANE mode, then you should not expect
> assistance from anyone with the problems
> or consequences you experience.

This one too.

> WARNING: The version of make being used does not
> match
> the expected version for this platform.
> The version of make found was -><-
> The version expected matches the pattern
> ->3.7[89].1,<-.

Got the same.

> WARNING: You are using an unsupported kernel version
> of Linux.
> The supported kernel version is 2.2.*.
> Your kernel version is 2.4.20

This one also.

> WARNING: You may not have enough free space in your
> OUTPUTDIR. The
> current value of OUTPUTDIR is
>
> /usr/src/j2sdk-1_4_1/control/build/linux-i586
> You need 1460000 bytes free on this device
> to build
> and it appears that only 817740 bytes are
> free.
> Either obtain more space or set
> ALT_OUTPUTDIR to a larger disk.

This is a serious one; in the spell PRE_BUILD, replace
"mk_source_dir $SOURCE_DIRECTORY &&" with
"mk_source_dir $SOURCE_DIRECTORY 2Gb &&". This
happens because tmpfs is 800Mb by default, I think.


> WARNING: You do not have access to the Java Web
> Start binary.
> These binaries may be optional for this
> build. Please
> check your access to
>
>
/java/re/javaws/1.2/promoted/pit_tested/bundles/javaws-1_2-linux-i586-i.zip
> and/or check your value of ALT_JAVAWS_PATH.
> This will make your images target build
> incomplete.

This one is ok too, it happened here also.

> ERROR: There is no GNU CC compiler at the location:
> /usr/bin/
>
> ERROR: You do not have access to a valid cacerts
> file.
> Please check your access to
> /opt/java/j2sdk/jre/lib/security/cacerts
> and/or check your value of ALT_CACERTS_FILE.

These appeared here too.

> ERROR: BOOTDIR does not point to a valid Java 2 SDK
> Check that you have access to
> /opt/java/j2sdk/bin/java
> and/or check your value of ALT_BOOTDIR.

Check if you had JAVA_HOME undefined, and if so, if
the binary runtime got installed in /opt/java/j2sdk-*.
If your JAVA_HOME is defined, check if it points to a
valid j2sdk.

> ERROR: You do not have access to valid Mozilla
> header files.
> Please check your access to
>
>
/usr/src/j2sdk-1_4_1/share/plugin/mozilla_headers/bool.h
> and/or check your value of ALT_MOZILLA_PATH,
> ALT_MOZILLA_HEADERS_PATH,
> and on Windows, ALT_MOZILLA_DRIVE.

This one should not matter, but I don't remember if I
had it here.

> INSANE mode requested.
> Sanity will not force a build termination, even
> with errors.

Ok, we are INSANE since we are building the sdk, at
least according to SUN.

> mkdir -p ../build/linux-i586/hotspot-i586/tmp
> (cd ./../build/linux-i586/hotspot-i586/tmp; \
> /usr/bin/make -f
> /usr/src/j2sdk-1_4_1/hotspot/build/linux/Makefile
> product \
>
> HOTSPOT_BUILD_VERSION=1.4.1-ttcompiled-1043181100
> GAMMADIR=/usr/src/j2sdk-1_4_1/hotspot ; )
> make[1]: Entering directory
>
`/usr/src/j2sdk-1_4_1/control/build/linux-i586/hotspot-i586/tmp'
> sh
>
/usr/src/j2sdk-1_4_1/hotspot/build/linux/makefiles/buildATree.sh
> compiler2
> /usr/src/j2sdk-1_4_1/hotspot linux i486
> (cd linux_i486_compiler2/product; /usr/bin/make)
> make[2]: Entering directory
>
`/usr/src/j2sdk-1_4_1/control/build/linux-i586/hotspot-i586/tmp/linux_i486_compiler2/product'
> make[2]: /opt/java/j2sdk/bin/javac: Command not
> found
> make[2]: *** [../generated/MakeDeps.class] Error 127
> make[2]: Leaving directory
>
`/usr/src/j2sdk-1_4_1/control/build/linux-i586/hotspot-i586/tmp/linux_i486_compiler2/product'
> make[1]: *** [product] Error 2
> make[1]: Leaving directory
>
`/usr/src/j2sdk-1_4_1/control/build/linux-i586/hotspot-i586/tmp'

This is because it can't find a valid javac at the dir
pointed by JAVA_HOME. It would seem that either you
had the var defined, or the java runtime binary didn't
expand properly. Can you please check, Jason?

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com




Archive powered by MHonArc 2.6.24.

Top of Page