Install uWSGI on cygwin

587 views
Skip to first unread message

Dick Pan

unread,
Sep 13, 2017, 7:13:32 AM9/13/17
to Django users
Hi,

When I install uWSGI on cygwin by command: python2.7 uwsgiconfig.py --build

one strange problem occur, undefined reference to `uuid_generate' on cygwin.
but uuid.h exist in /usr/include/uuid/, and I checked GCC include path by command: echo | gcc -v -x c++ -E -, it's ok.

At last, I have to update core/uitls.c

change function uwsgi_uuid to following:

void uwsgi_uuid(char *buf) {  
#ifdef UWSGI_UUID
#undef UWSGI_UUID
#endif

can you help me to fix this problem in elegant methods?

thanks.

Avraham Serour

unread,
Sep 13, 2017, 9:44:49 AM9/13/17
to django-users
try using pip: 'pip install uwsgi'


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/018f927b-66b4-4e48-b5bb-a40faac69082%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages