Skip to content

Instantly share code, notes, and snippets.

@NetguruGist
Created November 3, 2015 13:24
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 NetguruGist/874872dafec2c37c4087 to your computer and use it in GitHub Desktop.
Save NetguruGist/874872dafec2c37c4087 to your computer and use it in GitHub Desktop.
rails_django_03
[18:06:50 rind]~<ruby-1.9.3-p392>$ pip install MySQL-python
Downloading/unpacking MySQL-python
Downloading MySQL-python-1.2.4.zip (113kB): 113kB downloaded
Running setup.py egg_info for package MySQL-python
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz
Extracting in /var/folders/cj/pl96sy6109n8vv6977n6ssgc0000gn/T/tmpiL_CVA
Now working in /var/folders/cj/pl96sy6109n8vv6977n6ssgc0000gn/T/tmpiL_CVA/distribute-0.6.28
Building a Distribute egg in /private/var/folders/cj/pl96sy6109n8vv6977n6ssgc0000gn/T/pip-build-rind/MySQL-python
/private/var/folders/cj/pl96sy6109n8vv6977n6ssgc0000gn/T/pip-build-rind/MySQL-python/distribute-0.6.28-py2.7.egg
Installing collected packages: MySQL-python
Running setup.py install for MySQL-python
building '_mysql' extension
cc -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -I/usr/local/opt/sqlite/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Dversion_info=(1,2,4,'final',1) -D__version__=1.2.4 -I/usr/local/Cellar/mysql/5.5.14/include -I/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c _mysql.c -o build/temp.macosx-10.7-x86_64-2.7/_mysql.o -g
In file included from _mysql.c:44:
/usr/local/Cellar/mysql/5.5.14/include/my_config.h:330:11: warning: 'SIZEOF_SIZE_T' macro redefined
#define SIZEOF_SIZE_T SIZEOF_LONG
^
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/include/python2.7/pymacconfig.h:43:17: note: previous definition is here
# define SIZEOF_SIZE_T 8
^
In file included from _mysql.c:44:
/usr/local/Cellar/mysql/5.5.14/include/my_config.h:423:9: warning: 'HAVE_WCSCOLL' macro redefined
#define HAVE_WCSCOLL
^
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/include/python2.7/pyconfig.h:902:9: note: previous definition is here
#define HAVE_WCSCOLL 1
^
_mysql.c:1567:10: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if (how < 0 || how >= sizeof(row_converters)) {
~~~ ^ ~
3 warnings generated.
cc -bundle -undefined dynamic_lookup -L/usr/local/lib -L/usr/local/opt/sqlite/lib build/temp.macosx-10.7-x86_64-2.7/_mysql.o -L/usr/local/Cellar/mysql/5.5.14/lib -lmysqlclient_r -lpthread -lz -lssl -lcrypto -o build/lib.macosx-10.7-x86_64-2.7/_mysql.so
Successfully installed MySQL-python
Cleaning up...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment