well im like running out of options i installed fonty pyhton , python qt4 , freetype-2.3.7 , python Imaging-1.1.6 , jpeg-6b ,pygame-1.8.1release , SDL-1.2.13 and last but not least zlib-1.2.3
and none of this helped me run either program
File "./ksplasher.py", line 4, in <module>
import pygame
this is the error i get when i did install pygame kinda frustrating ksplasherx jsut hangs and dies
heres the py game install errors
building 'pygame._numericsurfarray' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -D_REENTRANT -I/usr/X11R6/include -I/usr/local/include/SDL -I/usr/include/python2.5 -c src/_numericsurfarray.c -o build/temp.linux-i686-2.5/src/_numericsurfarray.o
In file included from src/_numericsurfarray.c:23:
src/pygame.h:60:20: error: Python.h: No such file or directory
In file included from src/_numericsurfarray.c:23:
src/pygame.h:84: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘lenfunc’
src/pygame.h:85: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ssizeargfunc’
src/pygame.h:86: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ssizeobjargproc’
src/pygame.h:87: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ssizessizeargfunc’
src/pygame.h:88: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ssizessizeobjargproc’
src/pygame.h:89: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘readbufferproc’
src/pygame.h:90: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘writebufferproc’
src/pygame.h:91: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘segcountproc’
src/pygame.h:92: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘charbufferproc’
src/pygame.h:196: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
src/pygame.h:237: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
src/pygame.h:272: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
src/pygame.h:311: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
src/pygame.h:349: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
src/pygame.h:408: error: expected specifier-qualifier-list before ‘PyObject’
src/pygame.h:415: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
src/pygame.h:457: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
src/pygame.h:525: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
In file included from src/_numericsurfarray.c:25:
src/numeric_arrayobject.h:66: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/numeric_arrayobject.h:67: error: expected ‘)’ before ‘*’ token
src/numeric_arrayobject.h:72: error: expected specifier-qualifier-list before ‘PyArray_GetItemFunc’
src/numeric_arrayobject.h:92: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
src/numeric_arrayobject.h:114: error: expected specifier-qualifier-list before ‘Py_intptr_t’
src/_numericsurfarray.c:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_numericsurfarray.c:100: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_numericsurfarray.c:140: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_numericsurfarray.c:189: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_numericsurfarray.c:290: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_numericsurfarray.c:431: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_numericsurfarray.c:536: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_numericsurfarray.c:651: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_numericsurfarray.c:835: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_numericsurfarray.c:1058: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_numericsurfarray.c:1121: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘surfarray_builtins’
src/_numericsurfarray.c: In function ‘init_numericsurfarray’:
src/_numericsurfarray.c:1145: error: ‘PyObject’ undeclared (first use in this function)
src/_numericsurfarray.c:1145: error: (Each undeclared identifier is reported only once
src/_numericsurfarray.c:1145: error: for each function it appears in.)
src/_numericsurfarray.c:1145: error: ‘module’ undeclared (first use in this function)
src/_numericsurfarray.c:1146: error: ‘numeric_module’ undeclared (first use in this function)
src/_numericsurfarray.c:1148: warning: implicit declaration of function ‘PyImport_ImportModule’
src/_numericsurfarray.c:1152: warning: implicit declaration of function ‘Py_InitModule3’
src/_numericsurfarray.c:1152: error: ‘surfarray_builtins’ undeclared (first usein this function)
src/_numericsurfarray.c:1155: error: ‘_module’ undeclared (first use in this function)
src/_numericsurfarray.c:1155: error: ‘_dict’ undeclared (first use in this function)
src/_numericsurfarray.c:1155: warning: implicit declaration of function ‘PyModule_GetDict’
src/_numericsurfarray.c:1155: error: ‘_c_api’ undeclared (first use in this function)
src/_numericsurfarray.c:1155: warning: implicit declaration of function ‘PyDict_GetItemString’
src/_numericsurfarray.c:1155: warning: implicit declaration of function ‘PyCObject_Check’
src/_numericsurfarray.c:1155: warning: implicit declaration of function ‘PyCObject_AsVoidPtr’
src/_numericsurfarray.c:1155: warning: implicit declaration of function ‘Py_DECREF’
src/_numericsurfarray.c:1157: error: ‘numpy’ undeclared (first use in this function)
src/_numericsurfarray.c:1157: error: ‘module_dict’ undeclared (first use in this function)
src/_numericsurfarray.c:1157: error: ‘c_api_object’ undeclared (first use in this function)
error: command 'gcc' failed with exit status 1
any ideas kind of frustrating as i would love to give back to linux community by making those kde splash screens :-)
starwolf
and none of this helped me run either program
File "./ksplasher.py", line 4, in <module>
import pygame
this is the error i get when i did install pygame kinda frustrating ksplasherx jsut hangs and dies
heres the py game install errors
building 'pygame._numericsurfarray' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -D_REENTRANT -I/usr/X11R6/include -I/usr/local/include/SDL -I/usr/include/python2.5 -c src/_numericsurfarray.c -o build/temp.linux-i686-2.5/src/_numericsurfarray.o
In file included from src/_numericsurfarray.c:23:
src/pygame.h:60:20: error: Python.h: No such file or directory
In file included from src/_numericsurfarray.c:23:
src/pygame.h:84: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘lenfunc’
src/pygame.h:85: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ssizeargfunc’
src/pygame.h:86: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ssizeobjargproc’
src/pygame.h:87: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ssizessizeargfunc’
src/pygame.h:88: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ssizessizeobjargproc’
src/pygame.h:89: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘readbufferproc’
src/pygame.h:90: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘writebufferproc’
src/pygame.h:91: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘segcountproc’
src/pygame.h:92: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘charbufferproc’
src/pygame.h:196: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
src/pygame.h:237: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
src/pygame.h:272: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
src/pygame.h:311: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
src/pygame.h:349: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
src/pygame.h:408: error: expected specifier-qualifier-list before ‘PyObject’
src/pygame.h:415: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
src/pygame.h:457: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
src/pygame.h:525: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
In file included from src/_numericsurfarray.c:25:
src/numeric_arrayobject.h:66: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/numeric_arrayobject.h:67: error: expected ‘)’ before ‘*’ token
src/numeric_arrayobject.h:72: error: expected specifier-qualifier-list before ‘PyArray_GetItemFunc’
src/numeric_arrayobject.h:92: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
src/numeric_arrayobject.h:114: error: expected specifier-qualifier-list before ‘Py_intptr_t’
src/_numericsurfarray.c:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_numericsurfarray.c:100: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_numericsurfarray.c:140: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_numericsurfarray.c:189: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_numericsurfarray.c:290: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_numericsurfarray.c:431: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_numericsurfarray.c:536: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_numericsurfarray.c:651: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_numericsurfarray.c:835: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_numericsurfarray.c:1058: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/_numericsurfarray.c:1121: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘surfarray_builtins’
src/_numericsurfarray.c: In function ‘init_numericsurfarray’:
src/_numericsurfarray.c:1145: error: ‘PyObject’ undeclared (first use in this function)
src/_numericsurfarray.c:1145: error: (Each undeclared identifier is reported only once
src/_numericsurfarray.c:1145: error: for each function it appears in.)
src/_numericsurfarray.c:1145: error: ‘module’ undeclared (first use in this function)
src/_numericsurfarray.c:1146: error: ‘numeric_module’ undeclared (first use in this function)
src/_numericsurfarray.c:1148: warning: implicit declaration of function ‘PyImport_ImportModule’
src/_numericsurfarray.c:1152: warning: implicit declaration of function ‘Py_InitModule3’
src/_numericsurfarray.c:1152: error: ‘surfarray_builtins’ undeclared (first usein this function)
src/_numericsurfarray.c:1155: error: ‘_module’ undeclared (first use in this function)
src/_numericsurfarray.c:1155: error: ‘_dict’ undeclared (first use in this function)
src/_numericsurfarray.c:1155: warning: implicit declaration of function ‘PyModule_GetDict’
src/_numericsurfarray.c:1155: error: ‘_c_api’ undeclared (first use in this function)
src/_numericsurfarray.c:1155: warning: implicit declaration of function ‘PyDict_GetItemString’
src/_numericsurfarray.c:1155: warning: implicit declaration of function ‘PyCObject_Check’
src/_numericsurfarray.c:1155: warning: implicit declaration of function ‘PyCObject_AsVoidPtr’
src/_numericsurfarray.c:1155: warning: implicit declaration of function ‘Py_DECREF’
src/_numericsurfarray.c:1157: error: ‘numpy’ undeclared (first use in this function)
src/_numericsurfarray.c:1157: error: ‘module_dict’ undeclared (first use in this function)
src/_numericsurfarray.c:1157: error: ‘c_api_object’ undeclared (first use in this function)
error: command 'gcc' failed with exit status 1
any ideas kind of frustrating as i would love to give back to linux community by making those kde splash screens :-)
starwolf
Comment