Hi Nick, It looks like you are missing several important header files like Python.h and SDL.h. Did you install the libraries which are required by PyKaraoke?
http://kibosh.org/pykaraoke/installation.php The Debian instructions there are: apt-get install python-dev python-pygame libwxgtk-python libsdl-dev Cheers, Kelvin. > anybody maybe help me with this error. > > pykaraoke-0.6# python setup.py install > running install > running build > running build_py > creating build > creating build/lib.linux-x86_64-2.5 > copying pycdgAux.py -> build/lib.linux-x86_64-2.5 > copying pycdg.py -> build/lib.linux-x86_64-2.5 > copying pykaraoke_mini.py -> build/lib.linux-x86_64-2.5 > copying pykaraoke.py -> build/lib.linux-x86_64-2.5 > copying pykar.py -> build/lib.linux-x86_64-2.5 > copying pykconstants.py -> build/lib.linux-x86_64-2.5 > copying pykdb.py -> build/lib.linux-x86_64-2.5 > copying pykenv.py -> build/lib.linux-x86_64-2.5 > copying pykmanager.py -> build/lib.linux-x86_64-2.5 > copying pykplayer.py -> build/lib.linux-x86_64-2.5 > copying pykversion.py -> build/lib.linux-x86_64-2.5 > copying pympg.py -> build/lib.linux-x86_64-2.5 > running build_ext > building '_pycdgAux' extension > creating build/temp.linux-x86_64-2.5 > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -I/usr/include/SDL -I/usr/include/python2.5 > -c _pycdgAux.c -o build/temp.linux-x86_64-2.5/_pycdgAux.o > _pycdgAux.c:33:20: error: Python.h: Arquivo ou diretório não encontrado > _pycdgAux.c:35:26: error: structmember.h: Arquivo ou diretório não encontrado > _pycdgAux.c:36:17: error: SDL.h: Arquivo ou diretório não encontrado > In file included from _pycdgAux.c:37: > /usr/include/python2.5/pygame/pygame.h:149: error: expected > specifier-qualifier-list before 'PyObject_HEAD' > /usr/include/python2.5/pygame/pygame.h:181: error: expected > specifier-qualifier-list before 'PyObject_HEAD' > /usr/include/python2.5/pygame/pygame.h:206: error: expected > specifier-qualifier-list before 'PyObject_HEAD' > /usr/include/python2.5/pygame/pygame.h:232: error: expected > specifier-qualifier-list before 'PyObject_HEAD' > /usr/include/python2.5/pygame/pygame.h:258: error: expected > specifier-qualifier-list before 'PyObject_HEAD' > /usr/include/python2.5/pygame/pygame.h:298: error: expected > specifier-qualifier-list before 'PyObject' > /usr/include/python2.5/pygame/pygame.h:316: error: expected > specifier-qualifier-list before 'PyObject_HEAD' > _pycdgAux.c:96: error: expected specifier-qualifier-list before > 'PyObject_HEAD' > _pycdgAux.c: In function 'CdgPacketReader_dealloc': > _pycdgAux.c:149: error: 'CdgPacketReader' has no member named '__cdgData' > _pycdgAux.c:150: warning: implicit declaration of function 'free' > _pycdgAux.c:150: warning: incompatible implicit declaration of > built-in function 'free' > _pycdgAux.c:150: error: 'CdgPacketReader' has no member named '__cdgData' > _pycdgAux.c:151: error: 'CdgPacketReader' has no member named '__cdgData' > _pycdgAux.c:153: error: 'CdgPacketReader' has no member named 'ob_type' > _pycdgAux.c:153: error: 'PyObject' undeclared (first use in this function) > _pycdgAux.c:153: error: (Each undeclared identifier is reported only once > _pycdgAux.c:153: error: for each function it appears in.) > _pycdgAux.c:153: error: expected expression before ')' token > _pycdgAux.c: At top level: > _pycdgAux.c:158: error: expected '=', ',', ';', 'asm' or > '__attribute__' before '*' token > _pycdgAux.c:174: error: expected declaration specifiers or '...' > before 'PyObject' > _pycdgAux.c:174: error: expected declaration specifiers or '...' > before 'PyObject' > _pycdgAux.c: In function 'CdgPacketReader_init': > _pycdgAux.c:180: error: 'PyObject' undeclared (first use in this function) > _pycdgAux.c:180: error: 'mapperSurface' undeclared (first use in this > function) > _pycdgAux.c:181: warning: implicit declaration of function > 'PyArg_ParseTupleAndKeywords' > _pycdgAux.c:181: error: 'args' undeclared (first use in this function) > _pycdgAux.c:181: error: 'kwds' undeclared (first use in this function) > _pycdgAux.c:190: warning: implicit declaration of function 'assert' > _pycdgAux.c:190: error: 'CdgPacketReader' has no member named '__cdgData' > _pycdgAux.c:191: error: 'CdgPacketReader' has no member named '__cdgData' > _pycdgAux.c:191: warning: implicit declaration of function 'malloc' > _pycdgAux.c:191: warning: incompatible implicit declaration of > built-in function 'malloc' > _pycdgAux.c:192: warning: implicit declaration of function 'memcpy' > _pycdgAux.c:192: warning: incompatible implicit declaration of > built-in function 'memcpy' > _pycdgAux.c:192: error: 'CdgPacketReader' has no member named '__cdgData' > _pycdgAux.c:193: error: 'CdgPacketReader' has no member named '__cdgDataLen' > _pycdgAux.c:194: error: 'CdgPacketReader' has no member named > '__mapperSurface' > _pycdgAux.c: At top level: > _pycdgAux.c:204: error: expected '=', ',', ';', 'asm' or > '__attribute__' before '*' token > _pycdgAux.c: In function 'do_rewind': > _pycdgAux.c:215: error: 'CdgPacketReader' has no member named '__cdgDataPos' > _pycdgAux.c:218: warning: implicit declaration of function 'memset' > _pycdgAux.c:218: warning: incompatible implicit declaration of > built-in function 'memset' > _pycdgAux.c:218: error: 'CdgPacketReader' has no member named > '__cdgColourTable' > _pycdgAux.c:219: error: 'CdgPacketReader' has no member named > '__justClearedColourIndex' > _pycdgAux.c:220: error: 'CdgPacketReader' has no member named > '__cdgPresetColourIndex' > _pycdgAux.c:221: error: 'CdgPacketReader' has no member named > '__cdgBorderColourIndex' > _pycdgAux.c:224: error: 'CdgPacketReader' has no member named > '__cdgTransparentColour' > _pycdgAux.c:226: error: 'CdgPacketReader' has no member named > '__cdgPixelColours' > _pycdgAux.c:228: error: 'CdgPacketReader' has no member named '__cdgSurfarray' > _pycdgAux.c:228: error: 'Uint32' undeclared (first use in this function) > _pycdgAux.c:231: error: 'CdgPacketReader' has no member named '__updatedTiles' > _pycdgAux.c: At top level: > _pycdgAux.c:236: error: expected '=', ',', ';', 'asm' or > '__attribute__' before '*' token > _pycdgAux.c:245: error: expected '=', ',', ';', 'asm' or > '__attribute__' before '*' token > _pycdgAux.c:274: error: expected '=', ',', ';', 'asm' or > '__attribute__' before '*' token > _pycdgAux.c:288: error: expected '=', ',', ';', 'asm' or > '__attribute__' before '*' token > _pycdgAux.c:326: error: expected '=', ',', ';', 'asm' or > '__attribute__' before '*' token > _pycdgAux.c: In function '__getNextPacket': > _pycdgAux.c:412: error: 'CdgPacketReader' has no member named '__cdgData' > _pycdgAux.c:413: error: 'CdgPacketReader' has no member named '__cdgDataLen' > _pycdgAux.c:413: error: 'CdgPacketReader' has no member named '__cdgDataPos' > _pycdgAux.c:418: warning: incompatible implicit declaration of > built-in function 'memcpy' > _pycdgAux.c:418: error: 'CdgPacketReader' has no member named '__cdgData' > _pycdgAux.c:418: error: 'CdgPacketReader' has no member named '__cdgDataPos' > _pycdgAux.c:419: error: 'CdgPacketReader' has no member named '__cdgDataPos' > _pycdgAux.c: In function '__cdgMemoryPreset': > _pycdgAux.c:480: error: 'Uint32' undeclared (first use in this function) > _pycdgAux.c:480: error: expected ';' before 'presetColour' > _pycdgAux.c:498: error: 'CdgPacketReader' has no member named > '__justClearedColourIndex' > _pycdgAux.c:501: error: 'CdgPacketReader' has no member named > '__justClearedColourIndex' > _pycdgAux.c:505: error: 'CdgPacketReader' has no member named > '__cdgPresetColourIndex' > _pycdgAux.c:506: error: 'CdgPacketReader' has no member named > '__cdgBorderColourIndex' > _pycdgAux.c:506: error: 'CdgPacketReader' has no member named > '__cdgPresetColourIndex' > _pycdgAux.c:513: error: 'presetColour' undeclared (first use in this function) > _pycdgAux.c:513: error: 'CdgPacketReader' has no member named > '__cdgColourTable' > _pycdgAux.c:524: error: 'CdgPacketReader' has no member named > '__cdgPixelColours' > _pycdgAux.c:525: error: 'CdgPacketReader' has no member named '__cdgSurfarray' > _pycdgAux.c:529: error: 'CdgPacketReader' has no member named '__updatedTiles' > _pycdgAux.c: In function '__cdgBorderPreset': > _pycdgAux.c:537: error: 'Uint32' undeclared (first use in this function) > _pycdgAux.c:537: error: expected ';' before 'borderColour' > _pycdgAux.c:540: error: 'CdgPacketReader' has no member named > '__cdgBorderColourIndex' > _pycdgAux.c:544: error: 'CdgPacketReader' has no member named > '__cdgBorderColourIndex' > _pycdgAux.c:549: error: 'borderColour' undeclared (first use in this function) > _pycdgAux.c:549: error: 'CdgPacketReader' has no member named > '__cdgColourTable' > _pycdgAux.c:556: error: 'CdgPacketReader' has no member named > '__cdgPixelColours' > _pycdgAux.c:557: error: 'CdgPacketReader' has no member named '__cdgSurfarray' > _pycdgAux.c:560: error: 'CdgPacketReader' has no member named > '__cdgPixelColours' > _pycdgAux.c:561: error: 'CdgPacketReader' has no member named '__cdgSurfarray' > _pycdgAux.c:566: error: 'CdgPacketReader' has no member named > '__cdgPixelColours' > _pycdgAux.c:567: error: 'CdgPacketReader' has no member named '__cdgSurfarray' > _pycdgAux.c:570: error: 'CdgPacketReader' has no member named > '__cdgPixelColours' > _pycdgAux.c:571: error: 'CdgPacketReader' has no member named '__cdgSurfarray' > _pycdgAux.c: In function '__cdgScrollCommon': > _pycdgAux.c:622: error: 'CdgPacketReader' has no member named '__hOffset' > _pycdgAux.c:622: error: 'CdgPacketReader' has no member named '__vOffset' > _pycdgAux.c:624: error: 'CdgPacketReader' has no member named '__hOffset' > _pycdgAux.c:625: error: 'CdgPacketReader' has no member named '__vOffset' > _pycdgAux.c:626: error: 'CdgPacketReader' has no member named '__updatedTiles' > _pycdgAux.c:645: error: 'CdgPacketReader' has no member named > '__cdgPixelColours' > _pycdgAux.c:686: error: 'CdgPacketReader' has no member named > '__cdgPixelColours' > _pycdgAux.c:687: error: 'CdgPacketReader' has no member named '__cdgSurfarray' > _pycdgAux.c:687: error: 'CdgPacketReader' has no member named > '__cdgColourTable' > _pycdgAux.c:693: error: 'CdgPacketReader' has no member named '__updatedTiles' > _pycdgAux.c: In function '__cdgDefineTransparentColour': > _pycdgAux.c:701: error: 'CdgPacketReader' has no member named > '__cdgTransparentColour' > _pycdgAux.c: In function '__cdgLoadColourTableCommon': > _pycdgAux.c:728: error: 'CdgPacketReader' has no member named > '__cdgColourTable' > _pycdgAux.c:728: warning: implicit declaration of function 'SDL_MapRGB' > _pycdgAux.c:728: error: 'CdgPacketReader' has no member named > '__mapperSurface' > _pycdgAux.c:738: error: 'CdgPacketReader' has no member named '__cdgSurfarray' > _pycdgAux.c:738: error: 'CdgPacketReader' has no member named > '__cdgColourTable' > _pycdgAux.c:738: error: 'CdgPacketReader' has no member named > '__cdgPixelColours' > _pycdgAux.c:743: error: 'CdgPacketReader' has no member named '__updatedTiles' > _pycdgAux.c: In function '__cdgTileBlockCommon': > _pycdgAux.c:766: error: 'CdgPacketReader' has no member named '__hOffset' > _pycdgAux.c:768: error: 'CdgPacketReader' has no member named '__hOffset' > _pycdgAux.c:770: error: 'CdgPacketReader' has no member named '__vOffset' > _pycdgAux.c:772: error: 'CdgPacketReader' has no member named '__vOffset' > _pycdgAux.c:776: error: 'CdgPacketReader' has no member named '__updatedTiles' > _pycdgAux.c:798: error: 'CdgPacketReader' has no member named > '__cdgPixelColours' > _pycdgAux.c:812: error: 'CdgPacketReader' has no member named '__cdgSurfarray' > _pycdgAux.c:812: error: 'CdgPacketReader' has no member named > '__cdgColourTable' > _pycdgAux.c:813: error: 'CdgPacketReader' has no member named > '__cdgPixelColours' > _pycdgAux.c:819: error: 'CdgPacketReader' has no member named > '__justClearedColourIndex' > _pycdgAux.c: At top level: > _pycdgAux.c:826: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'CdgPacketReader_methods' > _pycdgAux.c:836: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'CdgPacketReaderType' > _pycdgAux.c:880: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'pycdgAux_methods' > _pycdgAux.c: In function 'init_pycdgAux': > _pycdgAux.c:889: error: 'PyObject' undeclared (first use in this function) > _pycdgAux.c:889: error: 'm' undeclared (first use in this function) > _pycdgAux.c:891: error: 'CdgPacketReaderType' undeclared (first use in > this function) > _pycdgAux.c:891: error: 'CdgPacketReader_new' undeclared (first use in > this function) > _pycdgAux.c:892: warning: implicit declaration of function 'PyType_Ready' > _pycdgAux.c:896: warning: implicit declaration of function 'Py_InitModule3' > _pycdgAux.c:896: error: 'pycdgAux_methods' undeclared (first use in > this function) > _pycdgAux.c:898: warning: implicit declaration of function 'Py_INCREF' > _pycdgAux.c:899: warning: implicit declaration of function > 'PyModule_AddObject' > _pycdgAux.c:899: error: expected expression before ')' token > error: command 'gcc' failed with exit status 1 > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Pykaraoke-discuss mailing list > Pykaraoke-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pykaraoke-discuss > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Pykaraoke-discuss mailing list Pykaraoke-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pykaraoke-discuss