Ken Giusti created DISPATCH-1364:
------------------------------------

             Summary: "make install" does not install qpid_dispatch[_site.py] 
files in the correct location
                 Key: DISPATCH-1364
                 URL: https://issues.apache.org/jira/browse/DISPATCH-1364
             Project: Qpid Dispatch
          Issue Type: Bug
          Components: Tools
    Affects Versions: 1.8.0
            Reporter: Ken Giusti
             Fix For: 1.9.0


Building and install qdr from source (cmake.... ; make install....) ends up 
putting qdr's python library modules in the wrong directory (not in the default 
python search path).

Specifically, these files are incorrectly installed in 
/usr/lib/python3.6/site-packages when -DCMAKE_INSTALL_PREFIX=/usr

 

The default python paths in ubuntu are:
{quote}>>> import sys
>>> sys.path
['', '/usr/lib/python36.zip', '/usr/lib/python3.6', 
'/usr/lib/python3.6/lib-dynload', '/usr/local/lib/python3.6/dist-packages', 
'/usr/lib/python3/dist-packages']
{quote}
 

For example proton puts its python files in

/usr/local/lib/python3.6/dist-packages/

when the same /usr install prefix is used.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to