Hi all, Again, I have some problems in building scipy from latest cvs. Python 2.1.2 Numeric 23.0 Atlas available f2py 2.35.229-1505 This is the output Any suggestion ? Nils building 'kiva.agg._kiva' extension gcc -g -O2 -Wstrict-prototypes -fPIC -I/export/home/wagner/cvs/scipy/Lib_chaco/agg2/include -I/export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/include -I/export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src -I/export/home/wagner/cvs/scipy/Lib/weave -I/export/home/wagner/cvs/scipy/Lib/weave/scxx -I/usr/local/include/python2.1 -c /export/home/wagner/cvs/scipy/_kiva.cpp -o build/temp.linux-i686-2.1/_kiva.o /export/home/wagner/cvs/scipy/_kiva.cpp:5:39: agg_renderer_bgra32_basic.h: Datei oder Verzeichnis nicht gefunden (file not found) /export/home/wagner/cvs/scipy/_kiva.cpp:6:39: agg_renderer_rgba32_basic.h: Datei oder Verzeichnis nicht gefunden /export/home/wagner/cvs/scipy/_kiva.cpp:8:31: agg_renderer_util.h: Datei oder Verzeichnis nicht gefunden /export/home/wagner/cvs/scipy/_kiva.cpp:12:28: agg_rasterizer.h: Datei oder Verzeichnis nicht gefunden In file included from /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_agg.h:7, from /export/home/wagner/cvs/scipy/_kiva.cpp:14: /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:19:39: agg_renderer_bgra32_basic.h: Datei oder Verzeichnis nicht gefunden /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:20:28: agg_rasterizer.h: Datei oder Verzeichnis nicht gefunden In file included from /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_agg.h:7, from /export/home/wagner/cvs/scipy/_kiva.cpp:14: /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:149: error: syntax error before `;' token /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:150: error: ` scanline_u8' undeclared in namespace `agg' /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:150: error: syntax error before `;' token /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:191: error: ` line_join_e' was not declared in this scope /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:191: error: parse error before `)' token /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:196: error: ` line_cap_e' was not declared in this scope /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:196: error: parse error before `)' token /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:274: error: ` text_draw_mode_e' was not declared in this scope /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:274: error: parse error before `)' token /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:279: error: semicolon missing after declaration of `kiva::graphics_context_bitmap' /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h: In constructor `kiva::graphics_context_bitmap::graphics_context_bitmap()': /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:154: error: class `kiva::graphics_context_bitmap' does not have any field named `renderer' /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h: In constructor `kiva::graphics_context_bitmap::graphics_context_bitmap(unsigned char*, int, int, int)': /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:164: error: class `kiva::graphics_context_bitmap' does not have any field named `renderer' /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h: In member function `void kiva::graphics_context_bitmap::set_line_join(...)': /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:193: error: ` value' undeclared (first use this function) /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:193: error: (Each undeclared identifier is reported only once for each function it appears in.) /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h: In member function `void kiva::graphics_context_bitmap::set_line_cap(...)': /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:198: error: ` value' undeclared (first use this function) /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h: In member function `void kiva::graphics_context_bitmap::set_line_dash(double*, int, double)': /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:203: error: ` dash_type' undeclared (first use this function) /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h: At global scope: /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:279: error: ` font_type' was not declared in this scope /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:279: error: ` font' was not declared in this scope /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:280: error: ISO C++ forbids defining types within return type /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:280: error: two or more data types in declaration of `set_font' /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:280: error: syntax error before `{' token /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:284: error: syntax error before `&' token /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h: In function `void save_state()': /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:294: error: ` state_stack' undeclared (first use this function) /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:294: error: ` state' undeclared (first use this function) /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:295: error: ` path' undeclared (first use this function) /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h: In function `void curve_to(double, double, double, double, double, double)': /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:390: error: calling type `agg::curve4' like a method /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h: In function `void quad_curve_to(double, double, double, double)': /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:396: error: calling type `agg::curve3' like a method /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h: In function `void rect(double, double, double, double)': /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:426: error: calling type `agg::rect' like a method /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h: At global scope: /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:434: error: parse error before `)' token /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h: In function `void clip_to_rect(double, double, double, double)': /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:468: error: ` buf' undeclared (first use this function) In file included from /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_agg.h:7, from /export/home/wagner/cvs/scipy/_kiva.cpp:14: /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h: In function `void _stroke_path()': /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:494: error: ` final_stroke_path' undeclared (first use this function) In file included from /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_agg.h:7, from /export/home/wagner/cvs/scipy/_kiva.cpp:14: /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h: In function `void final_stroke_path(agg::conv_stroke<agg::path_storage, agg::null_markers>&)': /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:517: error: ` void final_stroke_path(agg::conv_stroke<agg::path_storage, agg::null_markers>&)' used prior to declaration /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:525: error: ` renderer' undeclared (first use this function) /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:533: error: ` CAP_ROUND' undeclared (first use this function) /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:535: error: ` CAP_BUTT' undeclared (first use this function) /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:537: error: ` CAP_SQUARE' undeclared (first use this function) /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:542: error: ` JOIN_MITER' undeclared (first use this function) /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:544: error: ` JOIN_ROUND' undeclared (first use this function) /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:546: error: ` JOIN_BEVEL' undeclared (first use this function) /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:551: error: ` rasterizer' undeclared (first use this function) In file included from /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_agg.h:7, from /export/home/wagner/cvs/scipy/_kiva.cpp:14: /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h: At global scope: /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:594: error: ` filling_rule_e' undeclared in namespace `agg' /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:594: error: parse error before `)' token /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h: In function `void _fill_path(...)': /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:597: error: ` rule' undeclared (first use this function) In file included from /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_agg.h:7, from /export/home/wagner/cvs/scipy/_kiva.cpp:14: /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h: In function `void fill_path()': /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:622: error: ` fill_non_zero' undeclared in namespace `agg' /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h: In function `void eof_fill_path()': /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:628: error: ` fill_even_odd' undeclared in namespace `agg' /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h: At global scope: /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:632: error: ` draw_mode_e' was not declared in this scope /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:632: error: parse error before `=' token /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h: In function `void draw_path(...)': /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:634: error: ` mode' undeclared (first use this function) /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:636: error: ` FILL' undeclared (first use this function) /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:637: error: ` fill_non_zero' undeclared in namespace `agg' /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:639: error: ` EOF_FILL' undeclared (first use this function) /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:640: error: ` fill_even_odd' undeclared in namespace `agg' /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:642: error: ` STROKE' undeclared (first use this function) /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:645: error: ` FILL_STROKE' undeclared (first use this function) /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:646: error: ` fill_non_zero' undeclared in namespace `agg' /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:649: error: ` EOF_FILL_STROKE' undeclared (first use this function) /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:650: error: ` fill_even_odd' undeclared in namespace `agg' /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h: At global scope: /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_graphics_context.h:693: error: parse error before `}' token In file included from /usr/local/include/python2.1/Python.h:24, from /export/home/wagner/cvs/scipy/_kiva.cpp:15: /usr/local/include/python2.1/config.h:165:1: warning: "_POSIX_THREADS" redefined In file included from /usr/include/unistd.h:175, from /usr/include/g++/i486-suse-linux/bits/gthr-default.h:38, from /usr/include/g++/i486-suse-linux/bits/gthr.h:98, from /usr/include/g++/i486-suse-linux/bits/c++io.h:37, from /usr/include/g++/bits/fpos.h:44, from /usr/include/g++/iosfwd:49, from /usr/include/g++/ios:44, from /usr/include/g++/ostream:45, from /usr/include/g++/iostream:45, from /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_compiled_path.h:4, from /export/home/wagner/cvs/scipy/Lib_chaco/kiva/agg/src/kiva_agg.h:6, from /export/home/wagner/cvs/scipy/_kiva.cpp:14: /usr/include/bits/posix_opt.h:70:1: warning: this is the location of the previous definition In file included from /usr/include/g++/complex:49, from /export/home/wagner/cvs/scipy/_kiva.cpp:18: /usr/include/g++/bits/cpp_type_traits.h:80: error: `__is_void' is not a template /usr/include/g++/bits/cpp_type_traits.h:104: error: `__is_integer' is not a template /usr/include/g++/bits/cpp_type_traits.h:113: error: `__is_integer' is not a template /usr/include/g++/bits/cpp_type_traits.h:122: error: `__is_integer' is not a template /usr/include/g++/bits/cpp_type_traits.h:131: error: `__is_integer' is not a template /usr/include/g++/bits/cpp_type_traits.h:141: error: `__is_integer' is not a template /usr/include/g++/bits/cpp_type_traits.h:151: error: `__is_integer' is not a template /usr/include/g++/bits/cpp_type_traits.h:160: error: `__is_integer' is not a template /usr/include/g++/bits/cpp_type_traits.h:169: error: `__is_integer' is not a template /usr/include/g++/bits/cpp_type_traits.h:178: error: `__is_integer' is not a template /usr/include/g++/bits/cpp_type_traits.h:187: error: `__is_integer' is not a template /usr/include/g++/bits/cpp_type_traits.h:196: error: `__is_integer' is not a template /usr/include/g++/bits/cpp_type_traits.h:205: error: `__is_integer' is not a template /usr/include/g++/bits/cpp_type_traits.h:214: error: `__is_integer' is not a template /usr/include/g++/bits/cpp_type_traits.h:236: error: `__is_floating' is not a template /usr/include/g++/bits/cpp_type_traits.h:245: error: `__is_floating' is not a template /usr/include/g++/bits/cpp_type_traits.h:254: error: `__is_floating' is not a template /usr/include/g++/bits/cpp_type_traits.h:269: error: parse error before `>' token /usr/include/g++/bits/cpp_type_traits.h:270: error: missing ';' before right brace /usr/include/g++/bits/cpp_type_traits.h:281: error: parse error before `>' token /usr/include/g++/bits/cpp_type_traits.h:282: error: missing ';' before right brace /usr/include/g++/bits/cpp_type_traits.h:283: error: parse error before `}' token /usr/include/g++/bits/cpp_type_traits.h:297: error: parse error before `}' token In file included from /usr/include/g++/complex:51, from /export/home/wagner/cvs/scipy/_kiva.cpp:18: /usr/include/g++/sstream:62: error: parse error before `<' token /usr/include/g++/sstream:67: error: syntax error before `;' token /usr/include/g++/sstream:70: error: syntax error before `;' token /usr/include/g++/sstream:72: error: `traits_type' is not a class or namespace /usr/include/g++/sstream:72: error: `int_type' is not a class or namespace /usr/include/g++/sstream:72: error: using `typename' outside of template /usr/include/g++/sstream:72: error: `traits_type' fails to be a typedef or built in type /usr/include/g++/sstream:73: error: `traits_type' is not a class or namespace /usr/include/g++/sstream:73: error: `pos_type' is not a class or namespace /usr/include/g++/sstream:73: error: using `typename' outside of template /usr/include/g++/sstream:73: error: `traits_type' fails to be a typedef or built in type /usr/include/g++/sstream:74: error: `traits_type' is not a class or namespace /usr/include/g++/sstream:74: error: `off_type' is not a class or namespace /usr/include/g++/sstream:74: error: using `typename' outside of template /usr/include/g++/sstream:74: error: `traits_type' fails to be a typedef or built in type /usr/include/g++/sstream:82: error: `char_type' was not declared in this scope /usr/include/g++/sstream:82: error: `traits_type' was not declared in this scope /usr/include/g++/sstream:82: error: syntax error before `;' token /usr/include/g++/sstream:83: error: `char_type' was not declared in this scope /usr/include/g++/sstream:83: error: `_Traits' was not declared in this scope /usr/include/g++/sstream:83: error: `_Alloc' was not declared in this scope /usr/include/g++/sstream:83: error: syntax error before `;' token /usr/include/g++/sstream:84: error: `__string_type' is not a class or namespace /usr/include/g++/sstream:84: error: `size_type' is not a class or namespace /usr/include/g++/sstream:84: error: using `typename' outside of template /usr/include/g++/sstream:87: error: parse error before `protected' /usr/include/g++/sstream:119: error: parse error before `&' token /usr/include/g++/sstream:121: error: only declarations of constructors can be `explicit' /usr/include/g++/sstream: In function `int basic_stringbuf(...)': /usr/include/g++/sstream:121: error: only constructors take base initializers /usr/include/g++/sstream:121: error: `__str' undeclared (first use this function) /usr/include/g++/sstream:122: confused by earlier errors, bailing out error: command 'gcc' failed with exit status 1 wagner@lisa:~/cvs/scipy>