After upgrading to the latest Mandriva Linux I can no longer compile
Matplotlib. The following error occurs:
···
================
In file included from src/backend_agg.cpp:37:
src/swig_runtime.h: In function 'void SWIG_Python_AddErrorMsg(const
char*)':
src/swig_runtime.h:859: error: format not a string literal and no
format arguments
error: command 'gcc' failed with exit status 1
This happens with all of 0.98.5.2, 0.98.5.3 and svn versions of
matplotlib.
System Info:
BUILDING MATPLOTLIB
matplotlib: 0.98.6svn
python: 2.6.1 (r261:67515, Apr 12 2009, 04:14:16)
[GCC
4.3.2]
platform: linux2
REQUIRED DEPENDENCIES
numpy: 1.3.0
freetype2: 9.20.3
OPTIONAL BACKEND DEPENDENCIES
libpng: 1.2.35
Tkinter: Tkinter: 67083, Tk: 8.6, Tcl: 8.6
* Guessing the library and include directories
for
* Tcl and Tk because the tclConfig.sh and
* tkConfig.sh could not be found and/or parsed.
wxPython: 2.8.9.2
* WxAgg extension not required for wxPython >=
2.8
Gtk+: gtk+: 2.16.1, glib: 2.20.1, pygtk: 2.14.1,
pygobject: 2.16.1
Mac OS X native: no
Qt: no
Qt4: Qt: 4.5.0, PyQt4: 4.4.4
Cairo: 1.8.2
OPTIONAL DATE/TIMEZONE DEPENDENCIES
datetime: present, version unknown
dateutil: 1.4.1
pytz: 2008i
OPTIONAL USETEX DEPENDENCIES
dvipng: 1.9
ghostscript: 8.64
latex: 3.141592
pdftops: 0.10.6
SWIG version is 1.3.38
Any ideas?
Johann