I\'m trying to install OpenCV within a virtualenv on my Ubuntu Server 12.04. I found a thread discussing this but managed to extract no information from it.
Did you already apt-get build-dep python-opencv? This will install all the required dependencies to build it from source; which you need if you are trying to install it in a virtual environment.