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

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



David Gowers wrote:


On 1/27/07, *Luke Paireepinart* <rabidpoobear-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx <mailto:rabidpoobear-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx>> 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
"

Try removing the Setup file and building again or running python config.py. I'm still seeing the /usr/include/python2.6/Numeric directory which should be gone.


-Travis