31 Jul 2012 2:00 PM #1
Build Error in Ubuntu-Linux
Everything was working great with the Sencha Command SDK Tools:
properly installed to /opt/, PATH environment correct, "sencha app create..." flies, the app works in Chrome w/o any errors.
Until, following the docs and running "sencha app build testing" generates the following error:
[ERROR] /bin/sh: 1: /opt/SenchaSDKTools-2.0.0-beta3:/opt/SenchaSDKTools-2.0.0-beta3:/home/robin/.rvm/gems/ruby-1.9.3-p194/bin:/home/robin/.rvm/gems/ruby-1.9.3-p194@global/bin:/home/robin/.rvm/rubies/ruby-1.9.3-p194/bin:/home/robin/.rvm/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/robin/.rvm/bin/bin/phantomjs: not found
That long list of directories seems to me to be Linux doing its thing and looking for the correct directory from which to run something, in this case phantomjs.
I wonder why it did not find phantomjs w/in the /opt/SenchaSDKTools directory, where I've confirmed it exists.
FWIW, I installed Ruby in Ubuntu 12.04 per these instructions:
without a hitch.
My PATH Environments from .bashrc:
PATH=$PATH:$HOME/.rvm/bin [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" export PATH=/opt/SenchaSDKTools-2.0.0-beta3:$PATH export SENCHA_SDK_TOOLS_2_0_0_BETA3=/opt/SenchaSDKTools-2.0.0-beta3:$PATH
2 Aug 2012 4:34 AM #2
6 Aug 2012 7:01 AM #3
A further test:
Plain vanilla 32-bit Ubuntu 12.04 VM created. SDKTools installed, SDK ready.
Again, "sencha app create...." works fine.
"sencha app build testing" returns following:
[INFO] Deploying your application to /home/robin/Sites/MyApp/build/testing [INFO] Copied sdk/sencha-touch.js [INFO] Copied app.js [INFO] Copied resources/css/app.css [INFO] Copied resources/images [INFO] Copied resources/icons [INFO] Copied resources/startup [INFO] Resolving your application dependencies (file:////home/robin/Sites/MyApp/index.html)
[ERROR] /bin/sh: 1: /opt/SenchaSDKTools-2.0.0-beta3: /opt/SenchaSDKTools-2.0.0-beta3: /usr/lib/lightdm/lightdm: /usr/local/sbin: /usr/local/bin: /usr/sbin: /usr/bin: /sbin: /bin: /usr/games/bin/phantomjs: not found
any similar experiences? any known workarounds, for instance to /opt/SenchaSDKTools-2.0.0-beta3/sencha, which points to:
/opt/SenchaSDKTools-2.0.0-beta3/bin/node, but not to