Building open jdk 8 from source fails
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Tue Jan 27 13:35:01 UTC 2015
On 2015-01-27 13:07, lee json wrote:
> No luck. After running bash get_source.sh, then re-configure, make,
> etc. still produce the same error.
Did you run "make clean"? You can even try running "make dist-clean" and
re-running configure to really start from a clean slate.
> On 23 January 2015 at 20:12, Magnus Ihse Bursie
> <magnus.ihse.bursie at oracle.com> wrote:
>> On 2015-01-18 04:47, lee json wrote:
>>> I switch to cloning repository at
>>> http://hg.openjdk.java.net/jdk8u/jdk8u-dev/ by command `hg clone
>>> Then build with command line `bash ./configure
>>> --with-boot-jdk=/home/jason/jdk1.7.0_6` or `bash ./configure`. And
>>> then execute `make` or `make all` command.
>>> The first step i.e. configure successfully completes. Its output looks
>>> as the section configure. But failing compile source as the section of
>>> make, when calling make/ make all. With or wihtout make clean before
>>> make/ make all doesn't make any differences.
>>> How to fix such errors? Thanks
>> It looks like you have not gotten all source code correctly. Just cloning
>> the top-level repo is not enough.
>> Try running "bash get_source.sh".
More information about the build-dev