You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by Peter Spierenburg <pe...@nautel.com> on 2017/09/08 13:41:45 UTC

Installed FlexJS using npm, but none of the binaries are executable?

After finally getting FlexJS to install on my ubuntu 16.04 system, I added FDT, and tried to follow the steps at:

https://nextgenactionscript.com/tutorials/fdt-ide-apache-flexjs-setup/
How to create a project in FDT to transpile ActionScript ...<https://nextgenactionscript.com/tutorials/fdt-ide-apache-flexjs-setup/>
nextgenactionscript.com
FDT has been a powerful development environment available to ActionScript developers for many years. Recently, FDT added support for Apache FlexJS, with a project ...


When I tried to compile my application:

Starting Launcher HelloFDT-debug.

Using: Apache FlexJS Compiler
Adapter: Apache FlexJS 0.5 Compiler Adapter
Starting Full Build of HelloFDT-debug.
Compiler arguments:
  -output /home/user/workspace/HelloFDT
  +flexlib=
    /usr/local/lib/node_modules/flexjs/frameworks
  -debug=false
  -source-path+=
    /home/user/workspace/HelloFDT/src
  -library-path+=
    /usr/local/lib/node_modules/flexjs/frameworks/libs/player/25.0/playerglobal.swc
  -library-path+=
    /usr/local/lib/node_modules/flexjs/js/libs/js.swc
  -external-library-path+=
    /usr/local/lib/node_modules/flexjs/frameworks/libs/player/25.0/playerglobal.swc
  -external-library-path+=
    /usr/local/lib/node_modules/flexjs/js/libs/js.swc
  -js-output-type=jsc
  -target-player=25.0
  -static-link-runtime-shared-libraries=
    false
  -define=CONFIG::AUTHOR,"user"
  -define=CONFIG::DEBUG,false
  --
    /home/user/workspace/HelloFDT/src/HelloFDT.as

Pure build time: 0 ms.
Could not create file /home/user/workspace/HelloFDT.
Build failed.

Doing a cursory examination, it turns out that the binaries installed by npm:


/usr/local/lib/node_modules/flexjs/bin$ ls -la
total 428
drwxr-xr-x  2 nobody root   4096 Sep  8 12:59 .
drwxr-xr-x 23 nobody root   4096 Sep  8 12:59 ..
-rw-r--r--  1 nobody root   1217 Sep  8 12:59 acompc
-rw-r--r--  1 nobody root   1058 Sep  8 12:59 acompc.bat
-rw-r--r--  1 nobody root 366152 Sep  8 12:58 adl.exe
-rw-r--r--  1 nobody root     38 Sep  8 12:58 adt.bat
-rw-r--r--  1 nobody root   1220 Sep  8 12:59 amxmlc
-rw-r--r--  1 nobody root   1061 Sep  8 12:59 amxmlc.bat
-rw-r--r--  1 nobody root   2134 Sep  8 12:59 compc
-rw-r--r--  1 nobody root   1339 Sep  8 12:59 compc.bat
-rw-r--r--  1 nobody root   2134 Sep  8 12:59 mxmlc
-rw-r--r--  1 nobody root   1340 Sep  8 12:59 mxmlc.bat
-rw-r--r--  1 nobody root   1938 Sep  8 12:59 optimizer
-rw-r--r--  1 nobody root   1128 Sep  8 12:59 optimizer.bat
-rw-r--r--  1 nobody root   2105 Sep  8 12:59 swcdepends
-rw-r--r--  1 nobody root   1358 Sep  8 12:59 swcdepends.bat
-rw-r--r--  1 nobody root   1891 Sep  8 12:59 swfdump
-rw-r--r--  1 nobody root   1098 Sep  8 12:59 swfdump.bat

are not executable...

This communication, including any attached documentation, is intended only for the person or entity to which it is addressed, and may contain confidential, personal, and/or privileged information. Any unauthorized disclosure, copying, or taking action on the contents is strictly prohibited. If you have received this message in error, please contact us immediately so we may correct our records. Please then delete or destroy the original transmission and any subsequent reply. Thank you.

Re: Installed FlexJS using npm, but none of the binaries are executable?

Posted by Piotr Zarzycki <pi...@gmail.com>.
Hi Peter,

It is possible that we may have to ping FDT Team to make some updates in
case of that IDE for the compiler. There has been lot's of changes in
framework since I contact them. If you are using Ubuntu only I would
recommend try it out VSCode [1] with Josh extensions where you find support
for FlexJS.

[1] https://nextgenactionscript.com/

Thanks,
Piotr


2017-09-08 15:41 GMT+02:00 Peter Spierenburg <pe...@nautel.com>:

> After finally getting FlexJS to install on my ubuntu 16.04 system, I added
> FDT, and tried to follow the steps at:
>
> https://nextgenactionscript.com/tutorials/fdt-ide-apache-flexjs-setup/
> How to create a project in FDT to transpile ActionScript ...<https://
> nextgenactionscript.com/tutorials/fdt-ide-apache-flexjs-setup/>
> nextgenactionscript.com
> FDT has been a powerful development environment available to ActionScript
> developers for many years. Recently, FDT added support for Apache FlexJS,
> with a project ...
>
>
> When I tried to compile my application:
>
> Starting Launcher HelloFDT-debug.
>
> Using: Apache FlexJS Compiler
> Adapter: Apache FlexJS 0.5 Compiler Adapter
> Starting Full Build of HelloFDT-debug.
> Compiler arguments:
>   -output /home/user/workspace/HelloFDT
>   +flexlib=
>     /usr/local/lib/node_modules/flexjs/frameworks
>   -debug=false
>   -source-path+=
>     /home/user/workspace/HelloFDT/src
>   -library-path+=
>     /usr/local/lib/node_modules/flexjs/frameworks/libs/player/
> 25.0/playerglobal.swc
>   -library-path+=
>     /usr/local/lib/node_modules/flexjs/js/libs/js.swc
>   -external-library-path+=
>     /usr/local/lib/node_modules/flexjs/frameworks/libs/player/
> 25.0/playerglobal.swc
>   -external-library-path+=
>     /usr/local/lib/node_modules/flexjs/js/libs/js.swc
>   -js-output-type=jsc
>   -target-player=25.0
>   -static-link-runtime-shared-libraries=
>     false
>   -define=CONFIG::AUTHOR,"user"
>   -define=CONFIG::DEBUG,false
>   --
>     /home/user/workspace/HelloFDT/src/HelloFDT.as
>
> Pure build time: 0 ms.
> Could not create file /home/user/workspace/HelloFDT.
> Build failed.
>
> Doing a cursory examination, it turns out that the binaries installed by
> npm:
>
>
> /usr/local/lib/node_modules/flexjs/bin$ ls -la
> total 428
> drwxr-xr-x  2 nobody root   4096 Sep  8 12:59 .
> drwxr-xr-x 23 nobody root   4096 Sep  8 12:59 ..
> -rw-r--r--  1 nobody root   1217 Sep  8 12:59 acompc
> -rw-r--r--  1 nobody root   1058 Sep  8 12:59 acompc.bat
> -rw-r--r--  1 nobody root 366152 Sep  8 12:58 adl.exe
> -rw-r--r--  1 nobody root     38 Sep  8 12:58 adt.bat
> -rw-r--r--  1 nobody root   1220 Sep  8 12:59 amxmlc
> -rw-r--r--  1 nobody root   1061 Sep  8 12:59 amxmlc.bat
> -rw-r--r--  1 nobody root   2134 Sep  8 12:59 compc
> -rw-r--r--  1 nobody root   1339 Sep  8 12:59 compc.bat
> -rw-r--r--  1 nobody root   2134 Sep  8 12:59 mxmlc
> -rw-r--r--  1 nobody root   1340 Sep  8 12:59 mxmlc.bat
> -rw-r--r--  1 nobody root   1938 Sep  8 12:59 optimizer
> -rw-r--r--  1 nobody root   1128 Sep  8 12:59 optimizer.bat
> -rw-r--r--  1 nobody root   2105 Sep  8 12:59 swcdepends
> -rw-r--r--  1 nobody root   1358 Sep  8 12:59 swcdepends.bat
> -rw-r--r--  1 nobody root   1891 Sep  8 12:59 swfdump
> -rw-r--r--  1 nobody root   1098 Sep  8 12:59 swfdump.bat
>
> are not executable...
>
> This communication, including any attached documentation, is intended only
> for the person or entity to which it is addressed, and may contain
> confidential, personal, and/or privileged information. Any unauthorized
> disclosure, copying, or taking action on the contents is strictly
> prohibited. If you have received this message in error, please contact us
> immediately so we may correct our records. Please then delete or destroy
> the original transmission and any subsequent reply. Thank you.
>



-- 

Piotr Zarzycki

mobile: +48 880 859 557
skype: zarzycki10

LinkedIn: http://www.linkedin.com/piotrzarzycki
<https://pl.linkedin.com/in/piotr-zarzycki-92a53552>