Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Dec 2006 22:59:15 +0200
From:      Jan Mikael Melen <jan@melen.org>
To:        freebsd-current@freebsd.org
Cc:        Tommy Rehn <tommy.rehn@chello.se>
Subject:   Re: Java problem on i386 7.0-CURRENT-200611
Message-ID:  <200612052259.17235.jan@melen.org>
In-Reply-To: <200612052009.08350.tommy.rehn@chello.se>
References:  <200612052009.08350.tommy.rehn@chello.se>

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

The problem is that you have to manually fetch the java in 
to /usr/ports/distfiles. As you can see from the beginning of your compile 
log that you included:
 ===>   openoffice.org-2.1.20061201 depends on
 file: /usr/local/jdk1.5.0/bin/java - not found
 ===>    Verifying install for /usr/local/jdk1.5.0/bin/java
 in /usr/ports/java/jdk15
 ===>  jdk-1.5.0p3_6 :
  Due to licensing restrictions, certain files must be fetched manually.

  Please open http://www.sun.com/software/java2/download.html
  in a web browser and follow the "Download" link for the
  "JDK 5.0".  You will be required to log in and register,
  but you can create an account on this page.  After registration and
  accepting the Sun Community Source License, download the
  SCSL Source file, jdk-1_5_0-src-scsl.zip and the
  SCSL Binaries file, jdk-1_5_0-bin-scsl.zip .

  In addition, please download the patchset, bsd-jdk15-patches-3.tar.bz2,
 from http://www.eyesbeyond.com/freebsddom/java/jdk15.html.

  Please place the downloaded file(s) in /usr/ports/distfiles
  and restart the build.

...

So download the files as explained above and try again.

    Regards,
     Jan

On Tuesday 05 December 2006 21:09, Tommy Rehn wrote:
> Hello,
>
> I don't know if this is already widely known (this is my first posting).
>
> I have tried to install openoffice 2.1 rc1 and downloaded all it requested
> into distfiles etc..
>
> I get this problem JAVA will not compile or takes all my resources I am out
> of discspace.
>
>
> 		ERROR: Your BOOTDIR environment variable does not point
>        to a valid Java 2 SDK for bootstrapping this build.
>        A Java 2 SDK 1.5.0 build must be bootstrapped using
>        J2SDK 1.4.2 fcs (or later).
>        Apparently, your bootstrap JDK is version
>        Please update your ALT_BOOTDIR setting and start your build again.
>
> Since I am a beginner (humanist filosopher)  who dared to use CURRENT (I
> also run RoFreesbie 1.2 on another disc) I would be very grateful if
> someone who knows what to do could point me in the right direction.
>
> During install I think the partition was:
> ...
> /usr 8G
> /home *
>
> The disc is 120G
>
> Best regards
>
> Tommy Rehn
>
> Stockholm Sweden
>
> ===>   openoffice.org-2.1.20061201 depends on
> file: /usr/local/jdk1.5.0/bin/java - not found
> ===>    Verifying install for /usr/local/jdk1.5.0/bin/java
> in /usr/ports/java/jdk15
> ===>  jdk-1.5.0p3_6 :
>  Due to licensing restrictions, certain files must be fetched manually.
>
>  Please open http://www.sun.com/software/java2/download.html
>  in a web browser and follow the "Download" link for the
>  "JDK 5.0".  You will be required to log in and register,
>  but you can create an account on this page.  After registration and
>  accepting the Sun Community Source License, download the
>  SCSL Source file, jdk-1_5_0-src-scsl.zip and the
>  SCSL Binaries file, jdk-1_5_0-bin-scsl.zip .
>
>  In addition, please download the patchset, bsd-jdk15-patches-3.tar.bz2,
> from http://www.eyesbeyond.com/freebsddom/java/jdk15.html.
>
>  Please place the downloaded file(s) in /usr/ports/distfiles
>  and restart the build.
>
> .*** Error code 1
>
> Stop in /usr/ports/java/jdk15.
> *** Error code 1
>
> Stop in /usr/ports/editors/openoffice.org-2-RC.
> # cd /usr/ports/editors/openoffice.org-2-RC/ && make install distclean
> ===>   openoffice.org-2.1.20061201 depends on
> file: /usr/local/jdk1.5.0/bin/java - not found
> ===>    Verifying install for /usr/local/jdk1.5.0/bin/java
> in /usr/ports/java/jdk15
> ===>  Building for jdk-1.5.0p3_6
> # Start of jdk build
> bsd i586 1.5.0-p3 build started: 06-12-05 18:52
> if [ -r ./../../deploy/make/Makefile ]; then \
>           ( cd  ./../../deploy/make; gmake sanity
> EXTERNALSANITYCONTROL=true
> CONTROL_TOPDIR=/usr/ports/java/jdk15/work/control
> CONTROL_TOPDIR_NAME=control
> ALT_OUTPUTDIR=/usr/ports/java/jdk15/work/control/build/bsd-i586
> ARCH_DATA_MODEL=32 MILESTONE=p3 BUILD_NUMBER=root_05_dec_2006_18_52 ; ); \
>         fi
> gmake[1]: Entering directory `/usr/ports/java/jdk15/work/deploy/make'
> gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make'
> gmake[1]: Entering directory `/usr/ports/java/jdk15/work/j2se/make'
> gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make'
> if [ -r ./../../install/make/Makefile ]; then \
>           ( cd  ./../../install/make; gmake sanity MAKEFLAGS=
> EXTERNALSANITYCONTROL=true
> ALT_CONTROL_TOPDIR=/usr/ports/java/jdk15/work/control
> ALT_J2SE_TOPDIR=/usr/ports/java/jdk15/work/j2se
> ALT_OUTPUTDIR=/usr/ports/java/jdk15/work/control/build/bsd-i586
> ALT_RTPATCH_DIR= ALT_BASE_IMAGE_ZIP= ALT_BASE_IMAGE_DIR= ALT_NEW_IMAGE_DIR=
> ALT_BUNDLE_DATE=05_dec_2006 ; ); \
>         fi
> gmake[1]: Entering directory `/usr/ports/java/jdk15/work/install/make'
> gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/install/make'
>
> Build Machine Information:
>    build machine =
>
> Build Directory Structure:
>    CWD = /usr/ports/java/jdk15/work/control/make
>    TOPDIR = ./../..
>    CONTROL_TOPDIR = ./../../control
>    HOTSPOT_TOPDIR = ./../../hotspot
>    J2SE_TOPDIR = ./../../j2se
>    DEPLOY_TOPDIR = ./../../deploy
>    INSTALL_TOPDIR = ./../../install
>
> Build Directives:
>    BUILD_HOTSPOT = true
>    BUILD_MOTIF   = false
>    BUILD_INSTALL = true
>
> Hotspot Settings:
>    HOTSPOT_BUILD_JOBS =
>
> Bootstrap Settings:
>    JAVAWS_BOOTDIR = /usr/ports/java/jdk15/work/control/build/bsd-i586
>    BOOTSTRAP J2SDK VERSION:
>    OUTPUTDIR = /usr/ports/java/jdk15/work/control/build/bsd-i586
>
> Build Tool Settings:
>    UNIXCOMMAND_PATH = /bin/
>    COMPILER_PATH = /usr/bin/
>    DEVTOOLS_PATH = /usr/local/bin/
>    USRBIN_PATH = /usr/bin/
>    MOZILLA_PATH = /usr/X11R6
>    MOZILLA_HEADERS_PATH = /usr/local/include
>    CC_VER = 3.4.6
>    PATH
> =
> /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/us
>r/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 = 7.0-CURRENT-200611
>    FREE_SPACE = -116382
>
> GNU Make Settings:
>    MAKE = gmake
>    MAKE VERSION =
>    MAKECMDGOALS = sanity
>    MAKEFLAGS = w -- BUILD_NUMBER=root_05_dec_2006_18_52 MILESTONE=p3
> ARCH_DATA_MODEL=32
> ALT_OUTPUTDIR=/usr/ports/java/jdk15/work/control/build/bsd-i586
> CONTROL_TOPDIR_NAME=control
> CONTROL_TOPDIR=/usr/ports/java/jdk15/work/control
> EXTERNALSANITYCONTROL=true
>    SHELL = /bin/sh
>
> Target Build Versions:
>    JAVAWS_VERSION = 1.5.0
>    MILESTONE = p3
>    BUILD_NUMBER = root_05_dec_2006_18_52
>
> Bootstrap Settings:
>    BOOTDIR = /usr/local/linux-sun-jdk1.4.2
>    BOOTSTRAP J2SDK VERSION:
>    OUTPUTDIR = /usr/ports/java/jdk15/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.6
>    ZIP_VER = 2.32
>    PATH
> =
> /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/us
>r/X11R6/bin:/root/bin TMPDIR =
> /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp
>
> Build Directives:
>    USE_ONLY_BOOTDIR_TOOLS =
>    USE_HOTSPOT_INTERPRETER_MODE =
>    PEDANTIC =
>    DEV_ONLY =
>    J2RE_ONLY =
>    NO_DOCS =
>    NO_IMAGES =
>    TOOLS_ONLY =
>    INSANE =
>    PARALLEL_COMPILES = false
>    PARALLEL_COMPILE_JOBS = 2
>    FASTDEBUG = false
>    INCREMENTAL_BUILD = false
>
> Build Platform Settings:
>    PLATFORM = bsd
>    ARCH = i586
>    LIBARCH = i386
>    ARCH_FAMILY = i586
>    ARCH_DATA_MODEL = 32
>    TRUE_PLATFORM = FreeBSD
>    OS_VERSION = 7.0-CURRENT-200611
>    FREE_SPACE = -116384
>
> GNU Make Settings:
>    MAKE = gmake
>    MAKE VERSION =
>    MAKECMDGOALS = sanity
>    MAKEFLAGS =
>    SHELL = /bin/sh
>
> Target Build Versions:
>    JDK_VERSION = 1.5.0
>    MILESTONE = p3
>    BUILD_NUMBER = root_05_dec_2006_18_52
>
> External File/Binary Locations:
>    HOTSPOT_SERVER_PATH
> = /usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/server
>    HOTSPOT_CLIENT_PATH
> = /usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/client
>    HOTSPOT_IMPORT_PATH
> = /usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/import
>    MOTIF_DIR = /usr/X11R6
>    CACERTS_FILE = ./../src/share/lib/security/cacerts
>
>   No setting required for Unix Systems
> WARNING: You may not have enough free space in your OUTPUTDIR. The
>          current value of OUTPUTDIR is
>              /usr/ports/java/jdk15/work/control/build/bsd-i586
>          You need 1600000 bytes free on this device to build
>          and it appears that only -116382 bytes are free.
>          Either obtain more space or set ALT_OUTPUTDIR to a larger disk.
>
> WARNING: The version of make being used does not match
>        the expected version for this platform.
>        The version of make found was ->3.81<-
>        The version expected matches the pattern ->3.7[89].1,<-.
>
> WARNING: You may not have enough free space in your OUTPUTDIR. The
>          current value of OUTPUTDIR is
>              /usr/ports/java/jdk15/work/control/build/bsd-i586
>          You need 1460000 bytes free on this device to build
>          and it appears that only -116384 bytes are free.
>          Either obtain more space or set ALT_OUTPUTDIR to a larger disk.
>
> WARNING: You may not have enough free space in your OUTPUTDIR. The
>          current value of OUTPUTDIR is
>              /usr/ports/java/jdk15/work/control/build/bsd-i586
>          You need 50000 bytes free on this device to build
>          and it appears that only -116388 bytes are free.
>          Either obtain more space or set ALT_OUTPUTDIR to a larger disk.
>
> ERROR: Your BOOTDIR environment variable does not point
>        to a valid Java 2 SDK for bootstrapping this build.
>        A Java 2 SDK 1.5.0 build must be bootstrapped using
>        J2SDK 1.4.2 fcs (or later).
>        Apparently, your bootstrap JDK is version
>        Please update your ALT_BOOTDIR setting and start your build again.
>
> Exiting because of the above error(s).
>
> gmake: *** [post-sanity] Error 1
> *** Error code 2
>
> Stop in /usr/ports/java/jdk15.
> *** Error code 1
>
> Stop in /usr/ports/editors/openoffice.org-2-RC.
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

-- 
 * Jan Mikael Melen <jmgm@iki.fi>
*
 * Doing a good job for this mob is like wetting your pants in a dark suit:
*           It gives you a warm feeling, but nobody notices.
 * #include <disclaimer.h>
*  #include <bsd.h>



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