I am setting up Red5 on a system with Ubuntu 8.04 and following the how-to guide on the osflash site: http://osflash.org/red5/ubuntu804. I am not familiar with Java programming I'm afraid so this may be quite a simple problem to fix but I could not find anything useful doing a Google search.

The only modification I've made is the paths where there was some error. So I believe I have JAVA_HOME and ANT_HOME set properly. CLASSPATH is not set.

JAVA_HOME=/usr/lib/jvm/java-6-sun/
ANT_HOME=/usr/share/ant

cd red5
ant prepare
ant dist
After some standard looking messages, I get the following:

        ---------------------------------------------------------------------
        |                  |            modules            ||   artifacts   |
        |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
        ---------------------------------------------------------------------
        |       java6      |   43  |   0   |   0   |   0   ||   43  |   0   |
        ---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: red5#server
[ivy:retrieve]  confs: [java6]
[ivy:retrieve]  0 artifacts copied, 43 already retrieved (0kB/72ms)
    [javac] Compiling 513 source files to /home/wyatt/svn/red5/bin
[javac] /home/wyatt/svn/red5/src/org/red5/server/net/rtmp/codec/RTMPProtocolDecoder.java:40: cannot find symbol
    [javac] symbol  : class Abort
    [javac] location: package org.red5.server.net.rtmp.event
    [javac] import org.red5.server.net.rtmp.event.Abort;
    [javac]                                      ^
[javac] /home/wyatt/svn/red5/src/org/red5/server/net/rtmp/codec/RTMPProtocolDecoder.java:407: cannot find symbol
    [javac] symbol  : class Abort
[javac] location: class org.red5.server.net.rtmp.codec.RTMPProtocolDecoder
    [javac]                     } else if (message instanceof Abort) {
    [javac]                                                   ^
[javac] /home/wyatt/svn/red5/src/org/red5/server/net/rtmp/codec/RTMPProtocolDecoder.java:410: cannot find symbol
    [javac] symbol  : class Abort
[javac] location: class org.red5.server.net.rtmp.codec.RTMPProtocolDecoder
    [javac]                             Abort abort = (Abort) message;
    [javac]                             ^
[javac] /home/wyatt/svn/red5/src/org/red5/server/net/rtmp/codec/RTMPProtocolDecoder.java:410: cannot find symbol
    [javac] symbol  : class Abort
[javac] location: class org.red5.server.net.rtmp.codec.RTMPProtocolDecoder
    [javac]                             Abort abort = (Abort) message;
    [javac]                                            ^
[javac] /home/wyatt/svn/red5/src/org/red5/server/net/rtmp/codec/RTMPProtocolDecoder.java:601: cannot find symbol
    [javac] symbol  : class Abort
[javac] location: class org.red5.server.net.rtmp.codec.RTMPProtocolDecoder
    [javac]             return new Abort(in.getInt());
    [javac]                        ^
[javac] Note: /home/wyatt/svn/red5/src/org/red5/io/FileKeyFrameMetaCache.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: /home/wyatt/svn/red5/src/org/red5/io/object/Serializer.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 5 errors

BUILD FAILED
/home/wyatt/svn/red5/build.xml:220: The following error occurred while executing this line: /home/wyatt/svn/red5/build.xml:241: Compile failed; see the compiler error output for details.

---

Many thanks in advance for help with this.

Have a great day,

Jeremy

Jeremy Wyatt
Lead Programmer/Analyst
University of Rochester
Laboratory for Laser Energetics
250 East River Road
Rochester, NY  14623-1299

Voice: (585) 275-8205
Fax: (585) 273-1014

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to