You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openmeetings.apache.org by Jeff Clay <Je...@infotech-enterprises.com> on 2013/02/17 01:02:47 UTC

Error when compiling

I get the following error when compiling from latest svn checkout using CentOs 6 with all latest updates and listed requirements.

     [echo] Going to extract /root/.ivy2/cache/openlaszlo/openlaszlo/tgzs/openlaszlo-4.9.5.tgz to the /root/om/singlewebapp/build
    [untar] Expanding: /root/.ivy2/cache/openlaszlo/openlaszlo/tgzs/openlaszlo-4.9.5.tgz into /root/om/singlewebapp/build
[ivy:resolve]   [SUCCESSFUL ] openlaszlo#openlaszlo;4.9.5!openlaszlo.tgz (47920ms)
[ivy:resolve] :: resolution report :: resolve 1432ms :: artifacts dl 51861ms
        ---------------------------------------------------------------------
        |                  |            modules            ||   artifacts   |
        |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
        ---------------------------------------------------------------------
        |   openlaszlo46   |   1   |   1   |   0   |   0   ||   1   |   1   |
        ---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: apache#openmeetings
[ivy:retrieve]  confs: [openlaszlo46]
[ivy:retrieve]  1 artifacts copied, 0 already retrieved (114960kB/305ms)

compile.laszlo.main.debug.as3:

-compile.flash:
     [java] Compiling: main.as3.lzx to maindebug.as3.swf11.swf
     [java] Exception in thread "main" org.openlaszlo.utils.ChainedException: org.openlaszlo.sc.CompilerError: Error running external compiler: java.io.IOException: Cannot run program "/root/om/singlewebapp/build/openlaszlo46/WEB-INF/flexsdk/4.6.0/bin/mxmlc": java.io.IOException: error=13, Permission denied
     [java]     at org.openlaszlo.compiler.SWF9Writer.finish(SWF9Writer.java:561)
     [java]     at org.openlaszlo.compiler.ObjectWriter.finish(ObjectWriter.java:536)
     [java]     at org.openlaszlo.compiler.Compiler.compile(Compiler.java:485)
     [java]     at org.openlaszlo.compiler.Compiler.compile(Compiler.java:210)
     [java]     at org.openlaszlo.compiler.Main.compile(Main.java:408)
     [java]     at org.openlaszlo.compiler.Main.lzc(Main.java:348)
     [java]     at org.openlaszlo.compiler.Main.main(Main.java:109)
     [java] Caused by: org.openlaszlo.sc.CompilerError: Error running external compiler: java.io.IOException: Cannot run program "/root/om/singlewebapp/build/openlaszlo46/WEB-INF/flexsdk/4.6.0/bin/mxmlc": java.io.IOException: error=13, Permission denied
     [java]     at org.openlaszlo.sc.SWF9Generator.callFlexCompiler(SWF9Generator.java:1204)
     [java]     at org.openlaszlo.sc.SWF10Compiler.finishApp(SWF10Compiler.java:70)
     [java]     at org.openlaszlo.compiler.SWF9Writer.finish(SWF9Writer.java:545)
     [java]     ... 6 more
     [java] Caused by: org.openlaszlo.sc.CompilerError: Error running external compiler: java.io.IOException: Cannot run program "/root/om/singlewebapp/build/openlaszlo46/WEB-INF/flexsdk/4.6.0/bin/mxmlc": java.io.IOException: error=13, Permission denied
     [java]     at org.openlaszlo.sc.SWF9Generator.callFlexCompiler(SWF9Generator.java:1204)
     [java]     at org.openlaszlo.sc.SWF10Compiler.finishApp(SWF10Compiler.java:70)
     [java]     at org.openlaszlo.compiler.SWF9Writer.finish(SWF9Writer.java:545)
     [java]     at org.openlaszlo.compiler.ObjectWriter.finish(ObjectWriter.java:536)
     [java]     at org.openlaszlo.compiler.Compiler.compile(Compiler.java:485)
     [java]     at org.openlaszlo.compiler.Compiler.compile(Compiler.java:210)
     [java]     at org.openlaszlo.compiler.Main.compile(Main.java:408)
     [java]     at org.openlaszlo.compiler.Main.lzc(Main.java:348)
     [java]     at org.openlaszlo.compiler.Main.main(Main.java:109)

