Has anyone been able to successfully compile matplotlib in Cygwin? I would imagine so, so if you've been able to do it, please help! Not quite sure why I'm having so much trouble, but the errors from the build step are below.
I think perhaps the python lists are empty (can't figure out what version of the libraries I have). Could someone please instruct me as to how to fix this? It'd be much appreciated. Thanks. $ python setup.py build basedirlist is: ['/usr/local', '/usr'] ============================================================================ BUILDING MATPLOTLIB matplotlib: 1.0.0 python: 2.6.5 (r265:79063, Jun 12 2010, 17:07:01) [GCC 4.3.4 20090804 (release) 1] platform: cygwin REQUIRED DEPENDENCIES numpy: 1.4.1 freetype2: found, but unknown version (no pkg-config) * WARNING: Could not find 'freetype2' headers in any * of '/usr/include', '.', '/usr/include/freetype2', * './freetype2'. OPTIONAL BACKEND DEPENDENCIES libpng: found, but unknown version (no pkg-config) * Could not find 'libpng' headers in any of * '/usr/include', '.' Traceback (most recent call last): File "setup.py", line 162, in <module> if check_for_tk() or (options['build_tkagg'] is True): File "/home/Adam/matplotlib-1.0.0/setupext.py", line 816, in check_for_tk explanation = add_tk_flags(module) File "/home/Adam/matplotlib-1.0.0/setupext.py", line 1080, in add_tk_flags result = parse_tcl_config(tcl_lib_dir, tk_lib_dir) File "/home/Adam/matplotlib-1.0.0/setupext.py", line 938, in parse_tcl_config tk_lib = tk_vars.get("default", "TK_LIB_SPEC")[1:-1].split()[0][2:] IndexError: list index out of range
------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users