I am trying to install omniorb in a virtualenv for python.
Doing this using the included configure script with omniorb seems rather difficult.
Does anyone know about a pip, setup.py or easy_install script for omniorb?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Out of curiosity I just tried this on Ubuntu 10.04. I don’t have a pip or setup.py solution for you, but it isn’t too hard.
I think the secret is to set the PYTHON variable to configure to point to the python executable in your virtualenv. I built omniORB and omniORBPy from source and installed them to a directory under my virtualenv (by specifying the
--prefixoption to configure).You then have to put the
site-packagesdirectory that gets created under the omniORB install directory on yourPYTHONPATH. I chose to do this by creating aomniorb.pthfile in my virtualenv’ssite-packagesfolder (more on this below).Here is the shell history of what I did. I am working out of a directory
/home/brian/coding/python/virtualenvs. You’ll have to mentally adjust paths, etc. for your environment.Now here is that
omniorb.pthfile I mentioned earlier. Change directory to the top of your virtualenv. Createomniorb.pthsuch that it looks and is located like this:Now, inside my activated virtualenv: