when running uwsgi i get the following message:
!!! no internal routing support, rebuild with pcre support !!!
I already have installed pcre (I think) with the following command:
Sudo apt-get install libpcre3 libpcre3-dev
My question is: Why am I still getting this message even after I have installed the pcre package and if I need to reinstall uwsgi and activate pcre how do I do it?
Also, does internal routing matter? I assume it does or else the makers of uwsgi wouldn't have made the message come up. I am running Ubuntu 12.04 LTS
.
Thanks for the help!
pip install uwsgi -I
Won't recompile the uwsgi binary, it just reinstalls the python egg. You need to rebuild the uwsgi binary with the pcre libraries.
sudo apt-get install libpcre3 libpcre3-dev
I think the easiest way is just to uninstall uwsgi and then run the pip installer again.
pip uninstall uwsgi
sudo apt-get remove uwsgi
then
pip install uwsgi
you should see pip run the setup.py script and a bunch of compiler messages. The last message should show you something like this:
################# uWSGI configuration #################
pcre = True
kernel = Linux
malloc = libc
execinfo = False
ifaddrs = True
ssl = True
zlib = True
locking = pthread_mutex
plugin_dir = .
timer = timerfd
yaml = embedded
json = False
filemonitor = inotify
routing = True
debug = False
capabilities = False
xml = libxml2
event = epoll
############## end of uWSGI configuration #############
notice how pcre = true now