public
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
$ pip install mysql-python
Downloading/unpacking mysql-python
Downloading MySQL-python-1.2.3.tar.gz (70Kb): 70Kb downloaded
Running setup.py egg_info for package mysql-python
warning: no files found matching 'MANIFEST'
warning: no files found matching 'ChangeLog'
warning: no files found matching 'GPL'
Installing collected packages: mysql-python
Running setup.py install for mysql-python
building '_mysql' extension
clang -fno-strict-aliasing -fno-common -dynamic -g -O2 -DNDEBUG -g -O3 -Dversion_info=(1,2,3,'final',0) -D__version__=1.2.3 -I/usr/local/mysql/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c _mysql.c -o build/temp.macosx-10.6-intel-2.7/_mysql.o -Os -g -fno-common -fno-strict-aliasing -arch x86_64
In file included from _mysql.c:36:
/usr/local/mysql/include/my_config.h:329:11: warning: 'SIZEOF_SIZE_T' macro redefined
#define SIZEOF_SIZE_T SIZEOF_LONG
^
/Library/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:36:
/usr/local/mysql/include/my_config.h:422:9: warning: 'HAVE_WCSCOLL' macro redefined
#define HAVE_WCSCOLL
^
/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/pyconfig.h:887:9: note: previous definition is here
#define HAVE_WCSCOLL 1
^
_mysql.c:1421:10: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if (how < 0 || how >= sizeof(row_converters)) {
~~~ ^ ~
3 warnings generated.
gcc-4.2 -bundle -undefined dynamic_lookup -g build/temp.macosx-10.6-intel-2.7/_mysql.o -L/usr/local/mysql/lib -lmysqlclient_r -lpthread -o build/lib.macosx-10.6-intel-2.7/_mysql.so -arch x86_64
unable to execute gcc-4.2: No such file or directory
error: command 'gcc-4.2' failed with exit status 1
Complete output from command /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -c "import setuptools;__file__='/Users/Bryan/build/mysql-python/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /var/folders/mw/0y88j8_54bjc93d_lg3120qw0000gp/T/pip-GK28ph-record/install-record.txt:
running install
 
running build
 
running build_py
 
creating build
 
creating build/lib.macosx-10.6-intel-2.7
 
copying _mysql_exceptions.py -> build/lib.macosx-10.6-intel-2.7
 
creating build/lib.macosx-10.6-intel-2.7/MySQLdb
 
copying MySQLdb/__init__.py -> build/lib.macosx-10.6-intel-2.7/MySQLdb
 
copying MySQLdb/converters.py -> build/lib.macosx-10.6-intel-2.7/MySQLdb
 
copying MySQLdb/connections.py -> build/lib.macosx-10.6-intel-2.7/MySQLdb
 
copying MySQLdb/cursors.py -> build/lib.macosx-10.6-intel-2.7/MySQLdb
 
copying MySQLdb/release.py -> build/lib.macosx-10.6-intel-2.7/MySQLdb
 
copying MySQLdb/times.py -> build/lib.macosx-10.6-intel-2.7/MySQLdb
 
creating build/lib.macosx-10.6-intel-2.7/MySQLdb/constants
 
copying MySQLdb/constants/__init__.py -> build/lib.macosx-10.6-intel-2.7/MySQLdb/constants
 
copying MySQLdb/constants/CR.py -> build/lib.macosx-10.6-intel-2.7/MySQLdb/constants
 
copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.macosx-10.6-intel-2.7/MySQLdb/constants
 
copying MySQLdb/constants/ER.py -> build/lib.macosx-10.6-intel-2.7/MySQLdb/constants
 
copying MySQLdb/constants/FLAG.py -> build/lib.macosx-10.6-intel-2.7/MySQLdb/constants
 
copying MySQLdb/constants/REFRESH.py -> build/lib.macosx-10.6-intel-2.7/MySQLdb/constants
 
copying MySQLdb/constants/CLIENT.py -> build/lib.macosx-10.6-intel-2.7/MySQLdb/constants
 
running build_ext
 
building '_mysql' extension
 
creating build/temp.macosx-10.6-intel-2.7
 
clang -fno-strict-aliasing -fno-common -dynamic -g -O2 -DNDEBUG -g -O3 -Dversion_info=(1,2,3,'final',0) -D__version__=1.2.3 -I/usr/local/mysql/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c _mysql.c -o build/temp.macosx-10.6-intel-2.7/_mysql.o -Os -g -fno-common -fno-strict-aliasing -arch x86_64
 
In file included from _mysql.c:36:
 
/usr/local/mysql/include/my_config.h:329:11: warning: 'SIZEOF_SIZE_T' macro redefined
 
#define SIZEOF_SIZE_T SIZEOF_LONG
 
^
 
/Library/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:36:
 
/usr/local/mysql/include/my_config.h:422:9: warning: 'HAVE_WCSCOLL' macro redefined
 
#define HAVE_WCSCOLL
 
^
 
/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/pyconfig.h:887:9: note: previous definition is here
 
#define HAVE_WCSCOLL 1
 
^
 
_mysql.c:1421:10: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
 
if (how < 0 || how >= sizeof(row_converters)) {
 
~~~ ^ ~
 
3 warnings generated.
 
gcc-4.2 -bundle -undefined dynamic_lookup -g build/temp.macosx-10.6-intel-2.7/_mysql.o -L/usr/local/mysql/lib -lmysqlclient_r -lpthread -o build/lib.macosx-10.6-intel-2.7/_mysql.so -arch x86_64
 
unable to execute gcc-4.2: No such file or directory
 
error: command 'gcc-4.2' failed with exit status 1
 
----------------------------------------
Command /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -c "import setuptools;__file__='/Users/Bryan/build/mysql-python/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /var/folders/mw/0y88j8_54bjc93d_lg3120qw0000gp/T/pip-GK28ph-record/install-record.txt failed with error code 1 in /Users/Bryan/build/mysql-python
Storing complete log in /Users/Bryan/.pip/pip.log

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.