classpathx-javamail
[Top][All Lists]
Advanced

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

[Classpathx-javamail] nntp client


From: Joseph Shraibman
Subject: [Classpathx-javamail] nntp client
Date: Fri, 22 Apr 2005 17:52:27 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414

I need to write an nntp client, but I can't build the classpathx javamail providers. In order to do so, I need inetlib, which I can't find a download link for so I had to get out of cvs. When I tried to build that I got:

checking for SASL... configure: error: can't find SASL classes; use --with-sasl

Now I don't know why sasl is required but I downloaded http://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-acap-api-java-v1.a1.tar.gz When I tried to build that I got:


address@hidden ~/work/gnumail/cyrus-acap-api-java-v1.a1]$ java JavaLex.Main Yylex.lex
Exception in thread "main" java.lang.NoClassDefFoundError: JavaLex/Main
make: *** [Yylex.java] Error 1

So I had to download JLex, rename it so that cyrus was happy, build it, and then I got:

address@hidden ~/work/gnumail/cyrus-acap-api-java-v1.a1]$ make
java JavaLex.Main Yylex.lex
Processing first section -- user code.
Processing second section -- JLex declarations.
Processing third section -- lexical rules.
Creating NFA machine representation.
NFA comprised of 143 states.
Working on character classes.::::.:...:..::.:.:.:::::.:.:....:.::.....:....:...:..:.....:::..::.:.....
NFA has 31 distinct character classes.
Creating DFA transition table.
Working on DFA states.....................................................................................
Minimizing DFA transition table.
78 states after removal of redundant states.
Outputting lexical analyzer code.
mv Yylex.lex.java Yylex.java
javac Yylex.java
javac ATest.java
ATest.java:31: cannot resolve symbol
symbol  : class NotifyHandler
location: class acap.TestNotifier
class TestNotifier extends NotifyHandler {
                           ^
ATest.java:47: cannot resolve symbol
symbol  : class Conn
location: package acap
  private static acap.Conn conn = null;
                     ^
ATest.java:49: cannot resolve symbol
symbol  : class acapException
location: package acap
    throws java.io.IOException, acap.acapException {
                                    ^
ATest.java:50: cannot resolve symbol
symbol  : class Conn
location: package acap
      conn = new acap.Conn("acap.andrew.cmu.edu");
                     ^
ATest.java:59: cannot resolve symbol
symbol  : class Return
location: package acap
      acap.Return rets[] = {};
          ^
ATest.java:61: cannot resolve symbol
symbol  : class Modifiers
location: package acap
new acap.Modifiers(null, "bookmarks", rets, null),
                                  ^
ATest.java:62: cannot resolve symbol
symbol  : class Compare
location: package acap
                          new acap.Compare("entry", "+octet", ""),
                                  ^
7 errors
make: *** [ATest.class] Error 1

... so now I'm stuck.  Are there jar files of these things anywhere?




reply via email to

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