Untitled

By Abrupt Penguin, 11 Years ago, written in Plain Text, viewed 683 times.
URL http://pb.stoleyour.com/view/75ab6ad2 Embed
Download Paste or View RawExpand paste to full width of browser
  1. [root@potato twitter]# pip install pysqlite
  2. Downloading/unpacking pysqlite
  3.   Running setup.py egg_info for package pysqlite
  4.    
  5. Installing collected packages: pysqlite
  6.   Running setup.py install for pysqlite
  7.     building 'pysqlite2._sqlite' extension
  8.     gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DMODULE_NAME="pysqlite2.dbapi2" -DSQLITE_OMIT_LOAD_EXTENSION=1 -I/opt/python2.7.2/include/python2.7 -c src/module.c -o build/temp.linux-i686-2.7/src/module.o
  9.     In file included from src/module.c:24:
  10.     src/connection.h:33:21: error: sqlite3.h: No such file or directory
  11.     In file included from src/module.c:24:
  12.     src/connection.h:38: error: expected specifier-qualifier-list before ‘sqlite3’
  13.     In file included from src/module.c:25:
  14.     src/statement.h:37: error: expected specifier-qualifier-list before ‘sqlite3’
  15.     src/module.c: In function ‘module_complete’:
  16.     src/module.c:103: warning: implicit declaration of function ‘sqlite3_complete’
  17.     src/module.c: At top level:
  18.     src/module.c:269: error: ‘SQLITE_OK’ undeclared here (not in a function)
  19.     src/module.c:270: error: ‘SQLITE_DENY’ undeclared here (not in a function)
  20.     src/module.c:271: error: ‘SQLITE_IGNORE’ undeclared here (not in a function)
  21.     src/module.c:272: error: ‘SQLITE_CREATE_INDEX’ undeclared here (not in a function)
  22.     src/module.c:273: error: ‘SQLITE_CREATE_TABLE’ undeclared here (not in a function)
  23.     src/module.c:274: error: ‘SQLITE_CREATE_TEMP_INDEX’ undeclared here (not in a function)
  24.     src/module.c:275: error: ‘SQLITE_CREATE_TEMP_TABLE’ undeclared here (not in a function)
  25.     src/module.c:276: error: ‘SQLITE_CREATE_TEMP_TRIGGER’ undeclared here (not in a function)
  26.     src/module.c:277: error: ‘SQLITE_CREATE_TEMP_VIEW’ undeclared here (not in a function)
  27.     src/module.c:278: error: ‘SQLITE_CREATE_TRIGGER’ undeclared here (not in a function)
  28.     src/module.c:279: error: ‘SQLITE_CREATE_VIEW’ undeclared here (not in a function)
  29.     src/module.c:280: error: ‘SQLITE_DELETE’ undeclared here (not in a function)
  30.     src/module.c:281: error: ‘SQLITE_DROP_INDEX’ undeclared here (not in a function)
  31.     src/module.c:282: error: ‘SQLITE_DROP_TABLE’ undeclared here (not in a function)
  32.     src/module.c:283: error: ‘SQLITE_DROP_TEMP_INDEX’ undeclared here (not in a function)
  33.     src/module.c:284: error: ‘SQLITE_DROP_TEMP_TABLE’ undeclared here (not in a function)
  34.     src/module.c:285: error: ‘SQLITE_DROP_TEMP_TRIGGER’ undeclared here (not in a function)
  35.     src/module.c:286: error: ‘SQLITE_DROP_TEMP_VIEW’ undeclared here (not in a function)
  36.     src/module.c:287: error: ‘SQLITE_DROP_TRIGGER’ undeclared here (not in a function)
  37.     src/module.c:288: error: ‘SQLITE_DROP_VIEW’ undeclared here (not in a function)
  38.     src/module.c:289: error: ‘SQLITE_INSERT’ undeclared here (not in a function)
  39.     src/module.c:290: error: ‘SQLITE_PRAGMA’ undeclared here (not in a function)
  40.     src/module.c:291: error: ‘SQLITE_READ’ undeclared here (not in a function)
  41.     src/module.c:292: error: ‘SQLITE_SELECT’ undeclared here (not in a function)
  42.     src/module.c:293: error: ‘SQLITE_TRANSACTION’ undeclared here (not in a function)
  43.     src/module.c:294: error: ‘SQLITE_UPDATE’ undeclared here (not in a function)
  44.     src/module.c:295: error: ‘SQLITE_ATTACH’ undeclared here (not in a function)
  45.     src/module.c:296: error: ‘SQLITE_DETACH’ undeclared here (not in a function)
  46.     src/module.c: In function ‘init_sqlite’:
  47.     src/module.c:426: warning: implicit declaration of function ‘sqlite3_libversion’
  48.     src/module.c:426: warning: passing argument 1 of ‘PyString_FromString’ makes pointer from integer without a cast
  49.     error: command 'gcc' failed with exit status 1
  50.     Complete output from command /usr/bin/python2.7 -c "import setuptools;__file__='/tmp/pip-build-root/pysqlite/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-NVuOFh-record/install-record.txt --single-version-externally-managed:
  51.     running install
  52.  
  53. running build
  54.  
  55. running build_py
  56.  
  57. copying lib/dbapi2.py -> build/lib.linux-i686-2.7/pysqlite2
  58.  
  59. copying lib/__init__.py -> build/lib.linux-i686-2.7/pysqlite2
  60.  
  61. copying lib/dump.py -> build/lib.linux-i686-2.7/pysqlite2
  62.  
  63. copying lib/test/__init__.py -> build/lib.linux-i686-2.7/pysqlite2/test
  64.  
  65. copying lib/test/dump.py -> build/lib.linux-i686-2.7/pysqlite2/test
  66.  
  67. copying lib/test/regression.py -> build/lib.linux-i686-2.7/pysqlite2/test
  68.  
  69. copying lib/test/transactions.py -> build/lib.linux-i686-2.7/pysqlite2/test
  70.  
  71. copying lib/test/userfunctions.py -> build/lib.linux-i686-2.7/pysqlite2/test
  72.  
  73. copying lib/test/factory.py -> build/lib.linux-i686-2.7/pysqlite2/test
  74.  
  75. copying lib/test/types.py -> build/lib.linux-i686-2.7/pysqlite2/test
  76.  
  77. copying lib/test/hooks.py -> build/lib.linux-i686-2.7/pysqlite2/test
  78.  
  79. copying lib/test/dbapi.py -> build/lib.linux-i686-2.7/pysqlite2/test
  80.  
  81. copying lib/test/py25/__init__.py -> build/lib.linux-i686-2.7/pysqlite2/test/py25
  82.  
  83. copying lib/test/py25/py25tests.py -> build/lib.linux-i686-2.7/pysqlite2/test/py25
  84.  
  85. running build_ext
  86.  
  87. building 'pysqlite2._sqlite' extension
  88.  
  89. gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DMODULE_NAME="pysqlite2.dbapi2" -DSQLITE_OMIT_LOAD_EXTENSION=1 -I/opt/python2.7.2/include/python2.7 -c src/module.c -o build/temp.linux-i686-2.7/src/module.o
  90.  
  91. In file included from src/module.c:24:
  92.  
  93. src/connection.h:33:21: error: sqlite3.h: No such file or directory
  94.  
  95. In file included from src/module.c:24:
  96.  
  97. src/connection.h:38: error: expected specifier-qualifier-list before ‘sqlite3’
  98.  
  99. In file included from src/module.c:25:
  100.  
  101. src/statement.h:37: error: expected specifier-qualifier-list before ‘sqlite3’
  102.  
  103. src/module.c: In function ‘module_complete’:
  104.  
  105. src/module.c:103: warning: implicit declaration of function ‘sqlite3_complete’
  106.  
  107. src/module.c: At top level:
  108.  
  109. src/module.c:269: error: ‘SQLITE_OK’ undeclared here (not in a function)
  110.  
  111. src/module.c:270: error: ‘SQLITE_DENY’ undeclared here (not in a function)
  112.  
  113. src/module.c:271: error: ‘SQLITE_IGNORE’ undeclared here (not in a function)
  114.  
  115. src/module.c:272: error: ‘SQLITE_CREATE_INDEX’ undeclared here (not in a function)
  116.  
  117. src/module.c:273: error: ‘SQLITE_CREATE_TABLE’ undeclared here (not in a function)
  118.  
  119. src/module.c:274: error: ‘SQLITE_CREATE_TEMP_INDEX’ undeclared here (not in a function)
  120.  
  121. src/module.c:275: error: ‘SQLITE_CREATE_TEMP_TABLE’ undeclared here (not in a function)
  122.  
  123. src/module.c:276: error: ‘SQLITE_CREATE_TEMP_TRIGGER’ undeclared here (not in a function)
  124.  
  125. src/module.c:277: error: ‘SQLITE_CREATE_TEMP_VIEW’ undeclared here (not in a function)
  126.  
  127. src/module.c:278: error: ‘SQLITE_CREATE_TRIGGER’ undeclared here (not in a function)
  128.  
  129. src/module.c:279: error: ‘SQLITE_CREATE_VIEW’ undeclared here (not in a function)
  130.  
  131. src/module.c:280: error: ‘SQLITE_DELETE’ undeclared here (not in a function)
  132.  
  133. src/module.c:281: error: ‘SQLITE_DROP_INDEX’ undeclared here (not in a function)
  134.  
  135. src/module.c:282: error: ‘SQLITE_DROP_TABLE’ undeclared here (not in a function)
  136.  
  137. src/module.c:283: error: ‘SQLITE_DROP_TEMP_INDEX’ undeclared here (not in a function)
  138.  
  139. src/module.c:284: error: ‘SQLITE_DROP_TEMP_TABLE’ undeclared here (not in a function)
  140.  
  141. src/module.c:285: error: ‘SQLITE_DROP_TEMP_TRIGGER’ undeclared here (not in a function)
  142.  
  143. src/module.c:286: error: ‘SQLITE_DROP_TEMP_VIEW’ undeclared here (not in a function)
  144.  
  145. src/module.c:287: error: ‘SQLITE_DROP_TRIGGER’ undeclared here (not in a function)
  146.  
  147. src/module.c:288: error: ‘SQLITE_DROP_VIEW’ undeclared here (not in a function)
  148.  
  149. src/module.c:289: error: ‘SQLITE_INSERT’ undeclared here (not in a function)
  150.  
  151. src/module.c:290: error: ‘SQLITE_PRAGMA’ undeclared here (not in a function)
  152.  
  153. src/module.c:291: error: ‘SQLITE_READ’ undeclared here (not in a function)
  154.  
  155. src/module.c:292: error: ‘SQLITE_SELECT’ undeclared here (not in a function)
  156.  
  157. src/module.c:293: error: ‘SQLITE_TRANSACTION’ undeclared here (not in a function)
  158.  
  159. src/module.c:294: error: ‘SQLITE_UPDATE’ undeclared here (not in a function)
  160.  
  161. src/module.c:295: error: ‘SQLITE_ATTACH’ undeclared here (not in a function)
  162.  
  163. src/module.c:296: error: ‘SQLITE_DETACH’ undeclared here (not in a function)
  164.  
  165. src/module.c: In function ‘init_sqlite’:
  166.  
  167. src/module.c:426: warning: implicit declaration of function ‘sqlite3_libversion’
  168.  
  169. src/module.c:426: warning: passing argument 1 of ‘PyString_FromString’ makes pointer from integer without a cast
  170.  
  171. error: command 'gcc' failed with exit status 1
  172.  
  173. ----------------------------------------
  174. Command /usr/bin/python2.7 -c "import setuptools;__file__='/tmp/pip-build-root/pysqlite/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-NVuOFh-record/install-record.txt --single-version-externally-managed failed with error code 1 in /tmp/pip-build-root/pysqlite
  175. Storing complete log in /root/.pip/pip.log

Reply to "Untitled"

Here you can reply to the paste above