Hi, I am getting the following error while installing PyDB2 package on AIX machine. So can anybody give me the requirements list and a procedure to install PyDb2 package on AIX. [EMAIL PROTECTED]:/home/xn75/PyDB2-1.1.0> python setup.py install Your DB2 root is: WARNING: it seems that you did not install 'Application Development Kit'. Compilation may fail. running install running build running build_py not copying DB2.py (output up-to-date) running build_ext building '_db2' extension cc_r -O -Iinclude -I/usr/local/include/python2.1 -c _db2_module.c -o build/temp.aix-5.3-2.1/_db2_module.o "_db2_module.c", line 24.10: 1506-296 (S) #include file <sqlcli1.h> not found. "_db2_module.c", line 25.10: 1506-296 (S) #include file <sqlenv.h> not found. "_db2_module.c", line 47.9: 1506-046 (S) Syntax error. "_db2_module.c", line 52.11: 1506-045 (S) Undeclared identifier SQL_BIGINT. "_db2_module.c", line 52.33: 1506-026 (S) Number of initializers cannot be greater than the number of aggregate members. "_db2_module.c", line 53.11: 1506-045 (S) Undeclared identifier SQL_BINARY. "_db2_module.c", line 53.33: 1506-026 (S) Number of initializers cannot be greater than the number of aggregate members. "_db2_module.c", line 54.11: 1506-045 (S) Undeclared identifier SQL_BLOB. "_db2_module.c", line 54.33: 1506-026 (S) Number of initializers cannot be greater than the number of aggregate members. "_db2_module.c", line 55.11: 1506-045 (S) Undeclared identifier SQL_BLOB_LOCATOR. "_db2_module.c", line 55.33: 1506-026 (S) Number of initializers cannot be greater than the number of aggregate members. "_db2_module.c", line 56.11: 1506-045 (S) Undeclared identifier SQL_CHAR. "_db2_module.c", line 56.33: 1506-026 (S) Number of initializers cannot be greater than the number of aggregate members. "_db2_module.c", line 57.11: 1506-045 (S) Undeclared identifier SQL_CLOB. "_db2_module.c", line 57.33: 1506-026 (S) Number of initializers cannot be greater than the number of aggregate members. "_db2_module.c", line 58.11: 1506-045 (S) Undeclared identifier SQL_CLOB_LOCATOR. "_db2_module.c", line 58.33: 1506-026 (S) Number of initializers cannot be greater than the number of aggregate members. "_db2_module.c", line 59.11: 1506-045 (S) Undeclared identifier SQL_TYPE_DATE. "_db2_module.c", line 59.33: 1506-026 (S) Number of initializers cannot be greater than the number of aggregate members. "_db2_module.c", line 60.11: 1506-045 (S) Undeclared identifier SQL_DBCLOB. "_db2_module.c", line 60.33: 1506-026 (S) Number of initializers cannot be greater than the number of aggregate members. "_db2_module.c", line 61.11: 1506-045 (S) Undeclared identifier SQL_DBCLOB_LOCATOR. "_db2_module.c", line 61.33: 1506-026 (S) Number of initializers cannot be greater than the number of aggregate members. "_db2_module.c", line 62.11: 1506-045 (S) Undeclared identifier SQL_DECIMAL. "_db2_module.c", line 62.33: 1506-026 (S) Number of initializers cannot be greater than the number of aggregate members. "_db2_module.c", line 63.11: 1506-045 (S) Undeclared identifier SQL_DOUBLE. "_db2_module.c", line 63.33: 1506-026 (S) Number of initializers cannot be greater than the number of aggregate members. "_db2_module.c", line 64.11: 1506-045 (S) Undeclared identifier SQL_FLOAT. "_db2_module.c", line 64.33: 1506-026 (S) Number of initializers cannot be greater than the number of aggregate members. "_db2_module.c", line 65.11: 1506-045 (S) Undeclared identifier SQL_GRAPHIC. "_db2_module.c", line 65.33: 1506-026 (S) Number of initializers cannot be greater than the number of aggregate members. "_db2_module.c", line 66.11: 1506-045 (S) Undeclared identifier SQL_INTEGER. "_db2_module.c", line 66.33: 1506-026 (S) Number of initializers cannot be greater than the number of aggregate members. "_db2_module.c", line 67.11: 1506-045 (S) Undeclared identifier SQL_LONGVARCHAR. "_db2_module.c", line 67.33: 1506-026 (S) Number of initializers cannot be greater than the number of aggregate members. "_db2_module.c", line 68.11: 1506-045 (S) Undeclared identifier SQL_LONGVARBINARY. "_db2_module.c", line 68.33: 1506-026 (S) Number of initializers cannot be greater than the number of aggregate members. "_db2_module.c", line 69.11: 1506-045 (S) Undeclared identifier SQL_LONGVARGRAPHIC. "_db2_module.c", line 69.33: 1506-026 (S) Number of initializers cannot be greater than the number of aggregate members. "_db2_module.c", line 70.11: 1506-045 (S) Undeclared identifier SQL_NUMERIC. "_db2_module.c", line 70.33: 1506-026 (S) Number of initializers cannot be greater than the number of aggregate members. "_db2_module.c", line 71.11: 1506-045 (S) Undeclared identifier SQL_REAL. "_db2_module.c", line 71.33: 1506-026 (S) Number of initializers cannot be greater than the number of aggregate members. "_db2_module.c", line 72.11: 1506-045 (S) Undeclared identifier SQL_SMALLINT. "_db2_module.c", line 72.33: 1506-026 (S) Number of initializers cannot be greater than the number of aggregate members. "_db2_module.c", line 73.11: 1506-045 (S) Undeclared identifier SQL_TYPE_TIME. "_db2_module.c", line 73.33: 1506-026 (S) Number of initializers cannot be greater than the number of aggregate members. "_db2_module.c", line 74.11: 1506-045 (S) Undeclared identifier SQL_TYPE_TIMESTAMP. "_db2_module.c", line 74.33: 1506-026 (S) Number of initializers cannot be greater than the number of aggregate members. "_db2_module.c", line 75.11: 1506-045 (S) Undeclared identifier SQL_VARCHAR. "_db2_module.c", line 75.33: 1506-026 (S) Number of initializers cannot be greater than the number of aggregate members. "_db2_module.c", line 76.11: 1506-045 (S) Undeclared identifier SQL_VARBINARY. "_db2_module.c", line 76.33: 1506-026 (S) Number of initializers cannot be greater than the number of aggregate members. "_db2_module.c", line 77.11: 1506-045 (S) Undeclared identifier SQL_VARGRAPHIC. "_db2_module.c", line 77.33: 1506-026 (S) Number of initializers cannot be greater than the number of aggregate members. "_db2_module.c", line 78.11: 1506-045 (S) Undeclared identifier SQL_DATALINK. "_db2_module.c", line 78.33: 1506-026 (S) Number of initializers cannot be greater than the number of aggregate members. "_db2_module.c", line 79.14: 1506-026 (S) Number of initializers cannot be greater than the number of aggregate members. "_db2_module.c", line 82.7: 1506-282 (S) The type of the parameters must be specified in a prototype. "_db2_module.c", line 90.11: 1506-045 (S) Undeclared identifier SQL_SUCCESS. "_db2_module.c", line 91.11: 1506-045 (S) Undeclared identifier SQL_SUCCESS_WITH_INFO. "_db2_module.c", line 92.11: 1506-045 (S) Undeclared identifier SQL_ERROR. "_db2_module.c", line 93.11: 1506-045 (S) Undeclared identifier SQL_INVALID_HANDLE. "_db2_module.c", line 94.11: 1506-045 (S) Undeclared identifier SQL_NO_DATA_FOUND. "_db2_module.c", line 95.11: 1506-045 (S) Undeclared identifier SQL_STILL_EXECUTING. "_db2_module.c", line 96.11: 1506-045 (S) Undeclared identifier SQL_NEED_DATA. "_db2_module.c", line 100.27: 1506-275 (S) Unexpected text SQLRETURN encountered. "_db2_module.c", line 150.9: 1506-046 (S) Syntax error. "_db2_module.c", line 154.33: 1506-045 (S) Undeclared identifier SQL_MAX_DSN_LENGTH. "_db2_module.c", line 154.33: 1506-195 (S) Integral constant expression with a value greater than zero is required. "_db2_module.c", line 177.19: 1506-282 (S) The type of the parameters must be specified in a prototype. "_db2_module.c", line 178.12: 1506-282 (S) The type of the parameters must be specified in a prototype. "_db2_module.c", line 179.12: 1506-282 (S) The type of the parameters must be specified in a prototype. "_db2_module.c", line 212.9: 1506-046 (S) Syntax error. "_db2_module.c", line 221.9: 1506-046 (S) Syntax error. "_db2_module.c", line 237.9: 1506-046 (S) Syntax error. "_db2_module.c", line 256.9: 1506-046 (S) Syntax error. "_db2_module.c", line 305.39: 1506-046 (S) Syntax error. "_db2_module.c", line 327.25: 1506-275 (S) Unexpected text rc encountered. "_db2_module.c", line 329.14: 1506-045 (S) Undeclared identifier rc. "_db2_module.c", line 343.25: 1506-275 (S) Unexpected text rc encountered. "_db2_module.c", line 345.14: 1506-045 (S) Undeclared identifier rc. "_db2_module.c", line 398.35: 1506-022 (S) "hstmt" is not a member of "struct {...}". "_db2_module.c", line 398.42: 1506-045 (S) Undeclared identifier SQL_HANDLE_STMT. "_db2_module.c", line 434.35: 1506-022 (S) "hstmt" is not a member of "struct {...}". "_db2_module.c", line 434.42: 1506-045 (S) Undeclared identifier SQL_HANDLE_STMT. "_db2_module.c", line 455.35: 1506-022 (S) "hdbc" is not a member of "struct {...}". "_db2_module.c", line 455.41: 1506-045 (S) Undeclared identifier SQL_HANDLE_DBC. "_db2_module.c", line 480.27: 1506-275 (S) Unexpected text handle encountered. "_db2_module.c", line 480.47: 1506-275 (S) Unexpected text handleType encountered. "_db2_module.c", line 482.25: 1506-277 (S) Syntax error: possible missing ';' or ','? "_db2_module.c", line 482.9: 1506-045 (S) Undeclared identifier SQLCHAR. "_db2_module.c", line 494.9: 1506-045 (S) Undeclared identifier SQLINTEGER. "_db2_module.c", line 495.9: 1506-045 (S) Undeclared identifier SQLRETURN. "_db2_module.c", line 502.30: 1506-276 (S) Syntax error: possible missing ')'? "_db2_module.c", line 500.17: 1506-045 (S) Undeclared identifier handleType. "_db2_module.c", line 501.17: 1506-045 (S) Undeclared identifier handle. "_db2_module.c", line 499.9: 1506-045 (S) Undeclared identifier rc. "_db2_module.c", line 507.18: 1506-045 (S) Undeclared identifier msgTextOutLen. "_db2_module.c", line 513.52: 1506-045 (S) Undeclared identifier sqlState. "_db2_module.c", line 515.46: 1506-045 (S) Undeclared identifier nativeErr. "_db2_module.c", line 517.52: 1506-045 (S) Undeclared identifier msgText. error: command 'cc_r' failed with exit status 1 [EMAIL PROTECTED]:/home/xn75/PyDB2-1.1.0> Regards, - Praveen V S
---- Disclaimer ---- This is a confidential email. Tesco may monitor and record all emails. The views expressed in this email are those of the sender and not Tesco. Tesco Stores Limited Company Number: 519500 Registered in England Registered Office: Tesco House, Delamare Road, Cheshunt, Hertfordshire EN8 9SL VAT Registration Number: GB 220 4302 31
-- http://mail.python.org/mailman/listinfo/python-list