openJDK7 build fails on 64bit cblfs linux

luxInteg lux-integ at btconnect.com
Fri Apr 15 14:45:39 UTC 2011


On Friday 15 April 2011 14:48:58 Dr Andrew John Hughes wrote:
> On 14:48 Fri 15 Apr     , luxInteg wrote:
> > Greetings,
> > 
> > I am attempting to compile openJDK-7  on a computer whth these:-
> > --cpu amd64 2cores
> > --OS cblfs 64-bit linux gcc-4.5.2 kernel-2.6.35.7 jdk-6u24, ant-1.8.1,
> > make-3.82,unzip-5.55,zip-3.0
> > 
> > 
> > here are the environmental  veriables I have set:-
> > ------------------------
> > 
> > export PATH=/usr/bin:/opt/jdk/bin:/opt/ant/bin:${PATH}
> > export ALT_BOOTDIR=/opt/jdk
> > #export ALT_CACERTS_FILE
> > export ALT_DEVTOOLS_PATH=/usr/bin
> > export BUILD_NUMBER=b29{ or 38}
> > export ARCH_DATA_MODEL=64
> > ------------------------
> > #######  the build ends like this
> > 
> > 
> > WARNING: LC_ALL has been set to POSIX, this can cause build failures.
> > 
> >          Try setting LC_ALL to 'C'.
> > 
> > WARNING: LANG has been set to en_GB.utf8 at iso, this can cause build
> > failures.
> > 
> >          Try setting LANG to 'C'.
> > 
> > WARNING: The version of unzip being used is older than
> > 
> >        the required version of '5.12'.
> >        The version of unzip found was ''.
> > 
> > WARNING: The version of zip being used is older than
> > 
> >        the required version of '2.2'.
> >        The version of zip found was ''.
> > 
> > ERROR: The version of make being used is older than
> > 
> >        the required version of '3.81'.
> >        The version of make found was ''.
> > 
> > ERROR: Your BOOTDIR environment variable does not point
> > 
> >        to a valid JDK for bootstrapping this build.
> >        A JDK 7  build must be bootstrapped using
> >        JDK 1.6.0 fcs (or later).
> >        Apparently, your bootstrap JDK is version
> >        Please update your ALT_BOOTDIR setting and start your build again.
> > 
> > ##############
> > 
> > 
> > I have tried the following  all with the same results:-
> > --versions: openjdk-7-ea-src-b138-14_apr_2011  AND  openjdk-7-ea-src-
> > b129-10_feb_2011
> > --with the environmental varialbe LC_ALL="C"
> > --with environmental variables CC, CXX,  CFLAGS,CXXFLAGS,LDFLAGS and
> > CPPFLAGS set
> > --withOUT environmental variables CC, CXX,  CFLAGS,CXXFLAGS,LDFLAGS and
> > CPPFLAGS set
> > 
> > advice would be appreciated
> > 
> > yours sincerely
> > luxinteg
> 
> Look at the errors.
> 
> What is in /opt/jdk?  Where is make?

/opt/jdk is a symbolic link to /opt/jdk-6u24  the root of the jdk installation 
and contains  subdirectories bin,include, ..etc

-----here is am  ls of it:-
lrwxrwxrwx 1 root root 8 Apr 14 20:39 /opt/jdk -> jdk-6u24
COPYRIGHT
README.html
README_ja.html
README_zh_CN.html
THIRDPARTYLICENSEREADME.txt
bin
db
demo
include
jre
lib
man
register.html
register_ja.html
register_zh_CN.html
sample
src.zip

> What is in /opt/jdk?  Where is make?

make is in /usr/bin
--here is a  'make  -v'  for  it:-

GNU Make 3.82
Built for x86_64-unknown-linux-gnu
Copyright (C) 2010  Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.






More information about the build-dev mailing list