Menu

Sphinx4 installation problem

Help
Anonymous
2004-07-30
2012-09-22
  • Anonymous

    Anonymous - 2004-07-30

    Hi, Philip:

    Though I have solved the installation problem I told you yesterday, I use some weird way to solve it.

    Here is the error display information I was talking about yesterday and can't copy and paster them that time. When I use CVS download the whole sphinx4 package. I first execute the jsapi.exe file. And go to the top directory to run "ant". And then the error information coming out. The details is as follows:

    D:\sphinx4>cd lib

    D:\sphinx4\lib>chmod a+x jsapi.exe

    D:\sphinx4\lib>.\jsapi.exe

    D:\sphinx4\lib>cd ..

    D:\sphinx4>ant

    Buildfile: build.xml

    all:

    create_wsj_tidigits_model_classes:

    create_my_model_classes:

    create_my_model_classes:

    check_jsapi_default.isPresent:

    copy_jsapi_jar:

    check_jsapi_jar.isPresent:

    issue_jsapi_warning:

    set_patternset_to_compile:

    set_patternset_to_doc:

    handle_jsapi:

    compile_src:

        [mkdir] Created dir: D:\sphinx4\bld\classes

        [javac] Compiling 271 source files to D:\sphinx4\bld\classes

        [javac] D:\sphinx4\com\sun\taglet\HrefTaglet.java:102: cannot resolve symbol

        [javac] symbol  : method holder ()

        [javac] location: interface com.sun.javadoc.Tag

        [javac]         if (tag.holder() instanceof RootDoc) {

        [javac]                ^

        [javac] D:\sphinx4\com\sun\taglet\HrefTaglet.java:103: cannot resolve symbol

        [javac] symbol  : method holder ()

        [javac] location: interface com.sun.javadoc.Tag

        [javac]             RootDoc doc = (RootDoc) tag.holder();

        [javac]                                        ^

        [javac] 2 errors

    BUILD FAILED

    D:\sphinx4\build.xml:220: Following error occured while executing this line

    D:\sphinx4\build.xml:246: Compile failed; see the compiler error output for deta

    ils.

    Total time: 5 seconds

    D:\sphinx4>

    Do you know what is the problem? Thanks a lot!

    --Larry

     
    • Philip Kwok

      Philip Kwok - 2004-07-30

      Hi Larry,

      The problem is that the taglet stuff is incompatible with Java 1.4.1 or lower. Please upgrade to Java 1.4.2 or higher, and the problem should go away.

      philip

       
    • Anonymous

      Anonymous - 2004-07-30

      Hi, Philip:

      Thanks for your reply. But I don't think it's the Java version problem, because what I have is exactly Java 1.4.2. And when I unzip the sphinx4-0.1alpha-bin.zip or sphinx4-0.1alpha-bin.zip and do the same thing (execute jsapi.exe, type ant etc.), everything is fine. However, if I use the sphinx4 download by CVS, I have the error information copied above.

      May I know what is the problem? Thanks a lot!

      --Larry

       
    • Willie Walker

      Willie Walker - 2004-07-31

      The HREF taglet is a javadoc taglet that allows you to make an image map where clickable areas point to javadoc pages.  Unfortunately, the APIs it uses are not stable and tend to change between releases of the JDK.

      As such, the maintenance required for the HrefTaglet outshadows its usefulness.  So, I've removed it from the CVS repository.  If you grab the latest stuff from CVS, the problems you're seeing should hopefully go away.

      Sorry for the inconvenience.

      Will

       
    • Anonymous

      Anonymous - 2004-08-02

      Hi, Will:

      Thanks a lot! Yeah, now it's working perfectly! Thanks again!

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.