Inklings: a tumblelog

Installing gevent 0.11.2 under FreeBSD 8.0

I’ve a personal project–a high-concurrency server–where I think gevent might be useful. Unfortunately, the setup.py file does finicky things to build the C extension parts of it that depend on libevent. After a bit of experimenting, I ended up having to do this, which is frankly a little crazy:

# pip install gevent \
      --install-option="-I/usr/local/include" \
      --install-option="-L/usr/local/lib"

Why I should have to explicitly specify those two locations, I’m not sure–when building, it should be looking in there for the headers and shared libraries, but it’s not. Very odd.