icedtea6-1.9.3 Build Problem: NoClassDefFoundError: org.apache.xerces.dom.DeferredDocumentImpl
Dr Andrew John Hughes
ahughes at redhat.com
Thu Dec 9 07:09:00 PST 2010
On 10:37 Thu 09 Dec , Pavel Tisnovsky wrote:
> Dr Andrew John Hughes wrote:
> > On 18:07 Tue 07 Dec , Andrew Haley wrote:
> >> On 12/07/2010 05:57 PM, tjoen wrote:
> >>> On Mon, 2010-12-06 at 18:13 -0600, DJ Lucas wrote:
> >>>> Please try the installation instructions I currently have in the BLFS
> >>>> book prior to asking for support.
> >>>> http://www.linuxfromscratch.org/blfs/view/svn/general/icedtea6.html
> >>> Thanks for your tip.
> >>> Building succeeds now by replacing self compiled xerces by the -bin
> >> It would be nice if we could get this stuff in IcedTea. IcedTea already
> >> has a bunch of patches, and adding BLFS patches on top of IcedTea patches
> >> doesn't sound like a recipe for long-term happiness.
> >>
> >
> > They are in IcedTea, bar the cacerts one. This needs more
> > work/testing to be in a state to be used by everyone. Most distros
> > are handling this locally and we need a solution for all if one is to
> > go in IcedTea.
> >
> > I believe Pavel was working on one, but he hasn't responded on it recently.
>
> Yeah I'm slowly working on this. It's quite easy to generate cacerts on
> all distros using simple BASH script and keytool (taken from recently
> build OpenJDK), but the main problem is that every distro has a set of
> certificates located somewhere else and I'm not excited about creating
> some sort of big switch in Makefile ;-)
>
It shouldn't be a big switch in the Makefile, but handled by configure.
DJ has a patch:
http://www.linuxfromscratch.org/~dj/icedtea6/icedtea6-enable-cacerts.patch
which I haven't looked at in detail, but seems to be along the right lines.
> Does this issue have high priority? I think that every distro solves
> this issue with its own way (for Fedoras and RHELs in .specfiles etc.)
>
I'd like to fix it in 1.11 along with adding an install target and updating
the class sharing data.
> >
> > As to the issue encountered by tjoen, I've never seen this before and I
> > don't see any patch in BLFS that would fix it.
> >
> >>> My guess is that the Oracle/SUN JDK doesn't strip CR/LF
> >>> resulting in requesting class DeferredDocumentImpl+CR
> >> I'd be a bit worried about that.
> >>
> >> Andrew.
> >
>
--
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: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint = F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
More information about the distro-pkg-dev
mailing list