Announcement

Collapse
No announcement yet.

[SOLVED]help with KSplasher and Ksplasherx

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED]help with KSplasher and Ksplasherx

    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

    #2
    Re: help with KSplasher and Ksplasherx

    well went here and after all the downlaoding slash installing
    http://www.kde-apps.org/content/show...?content=86463

    downloaded ksplasher again unzipped the tar it made a new dir and then it atleast launched ill keep you posted. If i get it to work .

    Comment


      #3
      Re: help with KSplasher and Ksplasherx

      well so far no luck puttign anythign together . i really will make quite a few splash screens once i get a good prgram at the moment no luck btw does mondo work with kde4 its a thing i heard about

      starwolf

      Comment


        #4
        Re: help with KSplasher and Ksplasherx

        looks like snow got it figured out but i still am having trouble loading kspalsherx

        install g++ gcc and m4 and a host of others for screen savers any how .

        i did get this installed by getting debian version and installing gdeb.

        unfortunately this killed my kubuntu i was able to get with kde login but 800-600 was tops my display went even after a full reinstall. I am going to try and reinstall kubuntu after Windows formats the drive. if not i may be done with the OS until i get a non nvdia card thanx for all the help :-)

        Comment


          #5
          Re: help with KSplasher and Ksplasherx

          gonna lock this i wiped the kubuntu drive and a reinstall fixed :-0 got ksplasherx in and im going to contribute very soon

          Comment

          Working...
          X