=== hannesw_ is now known as hannesw | ||
hazmat | is there a way to get the apt to use the 'real' java installed instead of trying to pull in a gcj stack? | 16:07 |
---|---|---|
hazmat | ie. if i do update-java-alternatives and pick the sun or openjdk | 16:09 |
hazmat | and then try to install something like maven, apt still wants to pull down the entire gcj stack | 16:10 |
persia | hazmat: Yes, but not trivially, or client-side. | 16:32 |
persia | Essentially it requires investigating the dependency stacks,and ensuring that there exists a gcj-clean path. | 16:33 |
persia | Note that if any adjustments are required, it's important to *also* support the -gcj path for folks that want to run natively. | 16:34 |
hazmat | persia, so what would a gcj clean path look like.. let's take ant as an example (smaller transitive dep stack) i see default-jre-headless and libxerces2-java as the deps.. lbiexerces2-java also needs the same default-jre-headless and libjaxp which just needs a default-jre-headless | 16:37 |
hazmat | so afaics thats a gcj-clean path | 16:37 |
hazmat | yet attempting an installation will still pull in a gcj stack | 16:38 |
persia | I have ant installed on my workstation and no -gcj packages. | 16:39 |
persia | Could you paste the output of `apt-get install ant` in your target environment? | 16:40 |
hazmat | persia, http://gist.github.com/367258 | 16:41 |
hazmat | and my java alternatives.. http://gist.github.com/367261 | 16:42 |
hazmat | karmic fwiw | 16:42 |
persia | Ah, right. | 16:43 |
persia | So ant-gcj is a recomemndation, and you have recommends turned on by default. | 16:43 |
persia | You either need to use --no-install-recommends or use a more nuanced package manager. | 16:43 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!