Building matplotlib failed

python setup.py build results in

snip

g++: L: No such file or directory
g++: u: No such file or directory
g++: s: No such file or directory
g++: r: No such file or directory
g++: l: No such file or directory
g++: i: No such file or directory
g++: b: No such file or directory
g++: t: No such file or directory
g++: k: No such file or directory
g++: 8: No such file or directory
g++: 4: No such file or directory
g++: -E required when input is from standard input
g++: L: No such file or directory
g++: u: No such file or directory
g++: s: No such file or directory
g++: r: No such file or directory
g++: l: No such file or directory
g++: i: No such file or directory
g++: b: No such file or directory
g++: t: No such file or directory
g++: k: No such file or directory
g++: 8: No such file or directory
g++: 4: No such file or directory
g++: -E required when input is from standard input
error: Command "g++ -pthread -shared
build/temp.linux-i686-2.4/src/_tkagg.o
build/temp.linux-i686-2.4/CXX/cxx_extensions.o
build/temp.linux-i686-2.4/CXX/cxxsupport.o
build/temp.linux-i686-2.4/CXX/IndirectPythonInterface.o
build/temp.linux-i686-2.4/CXX/cxxextensions.o -L/usr/lib/tcl8.4/../ - L
/ u s r / l i b / t k 8 . 4 / . . / -L/usr/local/lib -L/usr/lib
-L/usr/local/lib -L/usr/lib -ltk8.4 -ltcl8.4 -lpng -lz -lstdc++ -lm
-lfreetype -lz -lstdc++ -lm -o
build/lib.linux-i686-2.4/matplotlib/backends/_tkagg.so" failed with exit
status 1

I just fixed this in cvs. Try updating again, but if non-dev checkout is
lagging, you can change line 320 in setupext.py to read:

o.tk_lib = os.path.join(str(tk.getvar('tk_library')), '../')

ยทยทยท

On Thursday 02 February 2006 11:49, Nils Wagner wrote:

python setup.py build results in

snip

g++: L: No such file or directory
g++: u: No such file or directory
g++: s: No such file or directory
g++: r: No such file or directory
g++: l: No such file or directory
g++: i: No such file or directory
g++: b: No such file or directory
g++: t: No such file or directory
g++: k: No such file or directory
g++: 8: No such file or directory
g++: 4: No such file or directory
g++: -E required when input is from standard input
g++: L: No such file or directory
g++: u: No such file or directory
g++: s: No such file or directory
g++: r: No such file or directory
g++: l: No such file or directory
g++: i: No such file or directory
g++: b: No such file or directory
g++: t: No such file or directory
g++: k: No such file or directory
g++: 8: No such file or directory
g++: 4: No such file or directory
g++: -E required when input is from standard input
error: Command "g++ -pthread -shared
build/temp.linux-i686-2.4/src/_tkagg.o
build/temp.linux-i686-2.4/CXX/cxx_extensions.o
build/temp.linux-i686-2.4/CXX/cxxsupport.o
build/temp.linux-i686-2.4/CXX/IndirectPythonInterface.o
build/temp.linux-i686-2.4/CXX/cxxextensions.o -L/usr/lib/tcl8.4/../ - L
/ u s r / l i b / t k 8 . 4 / . . / -L/usr/local/lib -L/usr/lib
-L/usr/local/lib -L/usr/lib -ltk8.4 -ltcl8.4 -lpng -lz -lstdc++ -lm
-lfreetype -lz -lstdc++ -lm -o
build/lib.linux-i686-2.4/matplotlib/backends/_tkagg.so" failed with exit
status 1

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

--
Darren S. Dale, Ph.D.
Cornell High Energy Synchrotron Source
Cornell University
200L Wilson Lab
Rt. 366 & Pine Tree Road
Ithaca, NY 14853

dd55@...163...
office: (607) 255-9894
fax: (607) 255-9001