Re: Install uWSGI on cygwin

2017-09-13 Thread Avraham Serour
try using pip: 'pip install uwsgi'


On Wed, Sep 13, 2017 at 11:35 AM, Dick Pan <dickpan2...@gmail.com> wrote:

> 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.
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@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
> <https://groups.google.com/d/msgid/django-users/018f927b-66b4-4e48-b5bb-a40faac69082%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@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/CAFWa6tLQ3ka_MWu0Fm7HFuCMr72khoOUsE91LGQtfRKrOBuoRg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Install uWSGI on cygwin

2017-09-13 Thread Dick Pan
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.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@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.