install yowsup on synology DS215j
Hi,
I've been experementing with yowsup and I think it's really cool, so thumbs up for you guys!
Now I want to run it from my NAS since it can handle python and it's always up. Only think is I got some problems installing it on there and I was wonderinng if someone could give me some advice.
The main problem is that, in the setup script, it fails to setup Pillow. This because of the fact that ccache isn't available. I've tried to install it but compiling it fails due to, since the DS215j uses the Marvell Armada 375 chip, gcc doesn't compile on that platform.
Is there a way to get yowsup working by cross compiling or something? Or does it work without using pillow since I don't want to send images anyway?
Hope someone can help, thanks in advance!
gr
N
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
you can download the repo, change setup.py to remove pillow from dependencies at line 7, the install using python setup.py install
Yeah tried that, but then I discovered I get the same error for python-axolotl-curve25519-0.1
maybe if I cross compile all that on a linux distro and put in all the files manually, would that work?
I guess if compiled on same arch then might work. You can however omit also 'python-axolotl' from dependencies in setup.py and then just don't use axolotl layer nor '--moxie' switch in yowsup cli
ok interesting! Don't you need it to communicate with whatsapp? What is it exactly used for?
it activates end to end encryption. It's not yet available in whatsapp on all platforms which allows us to disable it in yowsup for now.
Aha but this can give problems in the future?
Thanks a lot for your help man, really appriciate it!
For sure when whatsapp makes e2e encryption mandatory on all platforms it would be problem. I have no idea when this would happen though.
Hmm we'll see then, not a problem to worry about right now. Hopefully a compiler will be available when that time comes!
I'll continue experimenting, again, thanks for the help!
One more question.
I get errors on axolotl when using yowsup-cli demos --yowsup --login and also in the sample code. I guess it has to do with the YowAuthenticationProtocolLayer. How can I configure not to use axolotl?
thx
I've just updated the demos in commit 4dbb47069115500af996b68cdd9899615cb1d719 to not crash when no axolotl is installed. So try using yowsup's develop branch now.
Thx!