[Red5] Installation fails

JohnLuker jluker at smartalk.us
Thu Oct 15 11:14:13 PDT 2009


I downloaded the ivy.xml file and copied it to the red5-0.8.0 directory as
well. 

[root at localhost red5-0.8.0]# ant prepare
Buildfile: build.xml
  [taskdef] Could not load definitions from resource
org/apache/ivy/ant/antlib.xml. It could not be found.

prepare:

BUILD SUCCESSFUL
Total time: 0 seconds
[root at localhost red5-0.8.0]# ant dist
Buildfile: build.xml
  [taskdef] Could not load definitions from resource
org/apache/ivy/ant/antlib.xml. It could not be found.

-library.check:
     [echo] Java: java.home is
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre and the target version is
${java.target_version}
     [echo] Ant: ant.home is /usr/local/ant and the target version is Apache
Ant version 1.7.1 compiled on June 27 2008

-java6.check:
     [echo] Using Java ${java.target_version}

prepare:

compile:
     [echo] javac version: 1.5
     [echo] Not using the Eclipse IDE
     [echo] Compiler adapter name: ${build.compiler}
  [taskdef] Could not load definitions from resource
org/apache/ivy/ant/antlib.xml. It could not be found.

compile-core:
  [taskdef] Could not load definitions from resource
org/apache/ivy/ant/antlib.xml. It could not be found.

compile-core-compatibility:
  [taskdef] Could not load definitions from resource
org/apache/ivy/ant/antlib.xml. It could not be found.

retrieve:

BUILD FAILED
/usr/local/red5-0.8.0/build.xml:236: The following error occurred while
executing this line:
/usr/local/red5-0.8.0/build.xml:263: The following error occurred while
executing this line:
/usr/local/red5-0.8.0/build.xml:191: Problem: failed to create task or type
antlib:org.apache.ivy.ant:settings
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
No types or tasks have been defined in this namespace yet

This appears to be an antlib declaration. 
Action: Check that the implementing library exists in one of:
        -/usr/local/ant/lib
        -/root/.ant/lib
        -a directory added on the command line with the -lib argument


Total time: 0 seconds


