Installation Problems?

"Tony Burger" <[email protected]>
Newsgroups gmane.comp.python.sybase
Message-ID <[email protected]>
For those who couldn't see/open the install.log:

running install
running build
running build_py
not copying Sybase.py (output up-to-date)
running build_ext
building 'sybasect' extension
In file included from blk.c:9:
sybasect.h:10:22: cspublic.h: No such file or directory
sybasect.h:11:22: ctpublic.h: No such file or directory
sybasect.h:12:22: bkpublic.h: No such file or directory
In file included from blk.c:9:
sybasect.h:100: parse error before "CS_CONTEXT"
sybasect.h:100: warning: no semicolon at end of struct or union
sybasect.h:109: parse error before '}' token
sybasect.h:109: warning: type defaults to `int' in declaration of 
`CS_CONTEXTObj'
sybasect.h:109: warning: data definition has no type or storage class
sybasect.h:112: parse error before '*' token
sybasect.h:112: warning: type defaults to `int' in declaration of 
`global_ctx'
sybasect.h:112: warning: data definition has no type or storage class
sybasect.h:113: parse error before '*' token
sybasect.h:113: warning: function declaration isn't a prototype
sybasect.h:114: parse error before '*' token
sybasect.h:114: warning: function declaration isn't a prototype
sybasect.h:115: parse error before "version"
sybasect.h:115: warning: function declaration isn't a prototype
sybasect.h:119: parse error before "CS_CONTEXTObj"
sybasect.h:119: warning: no semicolon at end of struct or union
sybasect.h:120: warning: type defaults to `int' in declaration of `conn'
sybasect.h:120: warning: data definition has no type or storage class
sybasect.h:126: conflicting types for `next'
sybasect.h:108: previous declaration of `next'
sybasect.h:127: parse error before '}' token
sybasect.h:127: warning: type defaults to `int' in declaration of 
`CS_CONNECTIONObj'
sybasect.h:127: warning: data definition has no type or storage class
sybasect.h:130: parse error before '*' token
sybasect.h:130: warning: function declaration isn't a prototype
sybasect.h:131: parse error before '*' token
sybasect.h:131: warning: function declaration isn't a prototype
sybasect.h:143: parse error before "CS_CONNECTIONObj"
sybasect.h:143: warning: no semicolon at end of struct or union
sybasect.h:144: warning: type defaults to `int' in declaration of `blk'
sybasect.h:144: warning: data definition has no type or storage class
sybasect.h:145: parse error before "direction"
sybasect.h:145: warning: type defaults to `int' in declaration of 
`direction'
sybasect.h:145: warning: data definition has no type or storage class
sybasect.h:148: parse error before '}' token
sybasect.h:148: warning: type defaults to `int' in declaration of 
`CS_BLKDESCObj'
sybasect.h:148: warning: data definition has no type or storage class
sybasect.h:151: parse error before '*' token
sybasect.h:151: warning: function declaration isn't a prototype
sybasect.h:156: parse error before "CS_CONNECTIONObj"
sybasect.h:156: warning: no semicolon at end of struct or union
sybasect.h:157: warning: type defaults to `int' in declaration of `cmd'
sybasect.h:157: warning: data definition has no type or storage class
sybasect.h:162: parse error before '}' token
sybasect.h:162: warning: type defaults to `int' in declaration of 
`CS_COMMANDObj'
sybasect.h:162: warning: data definition has no type or storage class
sybasect.h:165: parse error before '*' token
sybasect.h:165: warning: function declaration isn't a prototype
sybasect.h:166: parse error before '*' token
sybasect.h:166: warning: function declaration isn't a prototype
sybasect.h:170: parse error before "CS_DATAFMT"
sybasect.h:170: warning: no semicolon at end of struct or union
sybasect.h:173: parse error before '}' token
sybasect.h:173: warning: type defaults to `int' in declaration of 
`CS_DATAFMTObj'
sybasect.h:173: warning: data definition has no type or storage class
sybasect.h:177: parse error before '*' token
sybasect.h:177: warning: function declaration isn't a prototype
sybasect.h:178: parse error before '*' token
sybasect.h:178: warning: function declaration isn't a prototype
sybasect.h:179: parse error before '*' token
sybasect.h:179: warning: function declaration isn't a prototype
sybasect.h:180: parse error before '*' token
sybasect.h:180: warning: function declaration isn't a prototype
sybasect.h:181: parse error before '*' token
sybasect.h:181: warning: function declaration isn't a prototype
sybasect.h:182: parse error before '*' token
sybasect.h:182: warning: function declaration isn't a prototype
sybasect.h:185: parse error before '*' token
sybasect.h:185: warning: function declaration isn't a prototype
sybasect.h:186: parse error before '*' token
sybasect.h:186: warning: function declaration isn't a prototype
sybasect.h:190: parse error before "CS_IODESC"
sybasect.h:190: warning: no semicolon at end of struct or union
sybasect.h:192: parse error before '}' token
sybasect.h:192: warning: type defaults to `int' in declaration of 
`CS_IODESCObj'
sybasect.h:192: warning: data definition has no type or storage class
sybasect.h:198: parse error before '*' token
sybasect.h:198: warning: function declaration isn't a prototype
sybasect.h:202: parse error before "CS_CONTEXTObj"
sybasect.h:202: warning: no semicolon at end of struct or union
sybasect.h:204: parse error before '*' token
sybasect.h:204: warning: type defaults to `int' in declaration of `locale'
sybasect.h:204: warning: data definition has no type or storage class
sybasect.h:206: parse error before '}' token
sybasect.h:206: warning: type defaults to `int' in declaration of 
`CS_LOCALEObj'
sybasect.h:206: warning: data definition has no type or storage class
sybasect.h:210: parse error before '*' token
sybasect.h:210: warning: function declaration isn't a prototype
sybasect.h:215: parse error before "CS_DATAFMT"
sybasect.h:215: warning: no semicolon at end of struct or union
sybasect.h:217: parse error before '*' token
sybasect.h:217: warning: type defaults to `int' in declaration of `copied'
sybasect.h:217: warning: data definition has no type or storage class
sybasect.h:218: parse error before '*' token
sybasect.h:218: warning: type defaults to `int' in declaration of 
`indicator'
sybasect.h:218: warning: data definition has no type or storage class
sybasect.h:220: parse error before '}' token
sybasect.h:220: warning: type defaults to `int' in declaration of 
`DataBufObj'
sybasect.h:220: warning: data definition has no type or storage class
sybasect.h:228: parse error before "CS_NUMERIC"
sybasect.h:228: warning: no semicolon at end of struct or union
sybasect.h:229: warning: type defaults to `int' in declaration of 
`NumericObj'
sybasect.h:229: warning: data definition has no type or storage class
sybasect.h:233: parse error before '*' token
sybasect.h:233: parse error before '*' token
sybasect.h:233: warning: type defaults to `int' in declaration of 
`numeric_alloc'
sybasect.h:233: warning: function declaration isn't a prototype
sybasect.h:233: warning: data definition has no type or storage class
sybasect.h:234: parse error before '*' token
sybasect.h:234: warning: function declaration isn't a prototype
sybasect.h:243: parse error before "CS_MONEY"
sybasect.h:243: warning: no semicolon at end of struct or union
sybasect.h:244: warning: type defaults to `int' in declaration of `money4'
sybasect.h:244: warning: data definition has no type or storage class
sybasect.h:245: warning: type defaults to `int' in declaration of 
`MoneyUnion'
sybasect.h:245: warning: data definition has no type or storage class
sybasect.h:250: parse error before "MoneyUnion"
sybasect.h:250: warning: no semicolon at end of struct or union
sybasect.h:251: warning: type defaults to `int' in declaration of `MoneyObj'
sybasect.h:251: warning: data definition has no type or storage class
sybasect.h:255: parse error before '*' token
sybasect.h:255: parse error before '*' token
sybasect.h:255: warning: type defaults to `int' in declaration of 
`money_alloc'
sybasect.h:255: warning: function declaration isn't a prototype
sybasect.h:255: warning: data definition has no type or storage class
sybasect.h:256: parse error before '*' token
sybasect.h:256: warning: function declaration isn't a prototype
sybasect.h:268: parse error before "CS_DATETIME"
sybasect.h:268: warning: no semicolon at end of struct or union
sybasect.h:268: warning: no semicolon at end of struct or union
sybasect.h:269: warning: type defaults to `int' in declaration of 
`datetime4'
sybasect.h:269: warning: data definition has no type or storage class
sybasect.h:270: warning: type defaults to `int' in declaration of `v'
sybasect.h:270: warning: data definition has no type or storage class
sybasect.h:271: parse error before "daterec"
sybasect.h:271: warning: type defaults to `int' in declaration of `daterec'
sybasect.h:271: warning: data definition has no type or storage class
sybasect.h:273: parse error before '}' token
sybasect.h:273: warning: type defaults to `int' in declaration of 
`DateTimeObj'
sybasect.h:273: warning: data definition has no type or storage class
sybasect.h:290: parse error before "CS_CLIENTMSG"
sybasect.h:290: warning: no semicolon at end of struct or union
sybasect.h:292: parse error before '}' token
sybasect.h:292: warning: type defaults to `int' in declaration of 
`CS_CLIENTMSGObj'
sybasect.h:292: warning: data definition has no type or storage class
sybasect.h:296: parse error before "CS_SERVERMSG"
sybasect.h:296: warning: no semicolon at end of struct or union
sybasect.h:298: parse error before '}' token
sybasect.h:298: warning: type defaults to `int' in declaration of 
`CS_SERVERMSGObj'
sybasect.h:298: warning: data definition has no type or storage class
blk.c:16: parse error before '*' token
blk.c:17: warning: function declaration isn't a prototype
blk.c: In function `CS_BLKDESC_blk_bind':
blk.c:19: `databuf' undeclared (first use in this function)
blk.c:19: (Each undeclared identifier is reported only once
blk.c:19: for each function it appears in.)
blk.c:20: `CS_RETCODE' undeclared (first use in this function)
blk.c:20: parse error before "status"
blk.c:22: `args' undeclared (first use in this function)
blk.c:25: `self' undeclared (first use in this function)
blk.c:33: `status' undeclared (first use in this function)
blk.c:33: warning: implicit declaration of function `blk_bind'
blk.c: At top level:
blk.c:114: parse error before '*' token
blk.c:115: warning: function declaration isn't a prototype
blk.c: In function `CS_BLKDESC_blk_done':
blk.c:117: `CS_RETCODE' undeclared (first use in this function)
blk.c:117: parse error before "status"
blk.c:118: `CS_INT' undeclared (first use in this function)
blk.c:120: `args' undeclared (first use in this function)
blk.c:123: `self' undeclared (first use in this function)
blk.c:132: `status' undeclared (first use in this function)
blk.c:132: warning: implicit declaration of function `blk_done'
blk.c:132: `outrow' undeclared (first use in this function)
blk.c: At top level:
blk.c:149: parse error before '*' token
blk.c:150: warning: function declaration isn't a prototype
blk.c: In function `CS_BLKDESC_blk_drop':
blk.c:151: `CS_RETCODE' undeclared (first use in this function)
blk.c:151: parse error before "status"
blk.c:153: `args' undeclared (first use in this function)
blk.c:156: `self' undeclared (first use in this function)
blk.c:165: `status' undeclared (first use in this function)
blk.c:165: warning: implicit declaration of function `blk_drop'
blk.c:171: `CS_SUCCEED' undeclared (first use in this function)
blk.c: At top level:
blk.c:182: parse error before '*' token
blk.c:183: warning: function declaration isn't a prototype
blk.c: In function `CS_BLKDESC_blk_init':
blk.c:186: `CS_RETCODE' undeclared (first use in this function)
blk.c:186: parse error before "status"
blk.c:188: `args' undeclared (first use in this function)
blk.c:191: `self' undeclared (first use in this function)
blk.c:199: `status' undeclared (first use in this function)
blk.c:199: warning: implicit declaration of function `blk_init'
blk.c:199: `CS_NULLTERM' undeclared (first use in this function)
blk.c: In function `property_type':
blk.c:217: `BLK_IDENTITY' undeclared (first use in this function)
blk.c: At top level:
blk.c:250: parse error before '*' token
blk.c:251: warning: function declaration isn't a prototype
blk.c: In function `CS_BLKDESC_blk_props':
blk.c:254: `CS_RETCODE' undeclared (first use in this function)
blk.c:254: parse error before "status"
blk.c:255: `CS_INT' undeclared (first use in this function)
blk.c:256: `CS_BOOL' undeclared (first use in this function)
blk.c:257: `CS_NUMERIC' undeclared (first use in this function)
blk.c:259: `args' undeclared (first use in this function)
blk.c:262: `self' undeclared (first use in this function)
blk.c:268: `CS_SET' undeclared (first use in this function)
blk.c:275: `bool_value' undeclared (first use in this function)
blk.c:282: `status' undeclared (first use in this function)
blk.c:282: warning: implicit declaration of function `blk_props'
blk.c:283: `CS_UNUSED' undeclared (first use in this function)
blk.c:297: `int_value' undeclared (first use in this function)
blk.c:328: parse error before ')' token
blk.c:332: `CS_MAX_PREC' undeclared (first use in this function)
blk.c:332: warning: unused variable `text'
blk.c:351: `CS_GET' undeclared (first use in this function)
blk.c:398: `numeric_value' undeclared (first use in this function)
blk.c:405: warning: unused variable `text'
blk.c: At top level:
blk.c:463: parse error before '*' token
blk.c:464: warning: function declaration isn't a prototype
blk.c: In function `CS_BLKDESC_blk_rowxfer':
blk.c:465: `CS_RETCODE' undeclared (first use in this function)
blk.c:465: parse error before "status"
blk.c:467: `args' undeclared (first use in this function)
blk.c:470: `self' undeclared (first use in this function)
blk.c:478: `status' undeclared (first use in this function)
blk.c:478: warning: implicit declaration of function `blk_rowxfer'
blk.c: At top level:
blk.c:609: parse error before '*' token
blk.c:610: warning: function declaration isn't a prototype
blk.c: In function `bulk_alloc':
blk.c:611: `self' undeclared (first use in this function)
blk.c:617: parse error before ')' token
blk.c:625: request for member `debug' in something not a structure or union
blk.c:659: `CS_SUCCEED' undeclared (first use in this function)
blk.c: At top level:
blk.c:662: parse error before '*' token
blk.c:663: warning: function declaration isn't a prototype
blk.c: In function `CS_BLKDESC_dealloc':
blk.c:680: `self' undeclared (first use in this function)
blk.c: At top level:
blk.c:687: parse error before ')' token
blk.c:687: initializer element is not constant
blk.c:687: (near initialization for `CS_BLKDESC_memberlist[0].offset')
blk.c:687: initializer element is not constant
blk.c:687: (near initialization for `CS_BLKDESC_memberlist[0]')
blk.c:688: parse error before ')' token
blk.c:688: initializer element is not constant
blk.c:688: (near initialization for `CS_BLKDESC_memberlist[1].offset')
blk.c:688: initializer element is not constant
blk.c:688: (near initialization for `CS_BLKDESC_memberlist[1]')
blk.c:689: parse error before ')' token
blk.c:689: initializer element is not constant
blk.c:689: (near initialization for `CS_BLKDESC_memberlist[2].offset')
blk.c:689: initializer element is not constant
blk.c:689: (near initialization for `CS_BLKDESC_memberlist[2]')
blk.c:690: initializer element is not constant
blk.c:690: (near initialization for `CS_BLKDESC_memberlist[3]')
blk.c:693: parse error before '*' token
blk.c:694: warning: function declaration isn't a prototype
blk.c: In function `CS_BLKDESC_getattr':
blk.c:697: `self' undeclared (first use in this function)
blk.c:697: `name' undeclared (first use in this function)
blk.c: At top level:
blk.c:704: parse error before '*' token
blk.c:705: warning: function declaration isn't a prototype
blk.c: In function `CS_BLKDESC_setattr':
blk.c:706: warning: comparison between pointer and integer
blk.c:710: `self' undeclared (first use in this function)
blk.c:710: `name' undeclared (first use in this function)
blk.c:710: warning: passing arg 4 of `PyMember_Set' makes pointer from 
integer without a cast
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DWANT_BULKCOPY 
-I/usr/local/sybase/include -I/usr/local/python-threads/include/python2.2 -c 
blk.c -o build/temp.linux-i686-2.2/blk.o
error: command 'gcc' failed with exit status 1





_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.