You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwhisk.apache.org by Zhuo Liu <zz...@tigermail.auburn.edu> on 2017/06/09 18:27:27 UTC
Can not find bin/mac/amd64/wsk
Hello all,
I am a newbie for openwhisk and was following the following doc to try the magic of openwhisk.
https://github.com/apache/incubator-openwhisk/blob/master/tools/vagrant/README.md
./hello
I was able to see the output from the ubuntu vagrant box:
wsk action invoke /whisk.system/utils/echo -p message hello --result
{
"message": "hello"
}
"./gradlew install" was successful. And ping the box works:
zliu6s-MacBook-Pro:openwhisk zliu6$ ping 192.168.33.13
PING 192.168.33.13 (192.168.33.13): 56 data bytes
64 bytes from 192.168.33.13: icmp_seq=0 ttl=64 time=0.908 ms
The problem is what I could not find the file "openwhisk/bin/mac/amd64/wsk"
And the bin/wsk seems for a different architecture thus cannot run.
Anyone has an idea? Thanks a lot.
zliu6s-MacBook-Pro:bin zliu6$ find .
.
./content.json
./linux
./linux/amd64
./linux/amd64/OpenWhisk_CLI-linux.tgz
./linux/amd64/wsk
./wsk
./wskadmin
./wskdev
zliu6s-MacBook-Pro:bin zliu6$ ./wsk
-bash: ./wsk: cannot execute binary file
zliu6s-MacBook-Pro:bin zliu6$ pwd
/Users/zliu6/git/openwhisk/bin
Best Regards,
Zhuo Liu
Re: Can not find bin/mac/amd64/wsk
Posted by Rodric Rabbah <ro...@gmail.com>.
Hi Zhuo, I posted an answer on your issue, did it help? Here it is again
for your convenience:
https://github.com/apache/incubator-openwhisk/issues/2355#issuecomment-307494361
For local development, gradle will only build one version of the CLI (so
that the build is faster). In your case, it sounds like you want to build
more than just the GNU/Linux version. You can do that by running gradle
tools:cli:distDocker -P crossCompileCLI=true or download it from here:
https://github.com/apache/incubator-openwhisk-cli/releases.
On Fri, Jun 9, 2017 at 2:27 PM, Zhuo Liu <zz...@tigermail.auburn.edu>
wrote:
> Hello all,
>
>
> I am a newbie for openwhisk and was following the following doc to try the
> magic of openwhisk.
>
> https://github.com/apache/incubator-openwhisk/blob/
> master/tools/vagrant/README.md
>
>
>
> ./hello
>
>
> I was able to see the output from the ubuntu vagrant box:
>
> wsk action invoke /whisk.system/utils/echo -p message hello --result
> {
> "message": "hello"
> }
>
> "./gradlew install" was successful. And ping the box works:
>
>
> zliu6s-MacBook-Pro:openwhisk zliu6$ ping 192.168.33.13
>
> PING 192.168.33.13 (192.168.33.13): 56 data bytes
>
> 64 bytes from 192.168.33.13: icmp_seq=0 ttl=64 time=0.908 ms
>
>
>
> The problem is what I could not find the file "openwhisk/bin/mac/amd64/wsk"
>
> And the bin/wsk seems for a different architecture thus cannot run.
>
>
> Anyone has an idea? Thanks a lot.
>
>
>
> zliu6s-MacBook-Pro:bin zliu6$ find .
>
> .
>
> ./content.json
>
> ./linux
>
> ./linux/amd64
>
> ./linux/amd64/OpenWhisk_CLI-linux.tgz
>
> ./linux/amd64/wsk
>
> ./wsk
>
> ./wskadmin
>
> ./wskdev
>
>
> zliu6s-MacBook-Pro:bin zliu6$ ./wsk
>
> -bash: ./wsk: cannot execute binary file
>
>
> zliu6s-MacBook-Pro:bin zliu6$ pwd
>
> /Users/zliu6/git/openwhisk/bin
>
> Best Regards,
> Zhuo Liu
>
>