You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tired to install uwsgi with pip in my virtualenv.
my system enviornment is:
(ca2)Liyings-MacBook-Pro:build minddriven$ uname -a
Darwin Liyings-MacBook-Pro.local 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64
It looks like some marco is not compatible in Mac enviornment
Obtaining uwsgi from git+git://github.com/unbit/uwsgi.git@1.4.8#egg=uwsgi
Updating /Users/minddriven/.virtualenvs/ca2/src/uwsgi clone (to 1.4.8)
Running setup.py egg_info for package uwsgi
Installing collected packages: uwsgi
Running setup.py develop for uwsgi
In file included from plugins/python/python_plugin.c:1:
In file included from plugins/python/uwsgi_python.h:2:
In file included from /usr/local/bin/../Cellar/python/2.7.3/include/python2.7/Python.h:126:
/usr/local/bin/../Cellar/python/2.7.3/include/python2.7/modsupport.h:27:65: error: 'format' attribute argument not supported: PyArg_ParseTuple [-Werror]
PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...) Py_FORMAT_PARSETUPLE(PyArg_ParseTuple, 2, 3);
^
/usr/local/bin/../Cellar/python/2.7.3/include/python2.7/pyport.h:871:57: note: expanded from macro 'Py_FORMAT_PARSETUPLE'
#define Py_FORMAT_PARSETUPLE(func,p1,p2) __attribute__((format(func,p1,p2)))
^
1 error generated.
In file included from plugins/python/pyutils.c:1:
In file included from plugins/python/uwsgi_python.h:2:
In file included from /usr/local/bin/../Cellar/python/2.7.3/include/python2.7/Python.h:126:
/usr/local/bin/../Cellar/python/2.7.3/include/python2.7/modsupport.h:27:65: error: 'format' attribute argument not supported: PyArg_ParseTuple [-Werror]
PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...) Py_FORMAT_PARSETUPLE(PyArg_ParseTuple, 2, 3);
^
/usr/local/bin/../Cellar/python/2.7.3/include/python2.7/pyport.h:871:57: note: expanded from macro 'Py_FORMAT_PARSETUPLE'
#define Py_FORMAT_PARSETUPLE(func,p1,p2) __attribute__((format(func,p1,p2)))
^
1 error generated.
Complete output from command /Users/minddriven/.virtualenvs/ca2/bin/python -c "import setuptools; __file__='/Users/minddriven/.virtualenvs/ca2/src/uwsgi/setup.py'; exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" develop --no-deps:
running develop
running egg_info
writing uWSGI.egg-info/PKG-INFO
writing top-level names to uWSGI.egg-info/top_level.txt
writing dependency_links to uWSGI.egg-info/dependency_links.txt
warning: manifest_maker: standard file '-c' not found
reading manifest file 'uWSGI.egg-info/SOURCES.txt'
writing manifest file 'uWSGI.egg-info/SOURCES.txt'
running build_ext
In file included from plugins/python/python_plugin.c:1:
In file included from plugins/python/uwsgi_python.h:2:
In file included from /usr/local/bin/../Cellar/python/2.7.3/include/python2.7/Python.h:126:
/usr/local/bin/../Cellar/python/2.7.3/include/python2.7/modsupport.h:27:65: error: 'format' attribute argument not supported: PyArg_ParseTuple [-Werror]
PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...) Py_FORMAT_PARSETUPLE(PyArg_ParseTuple, 2, 3);
^
/usr/local/bin/../Cellar/python/2.7.3/include/python2.7/pyport.h:871:57: note: expanded from macro 'Py_FORMAT_PARSETUPLE'
#define Py_FORMAT_PARSETUPLE(func,p1,p2) __attribute__((format(func,p1,p2)))
^
1 error generated.
In file included from plugins/python/pyutils.c:1:
In file included from plugins/python/uwsgi_python.h:2:
In file included from /usr/local/bin/../Cellar/python/2.7.3/include/python2.7/Python.h:126:
/usr/local/bin/../Cellar/python/2.7.3/include/python2.7/modsupport.h:27:65: error: 'format' attribute argument not supported: PyArg_ParseTuple [-Werror]
PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...) Py_FORMAT_PARSETUPLE(PyArg_ParseTuple, 2, 3);
^
/usr/local/bin/../Cellar/python/2.7.3/include/python2.7/pyport.h:871:57: note: expanded from macro 'Py_FORMAT_PARSETUPLE'
#define Py_FORMAT_PARSETUPLE(func,p1,p2) __attribute__((format(func,p1,p2)))
^
1 error generated.
The text was updated successfully, but these errors were encountered:
I tired to install uwsgi with pip in my virtualenv.
my system enviornment is:
It looks like some marco is not compatible in Mac enviornment
(ca2)Liyings-MacBook-Pro:build minddriven$ pip install -e git+git://github.com/unbit/uwsgi.git@1.4.8#egg=uwsgi
The text was updated successfully, but these errors were encountered: