[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] PATCH: Make PyGame use new NumPy





On 1/27/07, Luke Paireepinart <rabidpoobear@xxxxxxxxx> wrote:
[snip long e-mail]
>
>
> I'd like to see this included. Unfortunately, when I copy and paste it
> into a diff file using firefox+xemacs, and try to apply it, it says
> 'patch: **** malformed patch at line 5: --- 23,22 ----'
> Looking it over, it seems that your email program has removed some
> vital spaces -- for instance, after the - and +'s. I suggest attaching
> it to your email instead.
It is attached to his e-mail :)
-Luke

Okay -- gmail was displaying it inline. After extracting it correctly and applying it...

"
building 'pygame.surfarray' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -D_GNU_SOURCE= -D_REENTRANT -I/usr/include/SDL -I/usr/include/python2.6/Numeric -I/usr/include/python2.6 -c src/surfarray.c -o build/temp.linux- i686-2.6/src/surfarray.o
In file included from /usr/include/python2.6/Python.h:8,
                 from src/pygame.h:57,
                 from src/surfarray.c:23:
/usr/include/python2.6/pyconfig.h:923:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
src/surfarray.c:25:29: error: numpy/oldnumeric.h: No such file or directory
"
(more errors follow, due mainly to references to things in the lost header file.)


I'm using numpy 1.01 and python 2.6a0 SVN (as of today). I can use both of them quite normally (ie -- i can import and use numpy from python)