I tried to run pysnip on my arm board.
Server ran pretty well... but it took too many resources so I thought 'If I can run pysnip with pypy, I can save some resources!'
And then, I setup pypy with aptitude, and install other packages and modules.
After, I happily clone pysnip repo on bitbucket and rum 'build.sh' (Of course I edit python to pypy) It show me some errors but I didn't mind.
But when I run run.py with pypy... it spelt some errors and just closed
Anyone can help me?
Problem with running server on arm board
-
dotting103
Deuce - Posts: 9
- Joined: Mon Sep 09, 2013 6:52 am
-
LeCom
It's a pretty simple python error. The pyspades.bytes file is missing. Your log of the normal python compilation shows errors related to bytes.cpp, so this file couldn't be compiled into a python file, and used by python for compiling pyspades. I can't test this but I think it can be solved by either replacing _PyFloat_Unpack4((const unsigned char*)data) in the according spot with _PyFloat_Unpack4((unsigned char*)data) and removing any const attributes from variables in that function, or using the
-fpermissive flag (very dangerous and can make the compiled program crash though).
Also, running a server on an ARM CPU (which are designed for mobile devices AFAIK and are slower because of that) and then having trouble with performance sounds a bit dumb to me. But, it's your thing.
-fpermissive flag (very dangerous and can make the compiled program crash though).
Also, running a server on an ARM CPU (which are designed for mobile devices AFAIK and are slower because of that) and then having trouble with performance sounds a bit dumb to me. But, it's your thing.
Who is online
Users browsing this forum: No registered users and 3 guests