[icedtea-web] RFC: add a new autoconf macro IT_FIND_OPTIONAL_JAR

Dr Andrew John Hughes ahughes at redhat.com
Fri Apr 8 16:23:33 PDT 2011


On 17:28 Fri 08 Apr     , Omair Majid wrote:
> 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

Is what worth fixing? This sounds like the correct behaviour.  Rhino is on
by default.  If you want to build without, --without-rhino works.
- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D  0698 0713 C3ED F586 2A37



More information about the distro-pkg-dev mailing list