Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I
1,353 Views

Need help for building uwsgi with PCRE support

Jump to solution

I'm trying to use nginx+flask+uwsgi for my smart home telegram bot, but unfortunately, I can't get correct install for uwsgi. Everything is fine, except one thing - uwsgi doesn't recognize pcre libs

I have all pcre libs installed:

opkg install libpcre-dev libpcre1 libpcre-staticdev

But during pip install uwsgi, I get such screen:

# uWSGI configuration #  

 

pcre = False

I even tried to update pip and compile pcre libs, but it didn't help. After start I get such errors:

!!! no internal routing support, rebuild with pcre support !!!


Accepted Solutions
Highlighted
New Contributor I
33 Views

I've found my mistake - I tried to build pcre2, but uwsgi needed plain one. After building latest pcre with following options, uwsgi recognized it:

./configure --enable-utf --enable-unicode-properties --enable-jit

View solution in original post

0 Kudos
1 Reply
Highlighted
New Contributor I
34 Views

I've found my mistake - I tried to build pcre2, but uwsgi needed plain one. After building latest pcre with following options, uwsgi recognized it:

./configure --enable-utf --enable-unicode-properties --enable-jit

View solution in original post

0 Kudos