JohnLuker wrote:
> 
> Ok, I downloaded the build.xml file from there. I copied it to the
> red5-0.8.0 directory and then:
> 
> [root at localhost red5-0.8.0]# ant prepare
> Buildfile: build.xml
>   [taskdef] Could not load definitions from resource
> org/apache/ivy/ant/antlib.xml. It could not be found.
> 
> prepare:
> 
> BUILD SUCCESSFUL
> Total time: 0 seconds
> [root at localhost red5-0.8.0]# ant dist
> Buildfile: build.xml
>   [taskdef] Could not load definitions from resource
> org/apache/ivy/ant/antlib.xml. It could not be found.
> 
> -library.check:
>      [echo] Java: java.home is
> /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre and the target version
> is ${java.target_version}
>      [echo] Ant: ant.home is /usr/local/ant and the target version is
> Apache Ant version 1.7.1 compiled on June 27 2008
> 
> -java6.check:
>      [echo] Using Java ${java.target_version}
> 
> prepare:
> 
> compile:
>      [echo] javac version: 1.5
>      [echo] Not using the Eclipse IDE
>      [echo] Compiler adapter name: ${build.compiler}
>   [taskdef] Could not load definitions from resource
> org/apache/ivy/ant/antlib.xml. It could not be found.
> 
> compile-core:
>   [taskdef] Could not load definitions from resource
> org/apache/ivy/ant/antlib.xml. It could not be found.
> 
> compile-core-compatibility:
>   [taskdef] Could not load definitions from resource
> org/apache/ivy/ant/antlib.xml. It could not be found.
> 
> retrieve:
> 
> BUILD FAILED
> /usr/local/red5-0.8.0/build.xml:236: The following error occurred while
> executing this line:
> /usr/local/red5-0.8.0/build.xml:263: The following error occurred while
> executing this line:
> /usr/local/red5-0.8.0/build.xml:191: Problem: failed to create task or
> type antlib:org.apache.ivy.ant:settings
> Cause: The name is undefined.
> Action: Check the spelling.
> Action: Check that any custom tasks/types have been declared.
> Action: Check that any <presetdef>/<macrodef> declarations have taken
> place.
> No types or tasks have been defined in this namespace yet
> 
> This appears to be an antlib declaration. 
> Action: Check that the implementing library exists in one of:
>         -/usr/local/ant/lib
>         -/root/.ant/lib
>         -a directory added on the command line with the -lib argument
> 
> 
> Total time: 0 seconds
> [root at localhost red5-0.8.0]# 
> 
> Michael Hollenbeck wrote:
>> 
>> As dependencies change, so do the build and ivy files.
>> 
>> If you want to rebuild .8--the tar packages are, as for as I know, just
>> there to unzip and go--you can check out the sources in subversion from
>> 
>> http://red5.googlecode.com/svn/java/server/tags/0_8_0/
>> 
>> 
>> 
>> On Thu, Oct 15, 2009 at 10:35 AM, JohnLuker <jluker at smartalk.us> wrote:
>> 
>>>
>>> The only build.xml file I find is in the old red5-0.6.3 directory that
>>> I'd
>>> mistakenly downloaded the other day...
>>>
>>>
>>> JohnLuker wrote:
>>> >
>>> > [root at localhost red5-0.8.0]# cd /usr/local/red5-0.8.0
>>> > [root at localhost red5-0.8.0]# dir
>>> > boot.jar  license.txt     red5-debug.sh      red5.sh           
>>> webapps
>>> > conf      log             red5-highperf.bat  red5-shutdown.bat
>>> > doc       red5.bat        red5-highperf.sh   red5-shutdown.sh
>>> > lib       red5-debug.bat  red5.jar           src.zip
>>> >
>>> >
>>> >
>>> > Andy Shaules wrote:
>>> >>
>>> >> What does this output?
>>> >>
>>> >>  cd /usr/local/red5-0.8.0
>>> >> dir
>>> >>
>>> >> maybe you are just one level to high?
>>> >>
>>> >>
>>> >> ----- Original Message -----
>>> >> From: "JohnLuker" <jluker at smartalk.us>
>>> >> To: <Red5 at osflash.org>
>>> >> Sent: Thursday, October 15, 2009 10:18 AM
>>> >> Subject: Re: [Red5] Installation fails
>>> >>
>>> >>
>>> >>>
>>> >>> Here's what I've done since reading your reply (thanks for the help,
>>> >>> btw):
>>> >>>
>>> >>> 1. Downloaded the red5-0.8.0 tar from
>>> http://code.google.com/p/red5/.
>>> >>> 2. Extracted the package to /usr/local/red5-0.8.0.
>>> >>> 3. I then started over with step 3 from the instructions, here's the
>>> >>> output:
>>> >>>
>>> >>> [root at localhost red5-0.8.0]# export ANT_HOME=/usr/local/ant
>>> >>> [root at localhost red5-0.8.0]# export
>>> >>> JAVA_HOME=/usr/lib/jvm/java[root at localhost red5-0.8.0]# export
>>> >>> PATH=$PATH:/usr/local/ant/bin[root at localhost red5-0.8.0]# export
>>> >>> CLASSPATH=.:$JAVA_HOME/lib/classes.zip[root at localhost red5-0.8.0]#
>>> echo
>>> >>> ‘export ANT_HOME=/usr/local/ant’ >> /etc/bashrc
>>> >>> [root at localhost red5-0.8.0]# echo ‘export
>>> JAVA_HOME=/usr/lib/jvm/java’
>>> >>> >>
>>> >>> /etc/bashrc
>>> >>> [root at localhost red5-0.8.0]# echo ‘export
>>> PATH=$PATH:/usr/local/ant/bin’
>>> >>>  >>
>>> >>> /etc/bashrc
>>> >>> [root at localhost red5-0.8.0]# echo ‘export
>>> >>> CLASSPATH=.:$JAVA_HOME/lib/classes.zip’ >> /etc/bashrc
>>> >>> [root at localhost red5-0.8.0]# cd /usr/local/red5-0.8.0[root at localhost
>>> >>> red5-0.8.0]# ant prepareBuildfile: build.xml does not exist!
>>> >>> Build failed
>>> >>> [root at localhost red5-0.8.0]#
>>> >>>
>>> >>> So here's where I am at now. Thanks again for your help! J.
>>> >>>
>>> >>>
>>> >>>
>>> >>> Walter Tak wrote:
>>> >>>>
>>> >>>> The installer tries to download files that don't exist on those
>>> urls ;
>>> >>>> Try
>>> >>>> http://red5.googlecode.com/svn/trunk/repository/jasper-6.0.14.jar
>>> >>>> (from the errorlog) in your browser ; results in a 404.
>>> >>>>
>>> >>>> The actual correct directory for that module is
>>> >>>> http://red5.googlecode.com/svn/repository/tomcat/ but that also
>>> shows
>>> >>>> that
>>> >>>> the version should be jasper-6.0.18.jar or jasper-6.0.20.jar
>>> >>>>
>>> >>>> Is it possible that you downloaded an older version of Red5 instead
>>> the
>>> >>>> one from the trunk as described at step 4 ?
>>> >>>>
>>> >>>> W.
>>> >>>>   ----- Original Message -----
>>> >>>>   From: JohnLuker
>>> >>>>   To: Red5 at osflash.org
>>> >>>>   Sent: Wednesday, 14 October 2009 21:18
>>> >>>>   Subject: [Red5] Installation fails
>>> >>>>
>>> >>>>
>>> >>>>   Trying to install on a clean CentOS5.3 system. Followed
>>> instructions
>>> >>>> given at
>>> >>>>
>>> http://enbeeone3.com/how-to-install-red5-server-on-centos-5-3/#respond.
>>> >>>> Install fails (instruction #4). Txt file of results attached.
>>> Thanks
>>> in
>>> >>>> advance for any advice. Linux noob. Please be gentle. :)
>>> >>>> red5installerror.txt
>>> >>>>
>>> >>>>
>>> ------------------------------------------------------------------------------
>>> >>>>   View this message in context: Installation fails
>>> >>>>   Sent from the Red5 - English mailing list archive at Nabble.com.
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>>
>>> ------------------------------------------------------------------------------
>>> >>>>
>>> >>>>
>>> >>>>   _______________________________________________
>>> >>>>   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
>>> >>>>
>>> >>>>
>>> >>>
>>> >>> --
>>> >>> View this message in context:
>>> >>> http://www.nabble.com/Installation-fails-tp25896842p25912607.html
>>> >>> Sent from the Red5 - English mailing list archive at Nabble.com.
>>> >>>
>>> >>>
>>> >>> _______________________________________________
>>> >>> 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
>>> >>
>>> >>
>>> >
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Installation-fails-tp25896842p25912875.html
>>> Sent from the Red5 - English mailing list archive at Nabble.com.
>>>
>>>
>>> _______________________________________________
>>> 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
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Installation-fails-tp25896842p25913493.html
Sent from the Red5 - English mailing list archive at Nabble.com.




More information about the Red5 mailing list