[icedtea-web] RFC: add a new autoconf macro IT_FIND_OPTIONAL_JAR
Omair Majid
omajid at redhat.com
Fri Apr 8 14:28:37 PDT 2011
On 03/08/2011 04:27 PM, Omair Majid wrote:
>
> Looks like a bug to me. Removing rhino and attempting to build icedtea6
> (HEAD) fails:
>
> $ sudo rpm -e --nodeps rhino
> $ ./autogen.sh && ./configure --disable-bootstrap
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> .... snip ....
> checking if a native2ascii binary was specified... no
> checking if /usr/lib/jvm/java-openjdk/bin/native2ascii is a valid
> executable... yes
> checking whether to include Javascript support via Rhino... not found
> configure: error: "A rhino jar was not found in /usr/share/java as
> either rhino.jar or js.jar."
>
> But explicitly saying --with-rhino=no works:
>
> $ ./autogen.sh && ./configure --with-rhino=no --disable-bootstrap
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> ...snip...
> checking if /usr/lib/jvm/java-openjdk/bin/native2ascii is a valid
> executable... yes
> checking whether to include Javascript support via Rhino... no
> checking for an OpenJDK source zip... not specified
> .... snip ....
>
> The attached patch (for icedtea6 HEAD) is the fix I have used in
> icedtea-web. Or I can add IT_FIND_OPTIONAL_JAR to icedtea{6,7}, if you
> would prefer that.
>
Ping. Is this worth fixing in IcedTea6?
Cheers,
Omair
More information about the distro-pkg-dev
mailing list