Advertisement
kellykamay

Untitled

Jan 22nd, 2014
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.61 KB | None | 0 0
  1. (djangoko1.4)[kelly@localhost iglike]$ pip install MySQL-python
  2. Downloading/unpacking MySQL-python
  3.   Downloading MySQL-python-1.2.5.zip (108kB): 108kB downloaded
  4.   Running setup.py egg_info for package MySQL-python
  5.    
  6. Installing collected packages: MySQL-python
  7.   Running setup.py install for MySQL-python
  8.     building '_mysql' extension
  9.     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
  10.     _mysql.c:44:23: fatal error: my_config.h: No such file or directory
  11.      #include "my_config.h"
  12.                            ^
  13.     compilation terminated.
  14.     error: command 'gcc' failed with exit status 1
  15.     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:
  16.     running install
  17.  
  18. running build
  19.  
  20. running build_py
  21.  
  22. creating build
  23.  
  24. creating build/lib.linux-x86_64-2.7
  25.  
  26. copying _mysql_exceptions.py -> build/lib.linux-x86_64-2.7
  27.  
  28. creating build/lib.linux-x86_64-2.7/MySQLdb
  29.  
  30. copying MySQLdb/__init__.py -> build/lib.linux-x86_64-2.7/MySQLdb
  31.  
  32. copying MySQLdb/converters.py -> build/lib.linux-x86_64-2.7/MySQLdb
  33.  
  34. copying MySQLdb/connections.py -> build/lib.linux-x86_64-2.7/MySQLdb
  35.  
  36. copying MySQLdb/cursors.py -> build/lib.linux-x86_64-2.7/MySQLdb
  37.  
  38. copying MySQLdb/release.py -> build/lib.linux-x86_64-2.7/MySQLdb
  39.  
  40. copying MySQLdb/times.py -> build/lib.linux-x86_64-2.7/MySQLdb
  41.  
  42. creating build/lib.linux-x86_64-2.7/MySQLdb/constants
  43.  
  44. copying MySQLdb/constants/__init__.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
  45.  
  46. copying MySQLdb/constants/CR.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
  47.  
  48. copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
  49.  
  50. copying MySQLdb/constants/ER.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
  51.  
  52. copying MySQLdb/constants/FLAG.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
  53.  
  54. copying MySQLdb/constants/REFRESH.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
  55.  
  56. copying MySQLdb/constants/CLIENT.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
  57.  
  58. running build_ext
  59.  
  60. building '_mysql' extension
  61.  
  62. creating build/temp.linux-x86_64-2.7
  63.  
  64. 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
  65.  
  66. _mysql.c:44:23: fatal error: my_config.h: No such file or directory
  67.  
  68.  #include "my_config.h"
  69.  
  70.                        ^
  71.  
  72. compilation terminated.
  73.  
  74. error: command 'gcc' failed with exit status 1
  75.  
  76. ----------------------------------------
  77. Cleaning up...
  78. 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
  79. Storing complete log in /home/kelly/.pip/pip.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement