Skip to content

Instantly share code, notes, and snippets.

@jpadilla
Created April 21, 2011 20:02
Show Gist options
  • Save jpadilla/935345 to your computer and use it in GitHub Desktop.
Save jpadilla/935345 to your computer and use it in GitHub Desktop.
(barrandiando)orion:barrandiando jpadilla$ pip install mysql-python
Downloading/unpacking mysql-python
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
gcc-4.2 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -I/Users/jpadilla/Developer/include -I/Users/jpadilla/Developer/include -arch i386 -arch ppc -arch x86_64 -pipe -Dversion_info=(1,2,3,'final',0) -D__version__=1.2.3 -I/Users/jpadilla/Developer/Cellar/mysql/5.1.49/include/mysql -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c _mysql.c -o build/temp.macosx-10.6-universal-2.6/_mysql.o -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL
In file included from _mysql.c:36:
/Users/jpadilla/Developer/Cellar/mysql/5.1.49/include/mysql/my_config.h:1065:1: warning: "HAVE_WCSCOLL" redefined
In file included from /System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:8,
from pymemcompat.h:10,
from _mysql.c:29:
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyconfig.h:803:1: warning: this is the location of the previous definition
In file included from _mysql.c:36:
/Users/jpadilla/Developer/Cellar/mysql/5.1.49/include/mysql/my_config.h:1183:1: warning: "SIZEOF_LONG" redefined
In file included from /System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:9,
from pymemcompat.h:10,
from _mysql.c:29:
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pymacconfig.h:37:1: warning: this is the location of the previous definition
In file included from _mysql.c:36:
/Users/jpadilla/Developer/Cellar/mysql/5.1.49/include/mysql/my_config.h:1192:1: warning: "SIZEOF_PTHREAD_T" redefined
In file included from /System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:9,
from pymemcompat.h:10,
from _mysql.c:29:
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pymacconfig.h:38:1: warning: this is the location of the previous definition
/usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/../libexec/gcc/darwin/ppc/as or /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed
Installed assemblers are:
/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
/usr/bin/../libexec/gcc/darwin/i386/as for architecture i386
In file included from _mysql.c:36:
/Users/jpadilla/Developer/Cellar/mysql/5.1.49/include/mysql/my_config.h:1065:1: warning: "HAVE_WCSCOLL" redefined
In file included from /System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:8,
from pymemcompat.h:10,
from _mysql.c:29:
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyconfig.h:803:1: warning: this is the location of the previous definition
In file included from _mysql.c:36:
/Users/jpadilla/Developer/Cellar/mysql/5.1.49/include/mysql/my_config.h:1183:1: warning: "SIZEOF_LONG" redefined
In file included from /System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:9,
from pymemcompat.h:10,
from _mysql.c:29:
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pymacconfig.h:37:1: warning: this is the location of the previous definition
In file included from _mysql.c:36:
/Users/jpadilla/Developer/Cellar/mysql/5.1.49/include/mysql/my_config.h:1192:1: warning: "SIZEOF_PTHREAD_T" redefined
In file included from /System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:9,
from pymemcompat.h:10,
from _mysql.c:29:
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pymacconfig.h:38:1: warning: this is the location of the previous definition
_mysql.c:2888: fatal error: error writing to -: Broken pipe
compilation terminated.
In file included from _mysql.c:36:
/Users/jpadilla/Developer/Cellar/mysql/5.1.49/include/mysql/my_config.h:1065:1: warning: "HAVE_WCSCOLL" redefined
In file included from /System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:8,
from pymemcompat.h:10,
from _mysql.c:29:
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyconfig.h:803:1: warning: this is the location of the previous definition
lipo: can't open input file: /var/folders/i9/i9vmOuu+Gbms3SpnVRVTQ++++TI/-Tmp-//cclE8E7f.out (No such file or directory)
error: command 'gcc-4.2' failed with exit status 1
Complete output from command /Users/jpadilla/.virtualenvs/barrandiando/bin/python -c "import setuptools;__file__='/Users/jpadilla/.virtualenvs/barrandiando/build/mysql-python/setup.py';execfile(__file__)" install --single-version-externally-managed --record /var/folders/i9/i9vmOuu+Gbms3SpnVRVTQ++++TI/-Tmp-/pip-apk1Px-record/install-record.txt --install-headers /Users/jpadilla/.virtualenvs/barrandiando/bin/../include/site/python2.6:
running install
running build
running build_py
copying MySQLdb/release.py -> build/lib.macosx-10.6-universal-2.6/MySQLdb
running build_ext
building '_mysql' extension
gcc-4.2 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -I/Users/jpadilla/Developer/include -I/Users/jpadilla/Developer/include -arch i386 -arch ppc -arch x86_64 -pipe -Dversion_info=(1,2,3,'final',0) -D__version__=1.2.3 -I/Users/jpadilla/Developer/Cellar/mysql/5.1.49/include/mysql -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c _mysql.c -o build/temp.macosx-10.6-universal-2.6/_mysql.o -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL
In file included from _mysql.c:36:
/Users/jpadilla/Developer/Cellar/mysql/5.1.49/include/mysql/my_config.h:1065:1: warning: "HAVE_WCSCOLL" redefined
In file included from /System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:8,
from pymemcompat.h:10,
from _mysql.c:29:
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyconfig.h:803:1: warning: this is the location of the previous definition
In file included from _mysql.c:36:
/Users/jpadilla/Developer/Cellar/mysql/5.1.49/include/mysql/my_config.h:1183:1: warning: "SIZEOF_LONG" redefined
In file included from /System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:9,
from pymemcompat.h:10,
from _mysql.c:29:
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pymacconfig.h:37:1: warning: this is the location of the previous definition
In file included from _mysql.c:36:
/Users/jpadilla/Developer/Cellar/mysql/5.1.49/include/mysql/my_config.h:1192:1: warning: "SIZEOF_PTHREAD_T" redefined
In file included from /System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:9,
from pymemcompat.h:10,
from _mysql.c:29:
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pymacconfig.h:38:1: warning: this is the location of the previous definition
/usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/../libexec/gcc/darwin/ppc/as or /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed
Installed assemblers are:
/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
/usr/bin/../libexec/gcc/darwin/i386/as for architecture i386
In file included from _mysql.c:36:
/Users/jpadilla/Developer/Cellar/mysql/5.1.49/include/mysql/my_config.h:1065:1: warning: "HAVE_WCSCOLL" redefined
In file included from /System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:8,
from pymemcompat.h:10,
from _mysql.c:29:
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyconfig.h:803:1: warning: this is the location of the previous definition
In file included from _mysql.c:36:
/Users/jpadilla/Developer/Cellar/mysql/5.1.49/include/mysql/my_config.h:1183:1: warning: "SIZEOF_LONG" redefined
In file included from /System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:9,
from pymemcompat.h:10,
from _mysql.c:29:
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pymacconfig.h:37:1: warning: this is the location of the previous definition
In file included from _mysql.c:36:
/Users/jpadilla/Developer/Cellar/mysql/5.1.49/include/mysql/my_config.h:1192:1: warning: "SIZEOF_PTHREAD_T" redefined
In file included from /System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:9,
from pymemcompat.h:10,
from _mysql.c:29:
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pymacconfig.h:38:1: warning: this is the location of the previous definition
_mysql.c:2888: fatal error: error writing to -: Broken pipe
compilation terminated.
In file included from _mysql.c:36:
/Users/jpadilla/Developer/Cellar/mysql/5.1.49/include/mysql/my_config.h:1065:1: warning: "HAVE_WCSCOLL" redefined
In file included from /System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:8,
from pymemcompat.h:10,
from _mysql.c:29:
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyconfig.h:803:1: warning: this is the location of the previous definition
lipo: can't open input file: /var/folders/i9/i9vmOuu+Gbms3SpnVRVTQ++++TI/-Tmp-//cclE8E7f.out (No such file or directory)
error: command 'gcc-4.2' failed with exit status 1
----------------------------------------
Command /Users/jpadilla/.virtualenvs/barrandiando/bin/python -c "import setuptools;__file__='/Users/jpadilla/.virtualenvs/barrandiando/build/mysql-python/setup.py';execfile(__file__)" install --single-version-externally-managed --record /var/folders/i9/i9vmOuu+Gbms3SpnVRVTQ++++TI/-Tmp-/pip-apk1Px-record/install-record.txt --install-headers /Users/jpadilla/.virtualenvs/barrandiando/bin/../include/site/python2.6 failed with error code 1
Storing complete log in /Users/jpadilla/.pip/pip.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment