On 04/24/2018 03:25 PM, Thomas Stüfe wrote:
Have you tried "apt build-dep openjdk-9"? This should install all the
necessary build dependencies.

This is cool! I did not know that.

Unfortunately it seems not to work on my box:

thomas@mint18 /shared/projects/openjdk/jdk-jdk/source $ sudo apt-get
build-dep openjdk-9
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list

You need to add the corresponding "deb-src" entries for the "deb"
entries in your /etc/apt/sources.list.

On my Debian box, it looks like this:

deb http://ftp.de.debian.org/debian unstable main contrib non-free
deb-src http://ftp.de.debian.org/debian unstable main contrib non-free

For Linux Mint, you need to use the corresponding line from the
Linux Mint mirrors. After editing the sources.list, you need to
run "apt update".

:) Sure. As I wrote, I think the bug would be that configure does not
display nice "you should run apt-get xxxxx" messages like it used to.

PS: If you are using a real Debian instead of Linux Mint, you get a
     free Multi-Arch environment for free and can easily cross-build
     OpenJDK for all the architectures found in Debian. Let me know
     if you want me to write up a small HowTo.


Such a braindump from you would be surely welcome.

I just realized I already did that:

https://wiki.debian.org/PortsDocs/BootstrappingOpenJDK

Needs some updating though.

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply via email to