All pastes #1850002 Raw Edit

Anonymous

public text v1 · immutable
#1850002 ·published 2010-03-23 04:35 UTC
rendered paste body
[kittykatt@arch-server][~/pysqlite]$ python setup.py build
running build
running build_py
running build_ext
building '_sqlite' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -march=i686 -mtune=generic -O2 -pipe -fPIC -I/usr/include/sqlite -I/usr/include/python2.6 -c _sqlite.c -o build/temp.linux-i686-2.6/_sqlite.o
_sqlite.c:30:20: error: sqlite.h: No such file or directory
_sqlite.c:85: error: expected specifier-qualifier-list before ‘sqlite’
_sqlite.c: In function ‘_con_dealloc’:
_sqlite.c:212: error: ‘pysqlc’ has no member named ‘p_db’
_sqlite.c:215: error: ‘pysqlc’ has no member named ‘p_db’
_sqlite.c:216: error: ‘pysqlc’ has no member named ‘p_db’
_sqlite.c:233: error: ‘pysqlc’ has no member named ‘converters’
_sqlite.c:233: error: ‘pysqlc’ has no member named ‘converters’
_sqlite.c:233: error: ‘pysqlc’ has no member named ‘converters’
_sqlite.c:234: error: ‘pysqlc’ has no member named ‘expected_types’
_sqlite.c:234: error: ‘pysqlc’ has no member named ‘expected_types’
_sqlite.c:234: error: ‘pysqlc’ has no member named ‘expected_types’
_sqlite.c:235: error: ‘pysqlc’ has no member named ‘command_logfile’
_sqlite.c:235: error: ‘pysqlc’ has no member named ‘command_logfile’
_sqlite.c:235: error: ‘pysqlc’ has no member named ‘command_logfile’
_sqlite.c: In function ‘pysqlite_connect’:
_sqlite.c:268: error: ‘pysqlc’ has no member named ‘p_db’
_sqlite.c:270: error: ‘pysqlc’ has no member named ‘p_db’
_sqlite.c:296: error: ‘pysqlc’ has no member named ‘tstate’
_sqlite.c:298: error: ‘pysqlc’ has no member named ‘converters’
_sqlite.c:305: error: ‘pysqlc’ has no member named ‘expected_types’
_sqlite.c:308: error: ‘pysqlc’ has no member named ‘command_logfile’
_sqlite.c:311: error: ‘pysqlc’ has no member named ‘p_db’
_sqlite.c:311: error: ‘sqlite_callback’ undeclared (first use in this function)
_sqlite.c:311: error: (Each undeclared identifier is reported only once
_sqlite.c:311: error: for each function it appears in.)
_sqlite.c:311: error: expected ‘)’ before numeric constant
_sqlite.c: In function ‘_con_close’:
_sqlite.c:344: error: ‘pysqlc’ has no member named ‘p_db’
_sqlite.c:347: error: ‘pysqlc’ has no member named ‘p_db’
_sqlite.c:348: error: ‘pysqlc’ has no member named ‘p_db’
_sqlite.c: At top level:
_sqlite.c:361: error: expected ‘)’ before ‘*’ token
_sqlite.c:416: error: expected ‘)’ before ‘*’ token
_sqlite.c:490: error: expected ‘)’ before ‘*’ token
_sqlite.c: In function ‘sqlite_busy_handler_callback’:
_sqlite.c:561: error: ‘pysqlc’ has no member named ‘tstate’
_sqlite.c:561: error: ‘pysqlc’ has no member named ‘tstate’
_sqlite.c:575: error: ‘pysqlc’ has no member named ‘tstate’
_sqlite.c:583: error: ‘pysqlc’ has no member named ‘tstate’
_sqlite.c: In function ‘_con_sqlite_busy_handler’:
_sqlite.c:633: error: ‘pysqlc’ has no member named ‘p_db’
_sqlite.c: In function ‘_con_sqlite_busy_timeout’:
_sqlite.c:658: error: ‘pysqlc’ has no member named ‘p_db’
_sqlite.c: In function ‘_con_create_function’:
_sqlite.c:699: error: ‘pysqlc’ has no member named ‘p_db’
_sqlite.c:699: error: ‘function_callback’ undeclared (first use in this function)
_sqlite.c: In function ‘_con_create_aggregate’:
_sqlite.c:740: error: ‘pysqlc’ has no member named ‘p_db’
_sqlite.c:740: error: ‘aggregate_step’ undeclared (first use in this function)
_sqlite.c:740: error: ‘aggregate_finalize’ undeclared (first use in this function)
_sqlite.c: In function ‘_con_set_command_logfile’:
_sqlite.c:792: error: ‘pysqlc’ has no member named ‘command_logfile’
_sqlite.c: In function ‘sqlite_exec_callback’:
_sqlite.c:816: error: ‘pysqlc’ has no member named ‘tstate’
_sqlite.c:816: error: ‘pysqlc’ has no member named ‘tstate’
_sqlite.c:848: error: ‘pysqlc’ has no member named ‘tstate’
_sqlite.c:855: error: ‘pysqlc’ has no member named ‘tstate’
_sqlite.c: In function ‘_con_sqlite_exec’:
_sqlite.c:896: error: ‘pysqlc’ has no member named ‘tstate’
_sqlite.c:897: error: ‘pysqlc’ has no member named ‘p_db’
_sqlite.c:898: error: ‘pysqlc’ has no member named ‘tstate’
_sqlite.c:898: error: ‘pysqlc’ has no member named ‘tstate’
_sqlite.c: In function ‘_con_sqlite_last_insert_rowid’:
_sqlite.c:915: error: ‘pysqlc’ has no member named ‘p_db’
_sqlite.c: In function ‘_con_sqlite_changes’:
_sqlite.c:929: error: ‘pysqlc’ has no member named ‘p_db’
_sqlite.c: In function ‘_seterror’:
_sqlite.c:1013: error: ‘SQLITE_OK’ undeclared (first use in this function)
_sqlite.c:1016: error: ‘SQLITE_ERROR’ undeclared (first use in this function)
_sqlite.c:1017: warning: pointer/integer type mismatch in conditional expression
_sqlite.c:1019: error: ‘SQLITE_INTERNAL’ undeclared (first use in this function)
_sqlite.c:1020: warning: pointer/integer type mismatch in conditional expression
_sqlite.c:1022: error: ‘SQLITE_PERM’ undeclared (first use in this function)
_sqlite.c:1023: warning: pointer/integer type mismatch in conditional expression
_sqlite.c:1025: error: ‘SQLITE_ABORT’ undeclared (first use in this function)
_sqlite.c:1026: warning: pointer/integer type mismatch in conditional expression
_sqlite.c:1028: error: ‘SQLITE_BUSY’ undeclared (first use in this function)
_sqlite.c:1029: warning: pointer/integer type mismatch in conditional expression
_sqlite.c:1031: error: ‘SQLITE_LOCKED’ undeclared (first use in this function)
_sqlite.c:1032: warning: pointer/integer type mismatch in conditional expression
_sqlite.c:1034: error: ‘SQLITE_NOMEM’ undeclared (first use in this function)
_sqlite.c:1037: error: ‘SQLITE_READONLY’ undeclared (first use in this function)
_sqlite.c:1038: warning: pointer/integer type mismatch in conditional expression
_sqlite.c:1040: error: ‘SQLITE_INTERRUPT’ undeclared (first use in this function)
_sqlite.c:1041: warning: pointer/integer type mismatch in conditional expression
_sqlite.c:1043: error: ‘SQLITE_IOERR’ undeclared (first use in this function)
_sqlite.c:1044: warning: pointer/integer type mismatch in conditional expression
_sqlite.c:1046: error: ‘SQLITE_CORRUPT’ undeclared (first use in this function)
_sqlite.c:1047: warning: pointer/integer type mismatch in conditional expression
_sqlite.c:1049: error: ‘SQLITE_NOTFOUND’ undeclared (first use in this function)
_sqlite.c:1050: warning: pointer/integer type mismatch in conditional expression
_sqlite.c:1052: error: ‘SQLITE_FULL’ undeclared (first use in this function)
_sqlite.c:1053: warning: pointer/integer type mismatch in conditional expression
_sqlite.c:1055: error: ‘SQLITE_CANTOPEN’ undeclared (first use in this function)
_sqlite.c:1056: warning: pointer/integer type mismatch in conditional expression
_sqlite.c:1058: error: ‘SQLITE_PROTOCOL’ undeclared (first use in this function)
_sqlite.c:1059: warning: pointer/integer type mismatch in conditional expression
_sqlite.c:1061: error: ‘SQLITE_EMPTY’ undeclared (first use in this function)
_sqlite.c:1062: warning: pointer/integer type mismatch in conditional expression
_sqlite.c:1064: error: ‘SQLITE_SCHEMA’ undeclared (first use in this function)
_sqlite.c:1065: warning: pointer/integer type mismatch in conditional expression
_sqlite.c:1067: error: ‘SQLITE_TOOBIG’ undeclared (first use in this function)
_sqlite.c:1068: warning: pointer/integer type mismatch in conditional expression
_sqlite.c:1070: error: ‘SQLITE_CONSTRAINT’ undeclared (first use in this function)
_sqlite.c:1071: warning: pointer/integer type mismatch in conditional expression
_sqlite.c:1073: error: ‘SQLITE_MISMATCH’ undeclared (first use in this function)
_sqlite.c:1074: warning: pointer/integer type mismatch in conditional expression
_sqlite.c:1076: error: ‘SQLITE_MISUSE’ undeclared (first use in this function)
_sqlite.c:1077: warning: pointer/integer type mismatch in conditional expression
_sqlite.c:1080: warning: pointer/integer type mismatch in conditional expression
_sqlite.c: In function ‘_con_execute’:
_sqlite.c:1106: error: ‘pysqlc’ has no member named ‘p_db’
_sqlite.c:1124: error: ‘pysqlc’ has no member named ‘command_logfile’
_sqlite.c:1126: error: ‘pysqlc’ has no member named ‘command_logfile’
_sqlite.c:1164: error: ‘pysqlc’ has no member named ‘expected_types’
_sqlite.c:1164: error: ‘pysqlc’ has no member named ‘expected_types’
_sqlite.c:1164: error: ‘pysqlc’ has no member named ‘expected_types’
_sqlite.c:1165: error: ‘pysqlc’ has no member named ‘expected_types’
_sqlite.c:1169: error: ‘pysqlc’ has no member named ‘expected_types’
_sqlite.c:1196: error: ‘pysqlc’ has no member named ‘expected_types’
_sqlite.c:1205: error: ‘pysqlc’ has no member named ‘tstate’
_sqlite.c:1206: error: ‘pysqlc’ has no member named ‘p_db’
_sqlite.c:1211: error: ‘pysqlc’ has no member named ‘tstate’
_sqlite.c:1211: error: ‘pysqlc’ has no member named ‘tstate’
_sqlite.c:1213: error: ‘pysqlc’ has no member named ‘expected_types’
_sqlite.c:1213: error: ‘pysqlc’ has no member named ‘expected_types’
_sqlite.c:1213: error: ‘pysqlc’ has no member named ‘expected_types’
_sqlite.c:1215: error: ‘pysqlc’ has no member named ‘expected_types’
_sqlite.c:1231: error: ‘SQLITE_OK’ undeclared (first use in this function)
_sqlite.c: In function ‘process_record’:
_sqlite.c:1261: error: ‘pysqlc’ has no member named ‘tstate’
_sqlite.c:1261: error: ‘pysqlc’ has no member named ‘tstate’
_sqlite.c:1263: error: ‘pysqlc’ has no member named ‘expected_types’
_sqlite.c:1264: error: ‘pysqlc’ has no member named ‘converters’
_sqlite.c:1271: error: ‘pysqlc’ has no member named ‘tstate’
_sqlite.c:1526: error: ‘pysqlc’ has no member named ‘tstate’
_sqlite.c: In function ‘_con_register_converter’:
_sqlite.c:1548: error: ‘pysqlc’ has no member named ‘converters’
_sqlite.c: In function ‘_con_set_expected_types’:
_sqlite.c:1571: error: ‘pysqlc’ has no member named ‘expected_types’
_sqlite.c:1571: error: ‘pysqlc’ has no member named ‘expected_types’
_sqlite.c:1571: error: ‘pysqlc’ has no member named ‘expected_types’
_sqlite.c:1574: error: ‘pysqlc’ has no member named ‘expected_types’
_sqlite.c: In function ‘sqlite_version_info’:
_sqlite.c:1653: warning: passing argument 1 of ‘strlen’ makes pointer from integer without a cast
/usr/include/string.h:397: note: expected ‘const char *’ but argument is of type ‘int’
_sqlite.c:1653: warning: passing argument 2 of ‘memcpy’ makes pointer from integer without a cast
/usr/include/string.h:43: note: expected ‘const void * __restrict__’ but argument is of type ‘int’
_sqlite.c:1653: warning: passing argument 1 of ‘__strdup’ makes pointer from integer without a cast
/usr/include/bits/string2.h:1303: note: expected ‘const char *’ but argument is of type ‘int’
error: command 'gcc' failed with exit status 1
[kittykatt@arch-server][~/pysqlite]$