BUILD FAILED
/root/om/singlewebapp/build.xml:542: The following error occurred while executing this line:
/root/om/singlewebapp/build.xml:483: Java returned: 1

Total time: 10 minutes 10 seconds
[root@conf singlewebapp]#

Jeff Clay
Network Administrator
Infotech Enterprises America
870-215-5506
Ext. 1506


________________________________

DISCLAIMER:

This email may contain confidential information and is intended only for the use of the specific individual(s) to which it is addressed. If you are not the intended recipient of this email, you are hereby notified that any unauthorized use, dissemination or copying of this email or the information contained in it or attached to it is strictly prohibited. If you received this message in error, please immediately notify the sender at Infotech and delete the original message.

Re: Error when compiling

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
Hi Jeff,

yes we know that issue and working on it.

In the meanwhile just do know:
chmod +x
/root/om/singlewebapp/build/openlaszlo46/WEB-INF/flexsdk/4.6.0/bin/mxmlc

on your machine and re-run ANT and it should be fine.

Sebastian


2013/2/17 Jeff Clay <Je...@infotech-enterprises.com>

>  I get the following error when compiling from latest svn checkout using
> CentOs 6 with all latest updates and listed requirements.
>
>
>
>      [echo] Going to extract
> /root/.ivy2/cache/openlaszlo/openlaszlo/tgzs/openlaszlo-4.9.5.tgz to the
> /root/om/singlewebapp/build
>
>     [untar] Expanding:
> /root/.ivy2/cache/openlaszlo/openlaszlo/tgzs/openlaszlo-4.9.5.tgz into
> /root/om/singlewebapp/build
>
> [ivy:resolve]   [SUCCESSFUL ] openlaszlo#openlaszlo;4.9.5!openlaszlo.tgz
> (47920ms)
>
> [ivy:resolve] :: resolution report :: resolve 1432ms :: artifacts dl
> 51861ms
>
>
> ---------------------------------------------------------------------
>
>         |                  |            modules            ||
> artifacts   |
>
>         |       conf       | number| search|dwnlded|evicted||
> number|dwnlded|
>
>
> ---------------------------------------------------------------------
>
>         |   openlaszlo46   |   1   |   1   |   0   |   0   ||   1   |
> 1   |
>
>
> ---------------------------------------------------------------------
>
> [ivy:retrieve] :: retrieving :: apache#openmeetings
>
> [ivy:retrieve]  confs: [openlaszlo46]
>
> [ivy:retrieve]  1 artifacts copied, 0 already retrieved (114960kB/305ms)
>
>
>
> compile.laszlo.main.debug.as3:
>
>
>
> -compile.flash:
>
>      [java] Compiling: main.as3.lzx to maindebug.as3.swf11.swf
>
>      [java] Exception in thread "main"
> org.openlaszlo.utils.ChainedException: org.openlaszlo.sc.CompilerError:
> Error running external compiler: java.io.IOException: Cannot run program
> "/root/om/singlewebapp/build/openlaszlo46/WEB-INF/flexsdk/4.6.0/bin/mxmlc":
> java.io.IOException: error=13, Permission denied
>
>      [java]     at
> org.openlaszlo.compiler.SWF9Writer.finish(SWF9Writer.java:561)
>
>      [java]     at
> org.openlaszlo.compiler.ObjectWriter.finish(ObjectWriter.java:536)
>
>      [java]     at
> org.openlaszlo.compiler.Compiler.compile(Compiler.java:485)
>
>      [java]     at
> org.openlaszlo.compiler.Compiler.compile(Compiler.java:210)
>
>      [java]     at org.openlaszlo.compiler.Main.compile(Main.java:408)
>
>      [java]     at org.openlaszlo.compiler.Main.lzc(Main.java:348)
>
>      [java]     at org.openlaszlo.compiler.Main.main(Main.java:109)
>
>      [java] Caused by: org.openlaszlo.sc.CompilerError: Error running
> external compiler: java.io.IOException: Cannot run program
> "/root/om/singlewebapp/build/openlaszlo46/WEB-INF/flexsdk/4.6.0/bin/mxmlc":
> java.io.IOException: error=13, Permission denied
>
>      [java]     at
> org.openlaszlo.sc.SWF9Generator.callFlexCompiler(SWF9Generator.java:1204)
>
>      [java]     at
> org.openlaszlo.sc.SWF10Compiler.finishApp(SWF10Compiler.java:70)
>
>      [java]     at
> org.openlaszlo.compiler.SWF9Writer.finish(SWF9Writer.java:545)
>
>      [java]     ... 6 more
>
>      [java] Caused by: org.openlaszlo.sc.CompilerError: Error running
> external compiler: java.io.IOException: Cannot run program
> "/root/om/singlewebapp/build/openlaszlo46/WEB-INF/flexsdk/4.6.0/bin/mxmlc":
> java.io.IOException: error=13, Permission denied
>
>      [java]     at
> org.openlaszlo.sc.SWF9Generator.callFlexCompiler(SWF9Generator.java:1204)
>
>      [java]     at
> org.openlaszlo.sc.SWF10Compiler.finishApp(SWF10Compiler.java:70)
>
>      [java]     at
> org.openlaszlo.compiler.SWF9Writer.finish(SWF9Writer.java:545)
>
>      [java]     at
> org.openlaszlo.compiler.ObjectWriter.finish(ObjectWriter.java:536)
>
>      [java]     at
> org.openlaszlo.compiler.Compiler.compile(Compiler.java:485)
>
>      [java]     at
> org.openlaszlo.compiler.Compiler.compile(Compiler.java:210)
>
>      [java]     at org.openlaszlo.compiler.Main.compile(Main.java:408)
>
>      [java]     at org.openlaszlo.compiler.Main.lzc(Main.java:348)
>
>      [java]     at org.openlaszlo.compiler.Main.main(Main.java:109)
>
>
>
> BUILD FAILED
>
> /root/om/singlewebapp/build.xml:542: The following error occurred while
> executing this line:
>
> /root/om/singlewebapp/build.xml:483: Java returned: 1
>
>
>
> Total time: 10 minutes 10 seconds
>
> [root@conf singlewebapp]#
>
>
>
> Jeff Clay
>
> Network Administrator
>
> Infotech Enterprises America
>
> 870-215-5506
>
> Ext. 1506
>
>
>
> ------------------------------
>
> DISCLAIMER:
>
> This email may contain confidential information and is intended only for
> the use of the specific individual(s) to which it is addressed. If you are
> not the intended recipient of this email, you are hereby notified that any
> unauthorized use, dissemination or copying of this email or the information
> contained in it or attached to it is strictly prohibited. If you received
> this message in error, please immediately notify the sender at Infotech and
> delete the original message.
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com

