[Red5] red5 Installation fail on centos
niko damqnov
mettall at abv.bg
Wed May 6 03:50:08 PDT 2009
Hello,
i am trying to build red5 0.8.0 RC3 on centos with ant 1.7.1
everything is okey... but sitll geting that error:
# echo $JAVA_HOME
/usr/java/jdk1.6.0_13/
#java -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode)
#ant
Buildfile: build.xml
[property] java.io.IOException: Cannot run program "/bin/env": java.io.IOException: error=12, Cannot allocate memory
[property] at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
[property] at java.lang.Runtime.exec(Runtime.java:593)
[property] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[property] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[property] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[property] at java.lang.reflect.Method.invoke(Method.java:597)
[property] at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:832)
[property] at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:447)
[property] at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:461)
[property] at org.apache.tools.ant.taskdefs.Execute.getProcEnvironment(Execute.java:167)
[property] at org.apache.tools.ant.taskdefs.Property.loadEnvironment(Property.java:527)
[property] at org.apache.tools.ant.taskdefs.Property.execute(Property.java:403)
[property] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[property] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[property] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[property] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[property] at java.lang.reflect.Method.invoke(Method.java:597)
[property] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[property] at org.apache.tools.ant.Task.perform(Task.java:348)
[property] at org.apache.tools.ant.Target.execute(Target.java:357)
[property] at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:142)
[property] at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:93)
[property] at org.apache.tools.ant.Main.runBuild(Main.java:743)
[property] at org.apache.tools.ant.Main.startAnt(Main.java:217)
[property] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[property] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[property] Caused by: java.io.IOException: java.io.IOException: error=12, Cannot allocate memory
[property] at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
[property] at java.lang.ProcessImpl.start(ProcessImpl.java:65)
[property] at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
[property] ... 25 more
-library.check:
[echo] Java: java.home is /usr/java/jdk1.6.0_13/jre and the target version is 1.6
[echo] Ant: ant.home is /opt/ant and the target version is Apache Ant version 1.7.1 compiled on June 27 2008
-java6.check:
[echo] Using Java 1.6
prepare:
compile:
[echo] javac version: 1.6
[echo] Not using the Eclipse IDE
[echo] Compiler adapter name: modern
compile-core:
retrieve:
[echo] Ivy conf name: java6
[ivy:resolve] :: Ivy 2.1.0-rc1 - 20090319213629 :: http://ant.apache.org/ivy/ ::
:: loading settings :: file = /opt/red5/ivysettings.xml
[ivy:resolve] :: resolving dependencies :: red5#server;working at onlinemusicdb.net
[ivy:resolve] confs: [java6]
[ivy:resolve] found tomcat#jasper;6.0.18 in googlecode
[ivy:resolve] found tomcat#jasper-jdt;6.0.18 in googlecode
[ivy:resolve] found tomcat#jasper-el;6.0.18 in googlecode
[ivy:resolve] found tomcat#el-api; in googlecode
[ivy:resolve] found javax#jsp-api;2.1 in googlecode
[ivy:resolve] found javax#servlet-api;2.5 in googlecode
[ivy:resolve] found javax#ejb3-persistence; in googlecode
[ivy:resolve] found red5#naming-factory; in googlecode
[ivy:resolve] found red5#naming-resources; in googlecode
[ivy:resolve] found spring#spring-aop;2.5.6 in googlecode
[ivy:resolve] found spring#spring-beans;2.5.6 in googlecode
[ivy:resolve] found spring#spring-context;2.5.6 in googlecode
[ivy:resolve] found spring#spring-core;2.5.6 in googlecode
[ivy:resolve] found spring#spring-web;2.5.6 in googlecode
[ivy:resolve] found spring#aopalliance; in googlecode
[ivy:resolve] found tomcat#catalina;6.0.18 in googlecode
[ivy:resolve] found tomcat#tomcat-coyote;6.0.18 in googlecode
[ivy:resolve] found tomcat#annotations-api; in googlecode
[ivy:resolve] found commons#commons-modeler;2.0.1 in googlecode
[ivy:resolve] found jetty#jetty;6.1.9 in googlecode
[ivy:resolve] found jetty#jetty-util;6.1.9 in googlecode
[ivy:resolve] found jetty#jetty-xbean;6.1.9 in googlecode
[ivy:resolve] found red5#slf4j-api;1.5.6 in googlecode
[ivy:resolve] found red5#jcl-over-slf4j;1.5.6 in googlecode
[ivy:resolve] found red5#log4j-over-slf4j;1.5.6 in googlecode
[ivy:resolve] found red5#jul-to-slf4j;1.5.6 in googlecode
[ivy:resolve] found red5#logback-core;0.9.14 in googlecode
[ivy:resolve] found red5#logback-classic;0.9.14 in googlecode
[ivy:resolve] found red5#tomcat-juli-slf4j;1.5.0 in googlecode
[ivy:resolve] found commons#commons-beanutils;1.8.0 in googlecode
[ivy:resolve] found commons#commons-codec;1.3 in googlecode
[ivy:resolve] found commons#commons-collections;3.2.1 in googlecode
[ivy:resolve] found commons#commons-httpclient;3.1 in googlecode
[ivy:resolve] found commons#commons-lang;2.4 in googlecode
[ivy:resolve] found commons#commons-pool;1.4 in googlecode
[ivy:resolve] found red5#quartz;1.6.5 in googlecode
[ivy:resolve] found javax#jta;1.1 in googlecode
[ivy:resolve] found red5#ehcache;1.6.0-beta1 in googlecode
[ivy:resolve] found javax#activation;1.1 in googlecode
[ivy:resolve] found red5#xercesImpl;2.9.1 in googlecode
[ivy:resolve] found red5#xml-apis;2.9.1 in googlecode
[ivy:resolve] found red5#xmlrpc;2.0.1 in googlecode
[ivy:resolve] found mina#mina-core;2.0.0-M5 in googlecode
[ivy:resolve] found mina#mina-integration-beans;2.0.0-M5 in googlecode
[ivy:resolve] found mina#mina-integration-jmx;2.0.0-M5 in googlecode
[ivy:resolve] found asm#asm;3.1 in googlecode
[ivy:resolve] found asm#asm-commons;3.1 in googlecode
[ivy:resolve] found antlr#antlr;3.1.2 in googlecode
[ivy:resolve] found red5#groovy-all;1.5.7 in googlecode
[ivy:resolve] found red5#jython;2.5 in googlecode
[ivy:resolve] found spring#spring-context-support;2.5.6 in googlecode
[ivy:resolve] found red5#jaudiotagger;1.0.8 in googlecode
[ivy:resolve] found xuggle#xuggle-xuggler;2.0.322 in default
[ivy:resolve] [2.0.322] xuggle#xuggle-xuggler;[2.0,)
[ivy:resolve] found red5#jruby-complete;1.1.6 in googlecode
[ivy:resolve] found red5#jruby-engine;1.1.6 in googlecode
[ivy:resolve] found red5#bcprov-jdk16;139 in googlecode
[ivy:resolve] :: resolution report :: resolve 10325ms :: artifacts dl 291ms
---------------------------------------------------------------------
| | modules || artifacts |
| conf | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
| java6 | 56 | 1 | 0 | 0 || 56 | 0 |
---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: red5#server
[ivy:retrieve] confs: [java6]
[ivy:retrieve] 0 artifacts copied, 56 already retrieved (0kB/83ms)
[javac] Compiling 501 source files to /opt/red5/bin
BUILD FAILED
/opt/red5/build.xml:234: The following error occurred while executing this line:
/opt/red5/build.xml:256: Error running /usr/java/jdk1.6.0_13/bin/javac compiler
GZ ;)
More information about the Red5
mailing list