Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-235

install issues with base ubuntu ami on ec2

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.0
    • Affects Version/s: 1.10
    • Component/s: None
    • None
    • Environment:
      ec2 ami-4b4ba522

      Problem:
      There are a number of problems install pymongo on the base ec2 ubuntu ami trying to run the command

      ubuntu> sudo easy_install pymongo

      Reproduce:
      Get the following message on STDERR

      unable to execute gcc: No such file or directory

      Case #2 - python-dev not installed
      Get the following message on STDERR

      bson/_cbsonmodule.c:23:20: error: Python.h: No such file or directory

      Case #3 - python-dev is installed
      Get the following message in STDERR

      bson/time64.c:279: warning: \xe2\x80\x98check_tm\xe2\x80\x99 defined but not used

      Workaround:

      • Have gcc and pyhton-dev installed
      • Ignore STDERR output

      Business Case:

      • ease of use
        Automated or manual installs of pymongo would be simpler if the dependencies were either called out in the install guide or removed from the component

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            alvin Alvin Richards (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: