Build attempts to install /usr/local/jvm/ binary in an invalid location on Mac OS X
martijnverburg at gmail.com
Tue Apr 14 21:14:11 UTC 2015
Thanks for the detailed explanation, appreciated as always! I'll just
execute make clean images for now and reference the binary via its absolute
path as required.
Of course I'm now onto the next build error ;-). But I'll open a separate
thread for that tomorrow.
On 14 April 2015 at 11:46, Magnus Ihse Bursie <magnus.ihse.bursie at oracle.com
> Hi Martijn,
> On 2015-04-14 10:05, Martijn Verburg wrote:
>> Hi all,
>> Using Configuration:
>> using configure arguments '--with-boot-jdk=/Library/
>> /jdk1.8.0_40.jdk/Contents/Home/ --with-tools-dir=/opt/local/bin/ --with-
>> toolchain-type=gcc --with-freetype-lib=/usr/X11/lib/ --with-freetype
>> It attempts to install a binary at /usr/local/jvm/openjdk-1.9.0-internal.
>> usr/local/jvm doesn't exist on Mac OS X and can't be created (need sudo)
> The "install" target is probably in need of a lot of TLC. I wouldn't be
> surprised if it has bit-rotted. However, in all normal circumstances,
> running it *will* require root/sudo credentials -- the whole point is to
> install the newly built JDK into a system-wide location.
> The suggested commands for doing this is:
> > bash configure --prefix=...
> > make all
> > sudo make install
> so that you don't run more of the build than necessary as root. Also note
> that, in theory, you should be able to select another location using the
> build-in autoconf --prefix option. If you select a path writable by your
> user, you will not require the sudo part. I'm not sure how well tested that
> is, though.
More information about the build-dev