Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1364

"make install" does not install qpid_dispatch[_site.py] files in the correct location

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.8.0
    • Fix Version/s: Backlog
    • Component/s: Tools
    • Labels:
      None

      Description

      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 a "site-packages" sub-directory:

      By default ubuntu's python does not use "site-packages" for installing 3rd party python packages - it uses "dist-packages" instead.

      The default python paths in ubuntu are:

      >>> 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']

       

      For example, proton correctly puts its python files in

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

      on ubuntu, while dispatch drops its packages into

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

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kgiusti Ken Giusti
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: