Hello all,

I am running FreeBSD 5.1-RELEASE-p10.  I am
trying to install OpenOffice 1.1 from ports.

I have the LINPROCFS filesystem mounted, and I
have added 

kern.maxdsiz="1073741824"
kern.maxssiz="268435456"

to my /boot/loader.conf file, as was suggested,
but I am still getting the same error during the
build of Java 1.4.1.  None of my research reveals
an answer to this difficulty, and nobody at
freebsdforums.org seemed to know how to fix it,
so I thought I would try here.

The actual error response looks like this:

--------------
VM option 'ThreadStackSize=768'
Error occurred during initialization of VM
java.lang.OutOfMemoryError
Dumping core....
Abort trap (core dumped)
gmake[3]: *** [.compile.classlist] Error 134
gmake[3]: Leaving directory
`/usr/ports/java/jdk14/work/j2se/ext/plugin/make'
gmake[2]: *** [debug] Error 2
gmake[2]: Leaving directory
`/usr/ports/java/jdk14/work/j2se/ext/plugin/make'
gmake[1]: *** [plugin-all] Error 1
gmake[1]: Leaving directory
`/usr/ports/java/jdk14/work/j2se/make'
gmake: *** [j2se-build] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk14.
*** Error code 1

Stop in /usr/ports/editors/openoffice-1.1.
primus#
-------------------

And, just in case it is of any help, I have
retrieved the sanity check from the Java build as
well.

-----------------
primus# make install package clean
===>   openoffice-1.1.0_1 depends on file:
/usr/local/jdk1.4.1/bin/java - not found
===>    Verifying install for
/usr/local/jdk1.4.1/bin/java in
/usr/ports/java/jdk14
===>  Building for jdk-1.4.1p4_1
# Start of jdk build
bsd i586 1.4.1-p4 build started: 03-11-12 20:57
gmake[1]: Entering directory
`/usr/ports/java/jdk14/work/j2se/make'
gmake[1]: Leaving directory
`/usr/ports/java/jdk14/work/j2se/make'
if [ -r ./../../patch/make/Makefile ]; then \
  ( cd  ./../../patch/make; gmake sanity
MAKEFLAGS= EXTERNALSANITYCONTROL=true
CONTROL_TOPDIR=/usr/ports/java/jdk14/work/control
CONTROL_TOPDIR_NAME=control
ALT_J2SE_TOPDIR=./../../j2se
ALT_OUTPUTDIR=/usr/ports/java/jdk14/work/control/build/bsd-i586
ALT_RTPATCH_DIR= ALT_BASE_IMAGE_ZIP=
ALT_BASE_IMAGE_DIR= ALT_NEW_IMAGE_DIR= ; ); \
fi

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
   COBUNDLE_TOPDIR = ./../../cobundle

Hotspot Settings:
   HOTSPOT_BUILD_JOBS =

Bootstrap Settings:
   BOOTDIR = /usr/local/linux-sun-jdk1.4.2
   BOOTSTRAP J2SDK VERSION: 1.4.2_01
   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 = gcc (GCC) 3.2.2 [FreeBSD] 20030205
(release) Copyright (C) 2002 Free Software
Foundation, Inc. This is free software; see the
source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE.
   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 =
   J2RE_ONLY =
   NO_DOCS = YES
   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.1-RELEASE-p10
   TRUE_PLATFORM = FreeBSD (5.x CURRENT way)
   FREE_SPACE = 11002156

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

Target Build Versions:
   JDK_VERSION = 1.4.1
   MILESTONE = p4
   BUILD_NUMBER = shannon_12_nov_2003_20_57
   BUNDLE_DATE = 12_nov_2003

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
   OPT_JAVAWS =
/java/re/javaws/1.2/promoted/pit_tested/bundles/javaws-1_2-bsd-i586-i.zip
   MOZILLA_PATH = /java/devtools
   MOZILLA_HEADERS_PATH =
/java/devtools/share/plugin
   MOZILLA_LIBS_PATH = /java/devtools/bsd/plugin
   MOTIF_DIR = /usr/X11R6
   CACERTS_FILE =
./../src/share/lib/security/cacerts

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

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-bsd-i586-i.zip
         and/or check your value of
ALT_JAVAWS_PATH.
         This will make your images target build
incomplete.

Sanity check passed.
--------------------------

The output of the sanity check did not make
enough sense to me that I could tell if it had
anything to do with the error.

Is anyone else out there who had had this problem
and overcome it, or who can guide me in the right
direction?  From what I understand, the package
requires -CURRENT on 5.1.

Oh, and KDiskfree reports I still have 5.2
gigabytes of free space on my hard disk in the
/usr partition when the compile fails.  My system
has 512 megabytes of ram, and a gigabyte of swap
space, and they're not used up when I get this
error.

Thank you for your help!

Shannon

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to