Re: Error when compiling

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
Hi Jeff,

yes we know that issue and working on it.

In the meanwhile just do know:
chmod +x
/root/om/singlewebapp/build/openlaszlo46/WEB-INF/flexsdk/4.6.0/bin/mxmlc

on your machine and re-run ANT and it should be fine.

Sebastian


2013/2/17 Jeff Clay <Je...@infotech-enterprises.com>

>  I get the following error when compiling from latest svn checkout using
> CentOs 6 with all latest updates and listed requirements.
>
>
>
>      [echo] Going to extract
> /root/.ivy2/cache/openlaszlo/openlaszlo/tgzs/openlaszlo-4.9.5.tgz to the
> /root/om/singlewebapp/build
>
>     [untar] Expanding:
> /root/.ivy2/cache/openlaszlo/openlaszlo/tgzs/openlaszlo-4.9.5.tgz into
> /root/om/singlewebapp/build
>
> [ivy:resolve]   [SUCCESSFUL ] openlaszlo#openlaszlo;4.9.5!openlaszlo.tgz
> (47920ms)
>
> [ivy:resolve] :: resolution report :: resolve 1432ms :: artifacts dl
> 51861ms
>
>
> ---------------------------------------------------------------------
>
>         |                  |            modules            ||
> artifacts   |
>
>         |       conf       | number| search|dwnlded|evicted||
> number|dwnlded|
>
>
> ---------------------------------------------------------------------
>
>         |   openlaszlo46   |   1   |   1   |   0   |   0   ||   1   |
> 1   |
>
>
> ---------------------------------------------------------------------
>
> [ivy:retrieve] :: retrieving :: apache#openmeetings
>
> [ivy:retrieve]  confs: [openlaszlo46]
>
> [ivy:retrieve]  1 artifacts copied, 0 already retrieved (114960kB/305ms)
>
>
>
> compile.laszlo.main.debug.as3:
>
>
>
> -compile.flash:
>
>      [java] Compiling: main.as3.lzx to maindebug.as3.swf11.swf
>
>      [java] Exception in thread "main"
> org.openlaszlo.utils.ChainedException: org.openlaszlo.sc.CompilerError:
> Error running external compiler: java.io.IOException: Cannot run program
> "/root/om/singlewebapp/build/openlaszlo46/WEB-INF/flexsdk/4.6.0/bin/mxmlc":
> java.io.IOException: error=13, Permission denied
>
>      [java]     at
> org.openlaszlo.compiler.SWF9Writer.finish(SWF9Writer.java:561)
>
>      [java]     at
> org.openlaszlo.compiler.ObjectWriter.finish(ObjectWriter.java:536)
>
>      [java]     at
> org.openlaszlo.compiler.Compiler.compile(Compiler.java:485)
>
>      [java]     at
> org.openlaszlo.compiler.Compiler.compile(Compiler.java:210)
>
>      [java]     at org.openlaszlo.compiler.Main.compile(Main.java:408)
>
>      [java]     at org.openlaszlo.compiler.Main.lzc(Main.java:348)
>
>      [java]     at org.openlaszlo.compiler.Main.main(Main.java:109)
>
>      [java] Caused by: org.openlaszlo.sc.CompilerError: Error running
> external compiler: java.io.IOException: Cannot run program
> "/root/om/singlewebapp/build/openlaszlo46/WEB-INF/flexsdk/4.6.0/bin/mxmlc":
> java.io.IOException: error=13, Permission denied
>
>      [java]     at
> org.openlaszlo.sc.SWF9Generator.callFlexCompiler(SWF9Generator.java:1204)
>
>      [java]     at
> org.openlaszlo.sc.SWF10Compiler.finishApp(SWF10Compiler.java:70)
>
>      [java]     at
> org.openlaszlo.compiler.SWF9Writer.finish(SWF9Writer.java:545)
>
>      [java]     ... 6 more
>
>      [java] Caused by: org.openlaszlo.sc.CompilerError: Error running
> external compiler: java.io.IOException: Cannot run program
> "/root/om/singlewebapp/build/openlaszlo46/WEB-INF/flexsdk/4.6.0/bin/mxmlc":
> java.io.IOException: error=13, Permission denied
>
>      [java]     at
> org.openlaszlo.sc.SWF9Generator.callFlexCompiler(SWF9Generator.java:1204)
>
>      [java]     at
> org.openlaszlo.sc.SWF10Compiler.finishApp(SWF10Compiler.java:70)
>
>      [java]     at
> org.openlaszlo.compiler.SWF9Writer.finish(SWF9Writer.java:545)
>
>      [java]     at
> org.openlaszlo.compiler.ObjectWriter.finish(ObjectWriter.java:536)
>
>      [java]     at
> org.openlaszlo.compiler.Compiler.compile(Compiler.java:485)
>
>      [java]     at
> org.openlaszlo.compiler.Compiler.compile(Compiler.java:210)
>
>      [java]     at org.openlaszlo.compiler.Main.compile(Main.java:408)
>
>      [java]     at org.openlaszlo.compiler.Main.lzc(Main.java:348)
>
>      [java]     at org.openlaszlo.compiler.Main.main(Main.java:109)
>
>
>
> BUILD FAILED
>
> /root/om/singlewebapp/build.xml:542: The following error occurred while
> executing this line:
>
> /root/om/singlewebapp/build.xml:483: Java returned: 1
>
>
>
> Total time: 10 minutes 10 seconds
>
> [root@conf singlewebapp]#
>
>
>
> Jeff Clay
>
> Network Administrator
>
> Infotech Enterprises America
>
> 870-215-5506
>
> Ext. 1506
>
>
>
> ------------------------------
>
> DISCLAIMER:
>
> This email may contain confidential information and is intended only for
> the use of the specific individual(s) to which it is addressed. If you are
> not the intended recipient of this email, you are hereby notified that any
> unauthorized use, dissemination or copying of this email or the information
> contained in it or attached to it is strictly prohibited. If you received
> this message in error, please immediately notify the sender at Infotech and
> delete the original message.
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com