Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (djangoko1.4)[kelly@localhost iglike]$ pip install MySQL-python
- Downloading/unpacking MySQL-python
- Downloading MySQL-python-1.2.5.zip (108kB): 108kB downloaded
- Running setup.py egg_info for package MySQL-python
- Installing collected packages: MySQL-python
- Running setup.py install for MySQL-python
- building '_mysql' extension
- gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -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-x86_64-2.7/_mysql.o -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1
- _mysql.c:44:23: fatal error: my_config.h: No such file or directory
- #include "my_config.h"
- ^
- compilation terminated.
- error: command 'gcc' failed with exit status 1
- Complete output from command /home/kelly/djangoko1.4/bin/python -c "import setuptools;__file__='/home/kelly/djangoko1.4/build/MySQL-python/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-QaOzi2-record/install-record.txt --single-version-externally-managed --install-headers /home/kelly/djangoko1.4/include/site/python2.7:
- running install
- running build
- running build_py
- creating build
- creating build/lib.linux-x86_64-2.7
- copying _mysql_exceptions.py -> build/lib.linux-x86_64-2.7
- creating build/lib.linux-x86_64-2.7/MySQLdb
- copying MySQLdb/__init__.py -> build/lib.linux-x86_64-2.7/MySQLdb
- copying MySQLdb/converters.py -> build/lib.linux-x86_64-2.7/MySQLdb
- copying MySQLdb/connections.py -> build/lib.linux-x86_64-2.7/MySQLdb
- copying MySQLdb/cursors.py -> build/lib.linux-x86_64-2.7/MySQLdb
- copying MySQLdb/release.py -> build/lib.linux-x86_64-2.7/MySQLdb
- copying MySQLdb/times.py -> build/lib.linux-x86_64-2.7/MySQLdb
- creating build/lib.linux-x86_64-2.7/MySQLdb/constants
- copying MySQLdb/constants/__init__.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
- copying MySQLdb/constants/CR.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
- copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
- copying MySQLdb/constants/ER.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
- copying MySQLdb/constants/FLAG.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
- copying MySQLdb/constants/REFRESH.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
- copying MySQLdb/constants/CLIENT.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
- running build_ext
- building '_mysql' extension
- creating build/temp.linux-x86_64-2.7
- gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -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-x86_64-2.7/_mysql.o -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1
- _mysql.c:44:23: fatal error: my_config.h: No such file or directory
- #include "my_config.h"
- ^
- compilation terminated.
- error: command 'gcc' failed with exit status 1
- ----------------------------------------
- Cleaning up...
- Command /home/kelly/djangoko1.4/bin/python -c "import setuptools;__file__='/home/kelly/djangoko1.4/build/MySQL-python/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-QaOzi2-record/install-record.txt --single-version-externally-managed --install-headers /home/kelly/djangoko1.4/include/site/python2.7 failed with error code 1 in /home/kelly/djangoko1.4/build/MySQL-python
- Storing complete log in /home/kelly/.pip/pip.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement