Dear Sam,
Could you please try the following patch? I think it will fix the issue,
but I'm not sure -- I don't have this problem on my linux system. If it
works, I'll commit it to svn.
(Robert Kern suggested modifying the setup.py to include a compiler
command-line directive. IMO this is better because it will be in the
source file and is thus more visible to anyone who wants to re-use the
code. Additionally, it will modify the file, triggering a re-build.)
Samuel M. Smith wrote:
Well, I gave up. I regressed and installed numpy 0.9.6 from the
package installer and looks like matplotlib works now.
It sure blows my confidence when two months go by and there are
enough changes that I can't install from source anymore.
I would like to try again but it would be nice to know what you did
to get it to work since what I did last time no longer works.
Sam
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
Index: src/_backend_agg.cpp
===================================================================
--- src/_backend_agg.cpp (revision 2412)
+++ src/_backend_agg.cpp (working copy)
@@ -33,6 +33,7 @@
#ifdef NUMERIC
#include "Numeric/arrayobject.h"
#else
+#define PY_ARRAY_TYPES_PREFIX NumPy
#include "numpy/arrayobject.h"
#endif
#endif
Index: src/cntr.c
===================================================================
--- src/cntr.c (revision 2412)
+++ src/cntr.c (working copy)
@@ -25,6 +25,7 @@
#ifdef NUMERIC
#include "Numeric/arrayobject.h"
#else
+#define PY_ARRAY_TYPES_PREFIX NumPy
#include "numpy/arrayobject.h"
#endif
#endif
Index: src/_backend_gdk.c
===================================================================
--- src/_backend_gdk.c (revision 2412)
+++ src/_backend_gdk.c (working copy)
@@ -9,6 +9,7 @@
#ifdef NUMERIC
#include "Numeric/arrayobject.h"
#else
+#define PY_ARRAY_TYPES_PREFIX NumPy
#include "numpy/arrayobject.h"
#endif
#endif
Index: src/_image.cpp
===================================================================
--- src/_image.cpp (revision 2412)
+++ src/_image.cpp (working copy)
@@ -14,6 +14,7 @@
#ifdef NUMERIC
#include "Numeric/arrayobject.h"
#else
+#define PY_ARRAY_TYPES_PREFIX NumPy
#include "numpy/arrayobject.h"
#endif
#endif
Index: src/_transforms.cpp
===================================================================
--- src/_transforms.cpp (revision 2412)
+++ src/_transforms.cpp (working copy)
@@ -11,6 +11,7 @@
# ifdef NUMERIC
# include "Numeric/arrayobject.h"
# else
+# define PY_ARRAY_TYPES_PREFIX NumPy
# include "numpy/arrayobject.h"
# endif
#endif
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig