I have a script that listens to APNS feedback service to get invalid tokens (https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/ApplePushService.html#//apple_ref/doc/uid/TP40008194-CH100-SW9)
when i ran into a ubuntu box (spun by vagrant ) i ran into this issue:-
raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
So I read online that probably i need to fix pyopenssl hence i tried
Pip install pyopenssl
raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
After that i tried easyinstall to understand more on whats going on and i got
No package 'libffi' found c/_cffi_backend.c:13:17: fatal error: ffi.h: No such file or directory #include "
You'll need to install the libffi-devel
package
"sudo apt-get install libffi-dev"
No comments:
Post a Comment