Skip to content

Instantly share code, notes, and snippets.

@antoviaque
Created July 10, 2015 11:43
Show Gist options
  • Select an option

  • Save antoviaque/8057574ca72b82bd3971 to your computer and use it in GitHub Desktop.

Select an option

Save antoviaque/8057574ca72b82bd3971 to your computer and use it in GitHub Desktop.
edxapp@precise64:~/edx-platform$ paver devstack lms
---> pavelib.servers.devstack
---> pavelib.prereqs.install_prereqs
---> pavelib.prereqs.install_ruby_prereqs
Ruby prereqs unchanged, skipping...
---> pavelib.prereqs.install_node_prereqs
test `npm config get registry` = "http://registry.npmjs.org/" || (echo setting registry; npm config set registry http://registry.npmjs.org/)
npm install
npm WARN package.json edx@0.1.0 No repository field.
npm WARN package.json coffee-script@1.6.1 bugs['name'] should probably be bugs['url'].
npm WARN prefer global jshint@2.8.0 should be installed with -g
---> pavelib.prereqs.install_python_prereqs
pip install -q --exists-action w -r requirements/edx/pre.txt
pip install -q --exists-action w -r requirements/edx/github.txt
Could not find a tag or branch 'd89aae2a82f2b', assuming commit.
Could not find a tag or branch '88ec8a011e481918fdc9d2682d4017c835acd8be', assuming commit.
Could not find a tag or branch 'cd0b2b31997afccde519fe5b3365e61a9edb143f', assuming commit.
Could not find a tag or branch '25b99097615bda06bd7cdfe5669ed80dc2a7fed0', assuming commit.
Could not find a tag or branch '776973740bdaad83a3b029f96e415a7d1e8bec2f', assuming commit.
Could not find a tag or branch 'd53fe0e81b623f084e91776bcf6369f8b7b63879', assuming commit.
Could not find a tag or branch '42cb1bb1dc680a60c6452e8bb2b843c2a0382c90', assuming commit.
Could not find a tag or branch '95e69341cebf5a6a9fbf7c4f5439d458898bdc3b', assuming commit.
Could not find a tag or branch 'c5bfa5d361d6685d8c643838fc0055c25f8b7999', assuming commit.
Could not find a tag or branch 'd175715e0fe3367ec0f1ee429c242d603f6e8b10', assuming commit.
Could not find a tag or branch '26d1a3fb8a640fe42c0fed675430721edaed4d44', assuming commit.
Could not find a tag or branch '6b17c33a89bef0ac510926b1d7fea2748b73aadd', assuming commit.
Could not find a tag or branch '9fd05383dc434e0275c9874fd50ad14e519448bc', assuming commit.
Could not find a tag or branch '7579d052afcf474ece1239153cffe1c89935bc4f', assuming commit.
Could not find a tag or branch 'e46f9cda8a03e121a00c7e347084d142d22ebfb7', assuming commit.
Could not find a tag or branch '1254ed4d615a428591850656f39f26509b86d30a', assuming commit.
Could not find a tag or branch '97de68448e5495385ba043d3091f570a699d5b5f', assuming commit.
Could not find a tag or branch '56f048af9b6868613c14aeae760548834c495011', assuming commit.
Could not find a tag or branch 'ba00a5f2e0571e9a3f37d293a98efe4cbca850d5', assuming commit.
Could not find a tag or branch '4dfe78a2aae9559ccc979746d13a9b67f0ec311e', assuming commit.
Could not find a tag or branch '9b07e807c89ba5761827d0387177f71aa57ef056', assuming commit.
pip install -q --exists-action w -r requirements/edx/local.txt
pip install -q --exists-action w -r requirements/edx/base.txt
Could not find a tag or branch '96e1922348bfe6d99201b9512a9ed946c87b7e0b', assuming commit.
pip install -q --exists-action w -r requirements/edx/post.txt
---> pavelib.assets.update_assets
python manage.py lms --settings=devstack preprocess_assets
^C
=========================
edxapp@precise64:~/edx-platform$ pip install dm.xmlsec.binding
Downloading/unpacking dm.xmlsec.binding
Downloading dm.xmlsec.binding-1.3.2.tar.gz (119kB): 119kB downloaded
Running setup.py (path:/edx/app/edxapp/venvs/edxapp/build/dm.xmlsec.binding/setup.py) egg_info for package dm.xmlsec.binding
Error: cannot get XMLSec1 pre-processor and compiler flags; do you have the `libxmlsec1` development package installed?
Complete output from command python setup.py egg_info:
Error: cannot get XMLSec1 pre-processor and compiler flags; do you have the `libxmlsec1` development package installed?
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /edx/app/edxapp/venvs/edxapp/build/dm.xmlsec.binding
Storing debug log for failure in /edx/app/edxapp/.pip/pip.log
edxapp@precise64:~/edx-platform$ exit
vagrant@precise64:~$ sudo apt-get install libxmlsec1-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libnspr4-dev libnss3-dev libxmlsec1 libxmlsec1-gnutls libxmlsec1-nss libxmlsec1-openssl
The following NEW packages will be installed:
libnspr4-dev libnss3-dev libxmlsec1 libxmlsec1-dev libxmlsec1-gnutls libxmlsec1-nss libxmlsec1-openssl
0 upgraded, 7 newly installed, 0 to remove and 163 not upgraded.
Need to get 1,805 kB of archives.
After this operation, 8,742 kB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libnspr4-dev amd64 4.10.7-0ubuntu0.12.04.1 [280 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libnss3-dev amd64 3.17.4-0ubuntu0.12.04.1 [331 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise/universe libxmlsec1 amd64 1.2.14-1.2build1 [143 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ precise/universe libxmlsec1-openssl amd64 1.2.14-1.2build1 [78.9 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ precise/universe libxmlsec1-gnutls amd64 1.2.14-1.2build1 [22.2 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ precise/universe libxmlsec1-nss amd64 1.2.14-1.2build1 [71.7 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu/ precise/universe libxmlsec1-dev amd64 1.2.14-1.2build1 [878 kB]
Fetched 1,805 kB in 7s (242 kB/s)
Selecting previously unselected package libnspr4-dev.
(Reading database ... 102519 files and directories currently installed.)
Unpacking libnspr4-dev (from .../libnspr4-dev_4.10.7-0ubuntu0.12.04.1_amd64.deb) ...
Selecting previously unselected package libnss3-dev.
Unpacking libnss3-dev (from .../libnss3-dev_3.17.4-0ubuntu0.12.04.1_amd64.deb) ...
Selecting previously unselected package libxmlsec1.
Unpacking libxmlsec1 (from .../libxmlsec1_1.2.14-1.2build1_amd64.deb) ...
Selecting previously unselected package libxmlsec1-openssl.
Unpacking libxmlsec1-openssl (from .../libxmlsec1-openssl_1.2.14-1.2build1_amd64.deb) ...
Selecting previously unselected package libxmlsec1-gnutls.
Unpacking libxmlsec1-gnutls (from .../libxmlsec1-gnutls_1.2.14-1.2build1_amd64.deb) ...
Selecting previously unselected package libxmlsec1-nss.
Unpacking libxmlsec1-nss (from .../libxmlsec1-nss_1.2.14-1.2build1_amd64.deb) ...
Selecting previously unselected package libxmlsec1-dev.
Unpacking libxmlsec1-dev (from .../libxmlsec1-dev_1.2.14-1.2build1_amd64.deb) ...
Processing triggers for man-db ...
Setting up libnspr4-dev (4.10.7-0ubuntu0.12.04.1) ...
Setting up libnss3-dev (3.17.4-0ubuntu0.12.04.1) ...
Setting up libxmlsec1 (1.2.14-1.2build1) ...
Setting up libxmlsec1-openssl (1.2.14-1.2build1) ...
Setting up libxmlsec1-gnutls (1.2.14-1.2build1) ...
Setting up libxmlsec1-nss (1.2.14-1.2build1) ...
Setting up libxmlsec1-dev (1.2.14-1.2build1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
vagrant@precise64:~$ sudo su edxapp
edxapp@precise64:~/edx-platform$ pip install dm.xmlsec.binding
Downloading/unpacking dm.xmlsec.binding
Downloading dm.xmlsec.binding-1.3.2.tar.gz (119kB): 119kB downloaded
Running setup.py (path:/edx/app/edxapp/venvs/edxapp/build/dm.xmlsec.binding/setup.py) egg_info for package dm.xmlsec.binding
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'test_requires'
warnings.warn(msg)
Requirement already satisfied (use --upgrade to upgrade): setuptools in /edx/app/edxapp/venvs/edxapp/lib/python2.7/site-packages (from dm.xmlsec.binding)
Requirement already satisfied (use --upgrade to upgrade): lxml>=3.0 in /edx/app/edxapp/venvs/edxapp/lib/python2.7/site-packages (from dm.xmlsec.binding)
Installing collected packages: dm.xmlsec.binding
Running setup.py install for dm.xmlsec.binding
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'test_requires'
warnings.warn(msg)
building 'dm.xmlsec.binding._xmlsec' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_SIZE_T=1 -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_OPENSSL_098=1 -DXMLSEC_CRYPTO_OPENSSL=1 -DXMLSEC_CRYPTO=openssl -I/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/lxml -I/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/lxml/includes -Isrc -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/include/python2.7 -c src/_xmlsec.c -o build/temp.linux-x86_64-2.7/src/_xmlsec.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/_xmlsec.o -L/usr/lib/x86_64-linux-gnu -lxml2 -lxmlsec1-openssl -lxmlsec1 -lxslt -lssl -lcrypto -o build/lib.linux-x86_64-2.7/dm/xmlsec/binding/_xmlsec.so
Skipping installation of /edx/app/edxapp/venvs/edxapp/lib/python2.7/site-packages/dm/__init__.py (namespace package)
Skipping installation of /edx/app/edxapp/venvs/edxapp/lib/python2.7/site-packages/dm/xmlsec/__init__.py (namespace package)
Installing /edx/app/edxapp/venvs/edxapp/lib/python2.7/site-packages/dm.xmlsec.binding-1.3.2-py2.7-nspkg.pth
Successfully installed dm.xmlsec.binding
Cleaning up...
edxapp@precise64:~/edx-platform$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment