classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gjdoc] problem building gjdoc


From: Julian Scheid
Subject: Re: [gjdoc] problem building gjdoc
Date: Fri, 29 Jul 2005 19:30:32 +0200
User-agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317)

Hanno Meyer-Thurow wrote:
src/gnu/classpath/tools/gjdoc/DocImpl.java:220: error: Can't find constructor 
`javax.swing.text.Segment([CII)' in type `javax.swing.text.Segment'.
            Segment segment = new Segment(text, startIndex, endIndex - 
startIndex);
                                  ^
src/gnu/classpath/tools/gjdoc/DocImpl.java:222: error: Can't find method 
`setText(Ljavax/swing/text/Segment;)' in type `java.text.BreakIterator'.
            breakIterator.setText(segment);
                         ^
2 errors
make[2]: *** [src/gnu/classpath/tools/gjdoc/DocImpl.lo] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...


It seems for me that this Segment stuff is in gcj's lib and jar. Could it be a 
problem of my gcj version then?

As far as I am aware, gjdoc should build fine with all gcj 4.x releases, as opposed to some of the 4.0.0 pre-release experimental versions. IIRC the Segment constructor you're missing has been added before the 4.0 release.

I guess you're using an older version by accident? You should check that you are in fact using 4.0.1 by doing gcj --version.

Note that gcj does not complain about the Segment class missing, but about a missing constructor. So the fact that you find "Segment stuff" in your gcj lib doesn't mean anything. The gcj build you've been using seems to come with an old version of Segment which lacks this constructor. You can use the javap tool to check this.

At any rate, if your problem persists you're probably better off posting to the appropriate Gentoo list since this appears to be an issue with your distribution.

Good luck,

Julian






reply via email to

[Prev in Thread] Current Thread [Next in Thread]