-
Notifications
You must be signed in to change notification settings - Fork 6
Won't install on OSx #4
Comments
v8-cffi does not distribute OSx compatible binaries and it supports Linux x64, only. I'll try to compile the binaries for OSx later this week and ping you back so you can try it. |
thank you :) I’m here if you need anything... this is going to solve a server side form validation issue that we were working on. Our other option is to look into python-react Best,
|
I was able to make some progress on this. I compiled V8 and v8-cffi on OS X 10.11, everything seems to work well (after some changes to the code). The only problem... the V8 static files (.a archives) are about ~640MB (!!), I've read in the v8-users mailing list this is the expected size, may be there are ways to bring it down but my knowledge about OS X is very limited. However, the final v8-cffi lib size (after linking those 600MB of archives) is 27MB. So, I can't add those files to the repo, but I may be able to upload them to my dropbox. I'll also add some bash script to build v8 in OS X. The V8 repo size is about ~500MB so the time/bandwidth wasted should be the same, probably worst since compiling V8 takes a long time. |
Thank you Esteban! We ended up using the python-react… it runs another sever but I didn’t find it so bad because the error on that server are related just to server side rendering where as the errors from our gulp files are related to the front end. Best,
|
Great! thanks for letting me know.
Yeah, my main gripe about python-react is the extra server and the server-server communication overhead. But it should have some upsides like the debugging support. |
Ok know i'm getting the following error:
Collecting python-react-v8
Using cached python-react-v8-0.1.2.tar.gz
Complete output from command python setup.py egg_info:
_configtest.c:1:1: error: thread-local storage is not supported for the current target
__thread int some_threadlocal_variable_42;
^
1 error generated.
ld: warning: ignoring file /opt/local/lib/libffi.dylib, file was built for x86_64 which is not the architecture being linked (i386): /opt/local/lib/libffi.dylib
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/18/qhlp60bs4_x1lv3gq3dbxj280000gn/T/pip-build-0o48959j/python-react-v8/
Thank you for all the help!
Best,
Drew
The text was updated successfully, but these errors were encountered: