Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

common.sh fails to install PyCrypto on Ubuntu 16.04 and OSX 10.11.5 #7

@jmealo

Description

@jmealo

On Ubuntu 16.04:

Sourced as: './scripts/common.sh'
Ensuring runtime folder /root/coursebuilder_resources_1_11_x/runtime
Using GAE SDK 1.9.40 from /root/coursebuilder_resources_1_11_x/runtime/google_appengine
Installing PyCrypto (This needs to be compiled so it matches
   your operating system)
Building PyCrypto

Compilation error building pycrypto-2.6.1. Please ensure a C
compiler is installed and functional on your system. On OS X, the most likely
cause of this problem is that you don't have the XCode Command Line Tools
installed. To fix this, run

  $ xcode-select --install

and follow the instructions that appear, then re-run this command.
root@vultr:/var/www/coursebuilder-core/coursebuilder#

Note: unzip is not provided by default on Ubuntu, but there isn't any robust error handling arround that.

On OSX 10.11.5:

Sourced as: './scripts/common.sh'
Ensuring runtime folder /Users/jmealo/coursebuilder_resources_1_11_x/runtime
Using GAE SDK 1.9.40 from /Users/jmealo/coursebuilder_resources_1_11_x/runtime/google_appengine
Installing PyCrypto (This needs to be compiled so it matches
   your operating system)
Building PyCrypto
Installing PyCrypto
error: must supply either home or prefix/exec-prefix -- not both

Note: The error falls through here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions