Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9882 Discussions

Need help for building uwsgi with PCRE support

GBaim
New Contributor I
1,856 Views

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 !!!

1 Solution
GBaim
New Contributor I
536 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

1 Reply
GBaim
New Contributor I
537 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

Reply