[Nix-dev] libreoffice build is broken
Bjørn Forsman
bjorn.forsman at gmail.com
Tue Jan 21 09:20:47 CET 2014
Den 21. jan. 2014 09:11 skrev "Eelco Dolstra" <eelco.dolstra at logicblox.com>
følgende:
>
> Hi,
>
> On 19/01/14 00:22, Bjørn Forsman wrote:
>
> > I wonder if the issue has to do with "multiple outputs", as there was
> > recently some changes in openjdk regarding that. From the config.log
> > above I can see
> >
> > Unable to locate tools.jar. Expected to find it in
> >
/nix/store/fj90f1gagz2iyipbmzc78rz3aas88zaj-openjdk-7u40b43-jre/lib/openjdk/lib/tools.jar
>
> Looks like LibreOffice's configure script gets confused by the "Unable to
locate
> tools.jar" warning from Ant (which is mostly harmless). I'll see if I
can get
> rid of that message.
It is as if $JAVA_HOME at some point is overridden and points to jre
instead of jdk. (When $JAVA_HOME doesn't point to jdk one get this message
about missing tools.jar.)
I used nix-shell and ran the configure step manually. In my shell
$JAVA_HOME is set correctly (=jdk) but it looks like configure sees it as
=jre.
- Bjørn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140121/e72df0f6/attachment.html
More information about the nix-dev
mailing list