[SciPy-user] need help with gcc error

ehaux at ucmerced.edu ehaux at ucmerced.edu
Mon Jan 26 17:28:12 CST 2004


can anyone help with this??
i downloaded from cvs and did:
$python setup.py build

but got the following errors:

uild/temp.linux-i686-2.3/Lib/xplt/src/play/x11/colors.o -DGISTPATH="/usr/lib/python2.3/site-packages/scipy/xplt/gistdata"
In file included from Lib/xplt/src/play/x11/colors.c:9:
Lib/xplt/src/play/x11/playx.h:11:22: X11/Xlib.h: No such file or directory
In file included from Lib/xplt/src/play/x11/colors.c:9:
Lib/xplt/src/play/x11/playx.h:29: error: parse error before "Display"
Lib/xplt/src/play/x11/playx.h:29: warning: no semicolon at end of struct or union
Lib/xplt/src/play/x11/playx.h:31: warning: type defaults to `int' in declaration of `wm_protocols'
Lib/xplt/src/play/x11/playx.h:31: warning: type defaults to `int' in declaration of `wm_delete'
Lib/xplt/src/play/x11/playx.h:31: warning: data definition has no type or storage class
Lib/xplt/src/play/x11/playx.h:34: error: parse error before '*' token
Lib/xplt/src/play/x11/playx.h:34: warning: type defaults to `int' in declaration of `font'
Lib/xplt/src/play/x11/playx.h:34: warning: data definition has no type or storage class
Lib/xplt/src/play/x11/playx.h:38: error: parse error before "XFontStruct"
Lib/xplt/src/play/x11/playx.h:38: warning: no semicolon at end of struct or union
Lib/xplt/src/play/x11/playx.h:39: error: conflicting types for `font'
Lib/xplt/src/play/x11/playx.h:34: error: previous declaration of `font'
Lib/xplt/src/play/x11/playx.h:40: error: parse error before '}' token
Lib/xplt/src/play/x11/playx.h:40: warning: type defaults to `int' in declaration of `cached'
Lib/xplt/src/play/x11/playx.h:40: warning: data definition has no type or storage class
Lib/xplt/src/play/x11/playx.h:48: error: parse error before "cursors"
Lib/xplt/src/play/x11/playx.h:48: warning: type defaults to `int' in declaration of `cursors'
Lib/xplt/src/play/x11/playx.h:48: warning: data definition has no type or storage class
Lib/xplt/src/play/x11/playx.h:62: error: parse error before '}' token
Lib/xplt/src/play/x11/playx.h:72: error: parse error before "Window"
Lib/xplt/src/play/x11/playx.h:72: warning: no semicolon at end of struct or union
Lib/xplt/src/play/x11/playx.h:81: error: parse error before "cmap"
Lib/xplt/src/play/x11/playx.h:81: warning: type defaults to `int' in declaration of `cmap'
Lib/xplt/src/play/x11/playx.h:81: warning: data definition has no type or storage class
Lib/xplt/src/play/x11/playx.h:83: error: parse error before "colors"
Lib/xplt/src/play/x11/playx.h:83: warning: type defaults to `int' in declaration of `colors'
Lib/xplt/src/play/x11/playx.h:83: warning: data definition has no type or storage class
Lib/xplt/src/play/x11/playx.h:85: error: parse error before "gray"
Lib/xplt/src/play/x11/playx.h:85: warning: type defaults to `int' in declaration of `gray'
Lib/xplt/src/play/x11/playx.h:85: warning: data definition has no type or storage class
Lib/xplt/src/play/x11/playx.h:90: error: parse error before "gc"
Lib/xplt/src/play/x11/playx.h:90: warning: type defaults to `int' in declaration of `gc'
Lib/xplt/src/play/x11/playx.h:90: warning: data definition has no type or storage class
Lib/xplt/src/play/x11/playx.h:99: error: parse error before '*' token
Lib/xplt/src/play/x11/playx.h:99: warning: type defaults to `int' in declaration of `image'
Lib/xplt/src/play/x11/playx.h:99: warning: data definition has no type or storage class
Lib/xplt/src/play/x11/playx.h:101: error: parse error before "pixmap"
Lib/xplt/src/play/x11/playx.h:101: warning: type defaults to `int' in declaration of `pixmap'
Lib/xplt/src/play/x11/playx.h:101: warning: data definition has no type or storage class
Lib/xplt/src/play/x11/playx.h:102: error: parse error before "rotgc"
Lib/xplt/src/play/x11/playx.h:102: warning: type defaults to `int' in declaration of `rotgc'
Lib/xplt/src/play/x11/playx.h:102: warning: data definition has no type or storage class
Lib/xplt/src/play/x11/playx.h:104: error: parse error before '}' token
Lib/xplt/src/play/x11/playx.h:110: error: parse error before "Drawable"
Lib/xplt/src/play/x11/playx.h:110: warning: no semicolon at end of struct or union
Lib/xplt/src/play/x11/playx.h:114: error: parse error before "cmap"
Lib/xplt/src/play/x11/playx.h:114: warning: type defaults to `int' in declaration of `cmap'
Lib/xplt/src/play/x11/playx.h:114: warning: data definition has no type or storage class
Lib/xplt/src/play/x11/playx.h:118: error: parse error before '}' token
Lib/xplt/src/play/x11/playx.h:121: error: parse error before "x_pt_list"
Lib/xplt/src/play/x11/playx.h:121: warning: type defaults to `int' in declaration of `x_pt_list'
Lib/xplt/src/play/x11/playx.h:121: warning: data definition has no type or storage class
Lib/xplt/src/play/x11/playx.h:127: error: parse error before '*' token
Lib/xplt/src/play/x11/playx.h:127: warning: function declaration isn't a prototype
Lib/xplt/src/play/x11/playx.h:128: error: parse error before "Drawable"
Lib/xplt/src/play/x11/playx.h:128: warning: function declaration isn't a prototype
Lib/xplt/src/play/x11/playx.h:131: error: parse error before '*' token
Lib/xplt/src/play/x11/playx.h:131: warning: function declaration isn't a prototype
Lib/xplt/src/play/x11/playx.h:132: error: parse error before '*' token
Lib/xplt/src/play/x11/playx.h:132: warning: function declaration isn't a prototype
Lib/xplt/src/play/x11/playx.h:142: error: parse error before '*' token
Lib/xplt/src/play/x11/playx.h:142: warning: type defaults to `int' in declaration of `x_font'
Lib/xplt/src/play/x11/playx.h:142: warning: data definition has no type or storage class
Lib/xplt/src/play/x11/playx.h:143: error: parse error before '*' token
Lib/xplt/src/play/x11/playx.h:143: warning: function declaration isn't a prototype
Lib/xplt/src/play/x11/playx.h:144: error: parse error before "x_getgc"
Lib/xplt/src/play/x11/playx.h:144: warning: type defaults to `int' in declaration of `x_getgc'
Lib/xplt/src/play/x11/playx.h:144: warning: data definition has no type or storage class
Lib/xplt/src/play/x11/playx.h:157: error: parse error before "x_cursor"
Lib/xplt/src/play/x11/playx.h:157: warning: type defaults to `int' in declaration of `x_cursor'
Lib/xplt/src/play/x11/playx.h:157: warning: data definition has no type or storage class
Lib/xplt/src/play/x11/playx.h:162: error: parse error before '*' token
Lib/xplt/src/play/x11/playx.h:162: warning: function declaration isn't a prototype
Lib/xplt/src/play/x11/playx.h:164: error: parse error before '*' token
Lib/xplt/src/play/x11/playx.h:164: warning: function declaration isn't a prototype
Lib/xplt/src/play/x11/playx.h:165: error: parse error before '*' token
Lib/xplt/src/play/x11/playx.h:165: warning: function declaration isn't a prototype
Lib/xplt/src/play/x11/colors.c:12: error: parse error before "x_getgc"
Lib/xplt/src/play/x11/colors.c:13: warning: return type defaults to `int'
Lib/xplt/src/play/x11/colors.c: In function `x_getgc':
Lib/xplt/src/play/x11/colors.c:14: error: `GC' undeclared (first use in this function)
Lib/xplt/src/play/x11/colors.c:14: error: (Each undeclared identifier is reported only once
Lib/xplt/src/play/x11/colors.c:14: error: for each function it appears in.)
Lib/xplt/src/play/x11/colors.c:14: error: parse error before "gc"
Lib/xplt/src/play/x11/colors.c:15: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:16: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:17: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:17: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:17: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:17: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:18: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:20: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:26: warning: implicit declaration of function `XSetFillStyle'
Lib/xplt/src/play/x11/colors.c:26: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:27: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c: In function `p_color':
Lib/xplt/src/play/x11/colors.c:35: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:36: error: `GC' undeclared (first use in this function)
Lib/xplt/src/play/x11/colors.c:36: error: parse error before "gc"
Lib/xplt/src/play/x11/colors.c:37: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:42: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:45: warning: implicit declaration of function `XSetFunction'
Lib/xplt/src/play/x11/colors.c:45: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:45: error: `GXxor' undeclared (first use in this function)
Lib/xplt/src/play/x11/colors.c:47: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:47: error: `GXcopy' undeclared (first use in this function)
Lib/xplt/src/play/x11/colors.c:49: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:50: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:50: error: `FillOpaqueStippled' undeclared (first use in this function)
Lib/xplt/src/play/x11/colors.c:51: warning: implicit declaration of function `XSetStipple'
Lib/xplt/src/play/x11/colors.c:51: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:51: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:52: warning: implicit declaration of function `XSetBackground'
Lib/xplt/src/play/x11/colors.c:52: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:52: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:54: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:55: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:55: error: `FillSolid' undeclared (first use in this function)
Lib/xplt/src/play/x11/colors.c:56: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:56: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:59: warning: implicit declaration of function `XSetForeground'
Lib/xplt/src/play/x11/colors.c:59: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:60: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c: In function `x_getpixel':
Lib/xplt/src/play/x11/colors.c:67: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:69: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:69: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:71: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:77: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:77: error: `TrueColor' undeclared (first use in this function)
Lib/xplt/src/play/x11/colors.c:77: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:77: error: `DirectColor' undeclared (first use in this function)
Lib/xplt/src/play/x11/colors.c:78: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:78: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:79: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:79: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:79: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:79: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:80: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:80: error: `PseudoColor' undeclared (first use in this function)
Lib/xplt/src/play/x11/colors.c:81: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:82: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:88: error: dereferencing pointer to incomplete type
Lib/xplt/src/play/x11/colors.c:90: error: dereferencing pointer to incomplete type
error: command 'gcc' failed with exit status 1
shaman at peyote:/usr/lib/python2.3/site-packages/scipy$





More information about the SciPy-user mailing list