[Red5] Compile & DIrectory Failed

rb at taylorassociate.com rb at taylorassociate.com
Thu Mar 5 04:53:10 PST 2009


The other message got rejected.
 
 Sorry, I was not done typing in the last email, and I did not mean sent it 
 yet.
 
 I am using the current version of apache2, Red5 and Debian.  I tried to 
 compile red5, but the dictory dist does not exist.  I do not want to down 
 grade apache from 2.0 to
 1.7 because I already have it configured to host two web sites, run mysql 
 and php on it. How can I get red5 to install please?
 
 
 This installed fine.
 
 1.Install Subversion:
 apt-get install subversion2.Install tools to build your own Debian packages:
 apt-get install dpkg-dev debhelper dh-make devscripts fakeroot3.Install Java 
 (see this tutorial for more info):
 apt-get install java-package4.Install Apache Ant 1.7:
 
 Skiped this step because I already have apache2 installed. See notes above.
  wget 
 http://apache.mirror.transip.nl/ant/binaries/apache-ant-1.7.1-bin.tar.gz
  tar zxvf apache-ant-1.7.1-bin.tar.gz
  mv apache-ant-1.7.1 /usr/local/ant
 
 This installed fine:
  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 
 will create a folder in your current directory called red5-trunk.
 
 This step was skiped see notes above
 
 6.Navigate to the red5-trunk directory and run ant
  cd red5-trunk
  /usr/local/ant/bin/antThat will build the project on your machine.
 
 7.At this point you will need to create a red5 directory in the 
 /usr/local/red5 directory.
 mkdir /usr/local/red58.Then you will want to copy the contents of the 
 dist(distribution) folder to /usr/local/red5 like so
 
 The red5-trunk/dist directory is missint:
 
 cp -R red5-trunk/dist/* /usr/local/red5/9.We need need to fix the 
 permissions on the red5.sh file:
 cd /usr/local/red5
 chmod 755 red5.sh10.To run the server you have a few options using the 
 red5.sh file. Run the server by either running
 
 Installed failed see notes below.
 
 sh red5.sh &or
 
 
 ./red5.sh &This will start the Red5 service manually.
 
 
 
 
 
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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/red5_osflash.org/attachments/20090305/3f852961/attachment.html>


More information about the Red5 mailing list