PDA

View Full Version : Installation fails in MacOS X Lion with /bun/zsh as default shell



kpy3
24 Jan 2012, 10:21 PM
Just found SDK Tools for Mac OS X Installation works with Mac OS X default shell (/bin/bash) only.

If you use other shell (/bin/zsh in my case) try this:
1. Change default shell to /bin/bash
2. Install Sencha SDK Tools
3. Change default shell back to your favorite one.

neko79
6 Feb 2012, 2:39 PM
Hey,

thanks for your post. I am running Mac OSX Snow Lion and switched from /bin/zsh/ back to /bin/bash/.
Ran SenchaSDKTools-1.2.3-osx-installer and am still getting the same odd error message:

"Unknown error running post-install step. Installation may not complete correctly"

Any ideas?

Cheers

Neko

kpy3
7 Feb 2012, 12:34 AM
Hi neko79,

did you set /bin/bash as default shell? At post-install step installer updates ~/.profile, ~/.bash_profile and ~/.bashrc. Are these files exist and writable?

tmort
25 Feb 2012, 6:32 PM
I keep getting this error after installing the Sencha Touch 2.0.0 SDK:

sh: stbuild: command not found

When running the command:

sencha package run ios.json

Any ideas what that might be?

slchorne
6 Apr 2012, 3:29 PM
Hi neko79,

did you set /bin/bash as default shell? At post-install step installer updates ~/.profile, ~/.bash_profile and ~/.bashrc. Are these files exist and writable?

you need to add the following to your path (massage accordingly)

export PATH=/Applications/SenchaSDKTools-2.0.0-Beta:$PATH
export PATH=/Applications/SenchaSDKTools-2.0.0-Beta/command:$PATH
export PATH=/Applications/SenchaSDKTools-2.0.0-Beta/jsbuilder:$PATH
export PATH=/Applications/senchaSDKTools-2.0.0-Beta/bin:$PATH

the fact that the installer *assumes* you are running /bash is unfortunate.
the exec script (/command/sencha) should do this automagically.

in fact i think I will just go and patch it now.

andrewhood125
11 Apr 2012, 11:45 AM
Confirming that the SDK tools will not install with ZSH set as default. Switched back to bash installed perfectly sencha command worked. Switched back to zsh and sencha could not be found.