Instalace JDK na BSD 5.3 RELEASE

Petr Varga pvar at seznam.cz
Mon Jul 25 08:13:14 CEST 2005


Jinak jak koukam tak jsem samozrejme zapomnel napsat jak jsem na tom s 
hw. Takze zde :


                       total:        used:         free:       shared: 
buffers:  cached:
Mem:            58097664 22716416 35381248 3903488       0        151552
Swap:           268435456 8241152 260194304
MemTotal:     56736 kB
MemFree:      34552 kB
MemShared:     3812 kB
Buffers:          0 kB
Cached:         148 kB
SwapTotal:   262144 kB
SwapFree:    254096 kB

(64 MB ram, 256 Swap)

Petr Varga wrote:

> Ahoj.
> Snazim se nainstalovat JDK1.4 s tomcatem na BSD. Po stazeni vsechn 
> balicku, ktery to vyzadovalo zacla kompilace. Ta bohuzel skoncila s 
> chybout. Jak jsem z toho pochopil, tak mu dojde pamet, nebo dojde k 
> nejake chybe v virtualni pameti. Na netu jsem nasel uz dotaz presne na 
> tento problem, ale nikdo mu na to zatim neodpovedel. Tak se ptam Vas 
> zkusenych specialistu :-), jestli nevice co s tim.
>
> Diky za pripadnou pomoc. Petr
>
> Zde je vypis v jakem je to ted stavu :
>
> ===>  Building for jdk-1.4.2p6_4
> # Start of jdk build
> bsd i586 1.4.2-p6 build started: 05-07-25 05:49
> if [ -r ./../../deploy/make/Makefile ]; then \
>  ( cd  ./../../deploy/make; gmake sanity EXTERNALSANITYCONTROL=true 
> CONTROL_TOPDIR=/usr/ports/jav
> a/jdk14/work/control CONTROL_TOPDIR_NAME=control 
> ALT_OUTPUTDIR=/usr/ports/java/jdk14/work/control/
> build/bsd-i586  ARCH_DATA_MODEL=32 MILESTONE=p6 
> BUILD_NUMBER=varisimus_25_jul_2005_05_49 ; ); \
> 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 =
>
> 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
>
> Hotspot Settings:
>   HOTSPOT_BUILD_JOBS =
>
> Bootstrap Settings:
>   JAVAWS_BOOTDIR = /usr/local/linux-sun-jdk1.4.2
>   BOOTSTRAP J2SDK VERSION: 1.4.2_05
>   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/
>   GCC32_COMPILER_PATH = /java/devtools/bsd/gcc3.2/
>   MOZILLA_PATH =   MOZILLA_HEADERS_PATH =   MOZILLA_LIBS_PATH =   
> CC_VER = 3.4.2
>   PATH = 
> /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/ 
>
> root/bin
>
> Build Directives:
>   PEDANTIC =   INSANE =
> Build Platform Settings:
>   PLATFORM = bsd
>   ARCH = i586
>   LIBARCH = i386
>   ARCH_FAMILY = i586
>   ARCH_DATA_MODEL = 32
>   OS_VERSION = 5.3-RELEASE
>   TRUE_PLATFORM = FreeBSD (5.x CURRENT way)
>   FREE_SPACE = 3269068
>
> UTPUTDIR=/usr/ports/java/jdk14/work/control/build/bsd-i586 
> CONTROL_TOPDIR_NAME=control CONTROL_TOP
> DIR=/usr/ports/java/jdk14/work/control EXTERNALSANITYCONTROL=true
>   SHELL = /bin/sh
>
> Target Build Versions:
>   JAVAWS_VERSION = 1.4.2
>   MILESTONE = p6
>   BUILD_NUMBER = varisimus_25_jul_2005_05_49
>
> Bootstrap Settings:
>   BOOTDIR = /usr/local/linux-sun-jdk1.4.2
>   BOOTSTRAP J2SDK VERSION: 1.4.2_05
>   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 = 3.4.2
>   ZIP_VER = 2.3
>   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 = YES
>   J2RE_ONLY =   NO_DOCS =   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.3-RELEASE
>   TRUE_PLATFORM = FreeBSD (5.x CURRENT way)
>   FREE_SPACE = 3269068
>
> GNU Make Settings:
>   MAKE = gmake
>   MAKE VERSION =   MAKECMDGOALS = sanity
>   MAKEFLAGS =   SHELL = /bin/sh
>
> Target Build Versions:
>   JDK_VERSION = 1.4.2
>   MILESTONE = p6
>   BUILD_NUMBER = varisimus_25_jul_2005_05_49
>
> 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
>   MOTIF_DIR = /usr/X11R6
>   CACERTS_FILE = ./../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=1.4.2-p6-varisimus_25_jul_2005_05_49  
> GAMMADIR=/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/b
> sd_i486_compiler2/product'
> gmake[3]: Entering directory 
> `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/b
> sd_i486_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/bs
> d_i486_compiler2/product'
> gmake[3]: Entering directory 
> `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/b
> sd_i486_compiler2/product'
> Compiling ../generated/adfiles/ad_i486.cpp
> virtual memory exhausted: Cannot allocate memory
> gmake[3]: *** [ad_i486.o] Error 1
> gmake[3]: Leaving directory 
> `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bs
> d_i486_compiler2/product'
> gmake[2]: *** [the_vm] Error 2
> gmake[2]: Leaving directory 
> `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bs
> d_i486_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.
>




More information about the Users-l mailing list