[Red5] Error compilinh the current of red

rb at taylorassociate.com rb at taylorassociate.com
Thu Mar 5 06:22:11 PST 2009


Now I am getting this 


  ----- Original Message ----- 
  From: Tyler Kocheran 
  To: red5 at osflash.org 
  Sent: Wednesday, March 04, 2009 20:40
  Subject: Re: [Red5] Error compilinh the current of red


  I'm sorry, I can't get on the chat room right now, I am at work and email is all that I can do. I really would like to help you out. Have you tried checking out as per the last email?


  On Thu, Mar 5, 2009 at 5:29 AM, <rb at taylorassociate.com> wrote:


      ----- mail:/var/cyberchatnet/prochatrooms/webcams# ant -version

      Apache Ant version 1.7.0 compiled on April 29 2008

      mail:/var/cyberchatnet/prochatrooms/webcams#

      I am on the server can debug this a lot faster if you login and I can show the log files and updated as we make the proper changes.

      Original Message ----- 
      From: Tyler Kocheran 
      To: red5 at osflash.org 
      Sent: Wednesday, March 04, 2009 20:23
      Subject: Re: [Red5] Error compilinh the current of red


      I'm not talking about the apache HTTPD, the web server. Apache Ant is a build tool, completely different. Apache has a lot of projects, Apache Ivy, Apache Ant, Apache Tomcat... and Red5 uses all of them, but all you need to install is ant. Run "ant -version" at your console and send the output back.


      On Wed, Mar 4, 2009 at 5:13 PM, Tyler Kocheran <rfkrocktk at gmail.com> wrote:

        Open up a terminal, run "ant -version"
        If you've got output, then you're good to go. 

        Check out Red5's source by creating a folder and "cd'ing" to it. Then run "svn co 'http://red5.googlecode.com/svn/java/server/trunk". You should then run "ant dist" from Terminal in Red5's base directory. It'll create a folder named dist, this is your compiled Red5 server. All scripts inside of this server will start the server. Never ever run any scripts outside your /dist directory, they won't work and you'll get really frustrated, trust me, I know. 

        Let me know if that works. 



        On Thu, Mar 5, 2009 at 5:01 AM, <rb at taylorassociate.com> wrote:

          Does this get the current version of red5?

           export ANT_HOME=/usr/local/ant5.Once Java and Ant are all set up you 
           simply download the latest development version of Red5 to your box.
            svn co http://red5.googlecode.com/svn/java/server/trunk red5-trunkThat 
            ----- Original Message ----- 
            From: Tyler Kocheran 
            To: red5 at osflash.org 
            Sent: Wednesday, March 04, 2009 19:54
            Subject: Re: [Red5] Error compilinh the current of red


            Call ant dist

            Red5 makes heavy use of ant for builds, read this, it'll explain a lot about the way Red5 is built:
            http://blog.tkassembled.com/2008/11/red5-trunk-development-revisited.html

            Don't pay too much attention to the whole discussion on 'red5-bootstrap,' as that has been fixed with the current server.


            On Thu, Mar 5, 2009 at 4:29 AM, <rb at taylorassociate.com> wrote:

              I am using the current version of red5 with linux and when I run this I am getting this error

              mail:~/red5-trunk# ./red5.sh
              Starting Red5
              Exception in thread "main" java.lang.NoClassDefFoundError: org/red5/server/Bootstrap
              Caused by: java.lang.ClassNotFoundException: org.red5.server.Bootstrap
                    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
                    at java.security.AccessController.doPrivileged(Native Method)
                    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
                    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
                    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
                    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
                    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
              Could not find the main class: org.red5.server.Bootstrap.  Program will exit.
              mail:~/red5-trunk# cd src
              mail:~/red5-trunk/src# dir
              conf  META-INF  org
              mail:~/red5-trunk/src# cd ..

              There is no dist directory when I use the cvs command to get the current version of red5.  How can I fix this problem please?



              _______________________________________________
              Red5 mailing list
              Red5 at osflash.org
              http://osflash.org/mailman/listinfo/red5_osflash.org




            -- 
            And do this, knowing the time, that now it is high time to awake out of sleep;
            for now our salvation is nearer than when we first believed.



--------------------------------------------------------------------


            _______________________________________________
            Red5 mailing list
            Red5 at osflash.org
            http://osflash.org/mailman/listinfo/red5_osflash.org


          _______________________________________________
          Red5 mailing list
          Red5 at osflash.org
          http://osflash.org/mailman/listinfo/red5_osflash.org





        -- 
        And do this, knowing the time, that now it is high time to awake out of sleep;
        for now our salvation is nearer than when we first believed.




      -- 
      And do this, knowing the time, that now it is high time to awake out of sleep;
      for now our salvation is nearer than when we first believed.



--------------------------------------------------------------------------


      _______________________________________________
      Red5 mailing list
      Red5 at osflash.org
      http://osflash.org/mailman/listinfo/red5_osflash.org


    _______________________________________________
    Red5 mailing list
    Red5 at osflash.org
    http://osflash.org/mailman/listinfo/red5_osflash.org





  -- 
  And do this, knowing the time, that now it is high time to awake out of sleep;
  for now our salvation is nearer than when we first believed.



------------------------------------------------------------------------------


  _______________________________________________
  Red5 mailing list
  Red5 at osflash.org
  http://osflash.org/mailman/listinfo/red5_osflash.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/red5_osflash.org/attachments/20090305/630b3afd/attachment-0001.html>


More information about the Red5 mailing list