Skip to content

Instantly share code, notes, and snippets.

Created May 21, 2014 13:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/18db61ebe00729f66a53 to your computer and use it in GitHub Desktop.
Save anonymous/18db61ebe00729f66a53 to your computer and use it in GitHub Desktop.
Error.log on running the "install.sh single" on digitalocean
New python executable in env/bin/python2.7
Also creating executable in env/bin/python
Installing setuptools, pip...done.
Error: Obtaining file:///root/frappe-bench/apps/frappe
Running setup.py (path:/root/frappe-bench/apps/frappe/setup.py) egg_info for package from file:///root/frappe-bench/apps/frappe
warning: no files found matching '*.json'
warning: no previously-included files matching '*.pyc' found under directory '*'
Downloading/unpacking chardet (from frappe==4.0.0)
Downloading/unpacking cssmin (from frappe==4.0.0)
Downloading cssmin-0.2.0.tar.gz
Running setup.py (path:/root/frappe-bench/env/build/cssmin/setup.py) egg_info for package cssmin
warning: no previously-included files matching '.DS_Store' found anywhere in distribution
Downloading/unpacking dropbox (from frappe==4.0.0)
Running setup.py (path:/root/frappe-bench/env/build/dropbox/setup.py) egg_info for package dropbox
Downloading/unpacking gunicorn (from frappe==4.0.0)
Running setup.py (path:/root/frappe-bench/env/build/gunicorn/setup.py) egg_info for package gunicorn
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*.pyo' found under directory 'docs'
warning: no previously-included files matching '*.pyc' found under directory 'tests'
warning: no previously-included files matching '*.pyo' found under directory 'tests'
warning: no previously-included files matching '*.pyc' found under directory 'examples'
warning: no previously-included files matching '*.pyo' found under directory 'examples'
Downloading/unpacking httplib2 (from frappe==4.0.0)
Running setup.py (path:/root/frappe-bench/env/build/httplib2/setup.py) egg_info for package httplib2
Downloading/unpacking jinja2 (from frappe==4.0.0)
Running setup.py (path:/root/frappe-bench/env/build/jinja2/setup.py) egg_info for package jinja2
warning: no files found matching '*' under directory 'custom_fixers'
warning: no previously-included files matching '*' found under directory 'docs/_build'
warning: no previously-included files matching '*.pyc' found under directory 'jinja2'
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*.pyo' found under directory 'jinja2'
warning: no previously-included files matching '*.pyo' found under directory 'docs'
Downloading/unpacking markdown2 (from frappe==4.0.0)
Running setup.py (path:/root/frappe-bench/env/build/markdown2/setup.py) egg_info for package markdown2
Downloading/unpacking markupsafe (from frappe==4.0.0)
Downloading MarkupSafe-0.23.tar.gz
Running setup.py (path:/root/frappe-bench/env/build/markupsafe/setup.py) egg_info for package markupsafe
Downloading/unpacking mysql-python (from frappe==4.0.0)
Running setup.py (path:/root/frappe-bench/env/build/mysql-python/setup.py) egg_info for package mysql-python
Downloading/unpacking pygeoip (from frappe==4.0.0)
Downloading pygeoip-0.3.1-py2.py3-none-any.whl
Downloading/unpacking python-dateutil (from frappe==4.0.0)
Running setup.py (path:/root/frappe-bench/env/build/python-dateutil/setup.py) egg_info for package python-dateutil
Downloading/unpacking python-memcached (from frappe==4.0.0)
Downloading python-memcached-1.53.tar.gz
Running setup.py (path:/root/frappe-bench/env/build/python-memcached/setup.py) egg_info for package python-memcached
warning: no files found matching '*.rst'
warning: no files found matching '*.txt'
warning: no files found matching 'MakeFile'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '.gitignore' found anywhere in distribution
warning: no previously-included files matching '.DS_Store' found anywhere in distribution
Downloading/unpacking pytz==2013d (from frappe==4.0.0)
Running setup.py (path:/root/frappe-bench/env/build/pytz/setup.py) egg_info for package pytz
warning: no files found matching '*.pot' under directory 'pytz'
warning: no previously-included files found matching 'test_zdump.py'
Downloading/unpacking six (from frappe==4.0.0)
Downloading six-1.6.1-py2.py3-none-any.whl
Downloading/unpacking slugify (from frappe==4.0.0)
Downloading slugify-0.0.1.tar.gz
Running setup.py (path:/root/frappe-bench/env/build/slugify/setup.py) egg_info for package slugify
Downloading/unpacking termcolor (from frappe==4.0.0)
Downloading termcolor-1.1.0.tar.gz
Running setup.py (path:/root/frappe-bench/env/build/termcolor/setup.py) egg_info for package termcolor
Downloading/unpacking werkzeug (from frappe==4.0.0)
Running setup.py (path:/root/frappe-bench/env/build/werkzeug/setup.py) egg_info for package werkzeug
warning: no files found matching '*' under directory 'werkzeug/debug/templates'
warning: no files found matching '*' under directory 'tests'
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*.pyo' found under directory 'docs'
warning: no previously-included files matching '*.pyc' found under directory 'tests'
warning: no previously-included files matching '*.pyo' found under directory 'tests'
warning: no previously-included files matching '*.pyc' found under directory 'examples'
warning: no previously-included files matching '*.pyo' found under directory 'examples'
no previously-included directories found matching 'docs/_build'
Downloading/unpacking semantic-version (from frappe==4.0.0)
Downloading semantic_version-2.3.0.tar.gz
Running setup.py (path:/root/frappe-bench/env/build/semantic-version/setup.py) egg_info for package semantic-version
no previously-included directories found matching 'docs/_build'
Downloading/unpacking lxml (from frappe==4.0.0)
Running setup.py (path:/root/frappe-bench/env/build/lxml/setup.py) egg_info for package lxml
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'bugtrack_url'
warnings.warn(msg)
Building lxml version 3.3.5.
Building without Cython.
Using build configuration of libxslt 1.1.28
warning: no previously-included files found matching '*.py'
Downloading/unpacking inlinestyler (from frappe==4.0.0)
Downloading inlinestyler-0.1.7.tar.gz
Running setup.py (path:/root/frappe-bench/env/build/inlinestyler/setup.py) egg_info for package inlinestyler
Downloading/unpacking rauth>=0.6.2 (from frappe==4.0.0)
Downloading rauth-0.7.0.tar.gz
Running setup.py (path:/root/frappe-bench/env/build/rauth/setup.py) egg_info for package rauth
Downloading/unpacking requests==1.2.3 (from frappe==4.0.0)
Running setup.py (path:/root/frappe-bench/env/build/requests/setup.py) egg_info for package requests
Downloading/unpacking celery (from frappe==4.0.0)
Downloading/unpacking redis (from frappe==4.0.0)
Running setup.py (path:/root/frappe-bench/env/build/redis/setup.py) egg_info for package redis
warning: no previously-included files found matching '__pycache__'
warning: no previously-included files matching '*.pyc' found under directory 'tests'
Downloading/unpacking selenium (from frappe==4.0.0)
Running setup.py (path:/root/frappe-bench/env/build/selenium/setup.py) egg_info for package selenium
Downloading/unpacking urllib3 (from dropbox->frappe==4.0.0)
Running setup.py (path:/root/frappe-bench/env/build/urllib3/setup.py) egg_info for package urllib3
Downloading/unpacking cssutils (from inlinestyler->frappe==4.0.0)
Running setup.py (path:/root/frappe-bench/env/build/cssutils/setup.py) egg_info for package cssutils
Downloading/unpacking kombu>=3.0.15,<4.0 (from celery->frappe==4.0.0)
Downloading/unpacking billiard>=3.3.0.17,<3.4 (from celery->frappe==4.0.0)
Running setup.py (path:/root/frappe-bench/env/build/billiard/setup.py) egg_info for package billiard
warning: no files found matching '*.py' under directory 'Lib'
Downloading/unpacking amqp>=1.4.5,<2.0 (from kombu>=3.0.15,<4.0->celery->frappe==4.0.0)
Downloading/unpacking anyjson>=0.3.3 (from kombu>=3.0.15,<4.0->celery->frappe==4.0.0)
Downloading anyjson-0.3.3.tar.gz
Running setup.py (path:/root/frappe-bench/env/build/anyjson/setup.py) egg_info for package anyjson
Installing collected packages: chardet, cssmin, dropbox, gunicorn, httplib2, jinja2, markdown2, markupsafe, mysql-python, pygeoip, python-dateutil, python-memcached, pytz, six, slugify, termcolor, werkzeug, semantic-version, lxml, inlinestyler, rauth, requests, celery, redis, selenium, frappe, urllib3, cssutils, kombu, billiard, amqp, anyjson
Running setup.py install for cssmin
warning: no previously-included files matching '.DS_Store' found anywhere in distribution
Installing cssmin script to /root/frappe-bench/env/bin
Running setup.py install for dropbox
Running setup.py install for gunicorn
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*.pyo' found under directory 'docs'
warning: no previously-included files matching '*.pyc' found under directory 'tests'
warning: no previously-included files matching '*.pyo' found under directory 'tests'
warning: no previously-included files matching '*.pyc' found under directory 'examples'
warning: no previously-included files matching '*.pyo' found under directory 'examples'
Installing gunicorn_paster script to /root/frappe-bench/env/bin
Installing gunicorn script to /root/frappe-bench/env/bin
Installing gunicorn_django script to /root/frappe-bench/env/bin
Running setup.py install for httplib2
Running setup.py install for jinja2
warning: no files found matching '*' under directory 'custom_fixers'
warning: no previously-included files matching '*' found under directory 'docs/_build'
warning: no previously-included files matching '*.pyc' found under directory 'jinja2'
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*.pyo' found under directory 'jinja2'
warning: no previously-included files matching '*.pyo' found under directory 'docs'
Running setup.py install for markdown2
changing mode of build/scripts-2.7/markdown2 from 644 to 755
changing mode of /root/frappe-bench/env/bin/markdown2 to 755
Running setup.py install for markupsafe
building 'markupsafe._speedups' extension
i686-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c markupsafe/_speedups.c -o build/temp.linux-i686-2.7/markupsafe/_speedups.o
i686-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-i686-2.7/markupsafe/_speedups.o -o build/lib.linux-i686-2.7/markupsafe/_speedups.so
Running setup.py install for mysql-python
building '_mysql' extension
i686-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Dversion_info=(1,2,5,'final',1) -D__version__=1.2.5 -I/usr/include/mysql -I/usr/include/python2.7 -c _mysql.c -o build/temp.linux-i686-2.7/_mysql.o -fno-omit-frame-pointer -g -pipe -Wno-uninitialized -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1
In file included from _mysql.c:44:0:
/usr/include/mysql/my_config.h:439:0: warning: "HAVE_WCSCOLL" redefined [enabled by default]
#define HAVE_WCSCOLL
^
In file included from /usr/include/python2.7/pyconfig.h:7:0,
from /usr/include/python2.7/Python.h:8,
from _mysql.c:29:
/usr/include/i386-linux-gnu/python2.7/pyconfig.h:911:0: note: this is the location of the previous definition
#define HAVE_WCSCOLL 1
^
i686-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-i686-2.7/_mysql.o -lmysqlclient_r -lpthread -lz -lm -lssl -lcrypto -ldl -o build/lib.linux-i686-2.7/_mysql.so
/usr/bin/ld: cannot find -lssl
/usr/bin/ld: cannot find -lcrypto
collect2: error: ld returned 1 exit status
error: command 'i686-linux-gnu-gcc' failed with exit status 1
Complete output from command /root/frappe-bench/env/bin/python2.7 -c "import setuptools, tokenize;__file__=u'/root/frappe-bench/env/build/mysql-python/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-uTvuvT-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/frappe-bench/env/include/site/python2.7:
running install
running build
running build_py
creating build
creating build/lib.linux-i686-2.7
copying _mysql_exceptions.py -> build/lib.linux-i686-2.7
creating build/lib.linux-i686-2.7/MySQLdb
copying MySQLdb/__init__.py -> build/lib.linux-i686-2.7/MySQLdb
copying MySQLdb/converters.py -> build/lib.linux-i686-2.7/MySQLdb
copying MySQLdb/connections.py -> build/lib.linux-i686-2.7/MySQLdb
copying MySQLdb/cursors.py -> build/lib.linux-i686-2.7/MySQLdb
copying MySQLdb/release.py -> build/lib.linux-i686-2.7/MySQLdb
copying MySQLdb/times.py -> build/lib.linux-i686-2.7/MySQLdb
creating build/lib.linux-i686-2.7/MySQLdb/constants
copying MySQLdb/constants/__init__.py -> build/lib.linux-i686-2.7/MySQLdb/constants
copying MySQLdb/constants/CR.py -> build/lib.linux-i686-2.7/MySQLdb/constants
copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.linux-i686-2.7/MySQLdb/constants
copying MySQLdb/constants/ER.py -> build/lib.linux-i686-2.7/MySQLdb/constants
copying MySQLdb/constants/FLAG.py -> build/lib.linux-i686-2.7/MySQLdb/constants
copying MySQLdb/constants/REFRESH.py -> build/lib.linux-i686-2.7/MySQLdb/constants
copying MySQLdb/constants/CLIENT.py -> build/lib.linux-i686-2.7/MySQLdb/constants
running build_ext
building '_mysql' extension
creating build/temp.linux-i686-2.7
i686-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Dversion_info=(1,2,5,'final',1) -D__version__=1.2.5 -I/usr/include/mysql -I/usr/include/python2.7 -c _mysql.c -o build/temp.linux-i686-2.7/_mysql.o -fno-omit-frame-pointer -g -pipe -Wno-uninitialized -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1
In file included from _mysql.c:44:0:
/usr/include/mysql/my_config.h:439:0: warning: "HAVE_WCSCOLL" redefined [enabled by default]
#define HAVE_WCSCOLL
^
In file included from /usr/include/python2.7/pyconfig.h:7:0,
from /usr/include/python2.7/Python.h:8,
from _mysql.c:29:
/usr/include/i386-linux-gnu/python2.7/pyconfig.h:911:0: note: this is the location of the previous definition
#define HAVE_WCSCOLL 1
^
i686-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-i686-2.7/_mysql.o -lmysqlclient_r -lpthread -lz -lm -lssl -lcrypto -ldl -o build/lib.linux-i686-2.7/_mysql.so
/usr/bin/ld: cannot find -lssl
/usr/bin/ld: cannot find -lcrypto
collect2: error: ld returned 1 exit status
error: command 'i686-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Cleaning up...
Command /root/frappe-bench/env/bin/python2.7 -c "import setuptools, tokenize;__file__=u'/root/frappe-bench/env/build/mysql-python/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-uTvuvT-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/frappe-bench/env/include/site/python2.7 failed with error code 1 in /root/frappe-bench/env/build/mysql-python
Storing debug log for failure in /root/.pip/pip.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment