[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pygame] Install problems with RedHat 7.3---> Help pls!



Ok here's what I have :

RedHat 7.3
Python-2.2-16
python-numeric-devel-20.3-2mdk.i586.rpm
SDL-1.2.3-7
SDL_ttf-2.0.5-1.i686.rpm
SDL_ttf-devel-2.0.5-1.i686.rpm

This is the errors I get when running "setup.py"


gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -D_REENTRANT 
-I/usr/include/SDL -I/usr/include/SDL -I/usr/include/python2.2 -c 
src/font.c -o build/temp.linux-i686-2.2/font.o
In file included from src/font.h:24,
                 from src/font.c:29:
/usr/include/SDL/SDL_ttf.h:45: parse error before `TTF_Init'
/usr/include/SDL/SDL_ttf.h:45: warning: type defaults to `int' in 
declaration of `TTF_Init'
/usr/include/SDL/SDL_ttf.h:45: warning: data definition has no type or 
storage class
/usr/include/SDL/SDL_ttf.h:48: parse error before `TTF_OpenFont'
/usr/include/SDL/SDL_ttf.h:48: warning: type defaults to `int' in 
declaration of `TTF_OpenFont'
/usr/include/SDL/SDL_ttf.h:48: warning: data definition has no type or 
storage class
/usr/include/SDL/SDL_ttf.h:49: parse error before `TTF_OpenFontIndex'
/usr/include/SDL/SDL_ttf.h:49: warning: type defaults to `int' in 
declaration of `TTF_OpenFontIndex'
/usr/include/SDL/SDL_ttf.h:49: warning: data definition has no type or 
storage class
/usr/include/SDL/SDL_ttf.h:59: parse error before `TTF_GetFontStyle'
/usr/include/SDL/SDL_ttf.h:59: warning: type defaults to `int' in 
declaration of `TTF_GetFontStyle'
/usr/include/SDL/SDL_ttf.h:59: warning: data definition has no type or 
storage class
/usr/include/SDL/SDL_ttf.h:60: parse error before `TTF_SetFontStyle'
/usr/include/SDL/SDL_ttf.h:60: warning: type defaults to `int' in 
declaration of `TTF_SetFontStyle'
/usr/include/SDL/SDL_ttf.h:60: warning: data definition has no type or 
storage class
/usr/include/SDL/SDL_ttf.h:63: parse error before `TTF_FontHeight'
/usr/include/SDL/SDL_ttf.h:63: warning: type defaults to `int' in 
declaration of `TTF_FontHeight'
/usr/include/SDL/SDL_ttf.h:63: warning: data definition has no type or 
storage class
/usr/include/SDL/SDL_ttf.h:68: parse error before `TTF_FontAscent'
/usr/include/SDL/SDL_ttf.h:68: warning: type defaults to `int' in 
declaration of `TTF_FontAscent'
/usr/include/SDL/SDL_ttf.h:68: warning: data definition has no type or 
storage class
/usr/include/SDL/SDL_ttf.h:73: parse error before `TTF_FontDescent'
/usr/include/SDL/SDL_ttf.h:73: warning: type defaults to `int' in 
declaration of `TTF_FontDescent'
/usr/include/SDL/SDL_ttf.h:73: warning: data definition has no type or 
storage class
/usr/include/SDL/SDL_ttf.h:76: parse error before `TTF_FontLineSkip'
/usr/include/SDL/SDL_ttf.h:76: warning: type defaults to `int' in 
declaration of `TTF_FontLineSkip'
/usr/include/SDL/SDL_ttf.h:76: warning: data definition has no type or 
storage class
/usr/include/SDL/SDL_ttf.h:79: parse error before `TTF_FontFaces'
/usr/include/SDL/SDL_ttf.h:79: warning: type defaults to `int' in 
declaration of `TTF_FontFaces'
/usr/include/SDL/SDL_ttf.h:79: warning: data definition has no type or 
storage class
/usr/include/SDL/SDL_ttf.h:82: parse error before `TTF_FontFaceIsFixedWidth'
/usr/include/SDL/SDL_ttf.h:82: warning: type defaults to `int' in 
declaration of `TTF_FontFaceIsFixedWidth'
/usr/include/SDL/SDL_ttf.h:82: warning: data definition has no type or 
storage class
/usr/include/SDL/SDL_ttf.h:83: parse error before `TTF_FontFaceFamilyName'
/usr/include/SDL/SDL_ttf.h:83: warning: type defaults to `int' in 
declaration of `TTF_FontFaceFamilyName'
/usr/include/SDL/SDL_ttf.h:83: warning: data definition has no type or 
storage class
/usr/include/SDL/SDL_ttf.h:84: parse error before `TTF_FontFaceStyleName'
/usr/include/SDL/SDL_ttf.h:84: warning: type defaults to `int' in 
declaration of `TTF_FontFaceStyleName'
/usr/include/SDL/SDL_ttf.h:84: warning: data definition has no type or 
storage class
/usr/include/SDL/SDL_ttf.h:87: parse error before `TTF_GlyphMetrics'
/usr/include/SDL/SDL_ttf.h:89: warning: type defaults to `int' in 
declaration of `TTF_GlyphMetrics'
/usr/include/SDL/SDL_ttf.h:89: warning: data definition has no type or 
storage class
/usr/include/SDL/SDL_ttf.h:92: parse error before `TTF_SizeText'
/usr/include/SDL/SDL_ttf.h:92: warning: type defaults to `int' in 
declaration of `TTF_SizeText'
/usr/include/SDL/SDL_ttf.h:92: warning: data definition has no type or 
storage class
/usr/include/SDL/SDL_ttf.h:93: parse error before `TTF_SizeUTF8'
/usr/include/SDL/SDL_ttf.h:93: warning: type defaults to `int' in 
declaration of `TTF_SizeUTF8'
/usr/include/SDL/SDL_ttf.h:93: warning: data definition has no type or 
storage class
/usr/include/SDL/SDL_ttf.h:94: parse error before `TTF_SizeUNICODE'
/usr/include/SDL/SDL_ttf.h:94: warning: type defaults to `int' in 
declaration of `TTF_SizeUNICODE'
/usr/include/SDL/SDL_ttf.h:94: warning: data definition has no type or 
storage class
/usr/include/SDL/SDL_ttf.h:102: parse error before `TTF_RenderText_Solid'
/usr/include/SDL/SDL_ttf.h:103: warning: type defaults to `int' in 
declaration of `TTF_RenderText_Solid'
/usr/include/SDL/SDL_ttf.h:103: warning: data definition has no type or 
storage class
/usr/include/SDL/SDL_ttf.h:104: parse error before `TTF_RenderUTF8_Solid'
/usr/include/SDL/SDL_ttf.h:105: warning: type defaults to `int' in 
declaration of `TTF_RenderUTF8_Solid'
/usr/include/SDL/SDL_ttf.h:105: warning: data definition has no type or 
storage class
/usr/include/SDL/SDL_ttf.h:106: parse error before `TTF_RenderUNICODE_Solid'
/usr/include/SDL/SDL_ttf.h:107: warning: type defaults to `int' in 
declaration of `TTF_RenderUNICODE_Solid'

/usr/include/SDL/SDL_ttf.h:107: warning: data definition has no type or 
storage class
/usr/include/SDL/SDL_ttf.h:116: parse error before `TTF_RenderGlyph_Solid'
/usr/include/SDL/SDL_ttf.h:117: warning: type defaults to `int' in 
declaration of `TTF_RenderGlyph_Solid'
/usr/include/SDL/SDL_ttf.h:117: warning: data definition has no type or 
storage class
/usr/include/SDL/SDL_ttf.h:124: parse error before `TTF_RenderText_Shaded'
/usr/include/SDL/SDL_ttf.h:125: warning: type defaults to `int' in 
declaration of `TTF_RenderText_Shaded'
/usr/include/SDL/SDL_ttf.h:125: warning: data definition has no type or 
storage class
/usr/include/SDL/SDL_ttf.h:126: parse error before `TTF_RenderUTF8_Shaded'
/usr/include/SDL/SDL_ttf.h:127: warning: type defaults to `int' in 
declaration of `TTF_RenderUTF8_Shaded'
/usr/include/SDL/SDL_ttf.h:127: warning: data definition has no type or 
storage class
/usr/include/SDL/SDL_ttf.h:128: parse error before 
`TTF_RenderUNICODE_Shaded'
/usr/include/SDL/SDL_ttf.h:129: warning: type defaults to `int' in 
declaration of `TTF_RenderUNICODE_Shaded'/usr/include/SDL/SDL_ttf.h:129: 
warning: data definition has no type or storage class
/usr/include/SDL/SDL_ttf.h:138: parse error before `TTF_RenderGlyph_Shaded'
/usr/include/SDL/SDL_ttf.h:139: warning: type defaults to `int' in 
declaration of `TTF_RenderGlyph_Shaded'
/usr/include/SDL/SDL_ttf.h:139: warning: data definition has no type or 
storage class
/usr/include/SDL/SDL_ttf.h:145: parse error before `TTF_RenderText_Blended'
/usr/include/SDL/SDL_ttf.h:146: warning: type defaults to `int' in 
declaration of `TTF_RenderText_Blended'
/usr/include/SDL/SDL_ttf.h:146: warning: data definition has no type or 
storage class
/usr/include/SDL/SDL_ttf.h:147: parse error before `TTF_RenderUTF8_Blended'
/usr/include/SDL/SDL_ttf.h:148: warning: type defaults to `int' in 
declaration of `TTF_RenderUTF8_Blended'
/usr/include/SDL/SDL_ttf.h:148: warning: data definition has no type or 
storage class
/usr/include/SDL/SDL_ttf.h:149: parse error before 
`TTF_RenderUNICODE_Blended'
/usr/include/SDL/SDL_ttf.h:150: warning: type defaults to `int' in 
declaration of `TTF_RenderUNICODE_Blended
'
/usr/include/SDL/SDL_ttf.h:150: warning: data definition has no type or 
storage class
/usr/include/SDL/SDL_ttf.h:158: parse error before `TTF_RenderGlyph_Blended'
/usr/include/SDL/SDL_ttf.h:159: warning: type defaults to `int' in 
declaration of `TTF_RenderGlyph_Blended'
/usr/include/SDL/SDL_ttf.h:159: warning: data definition has no type or 
storage class
/usr/include/SDL/SDL_ttf.h:170: parse error before `TTF_CloseFont'
/usr/include/SDL/SDL_ttf.h:170: warning: type defaults to `int' in 
declaration of `TTF_CloseFont'
/usr/include/SDL/SDL_ttf.h:170: warning: data definition has no type or 
storage class
/usr/include/SDL/SDL_ttf.h:173: parse error before `TTF_Quit'
/usr/include/SDL/SDL_ttf.h:173: warning: type defaults to `int' in 
declaration of `TTF_Quit'
/usr/include/SDL/SDL_ttf.h:173: warning: data definition has no type or 
storage class
src/font.c: In function `font_render':
src/font.c:437: warning: passing arg 2 of `TTF_RenderUNICODE_Blended' 
from incompatible pointer type
src/font.c:437: warning: assignment makes pointer from integer without a 
cast
src/font.c:439: warning: passing arg 2 of `TTF_RenderUNICODE_Shaded' 
from incompatible pointer type
src/font.c:439: warning: assignment makes pointer from integer without a 
cast
src/font.c:442: warning: passing arg 2 of `TTF_RenderUNICODE_Solid' from 
incompatible pointer type
src/font.c:442: warning: assignment makes pointer from integer without a 
cast
src/font.c:450: warning: assignment makes pointer from integer without a 
cast
src/font.c:452: warning: assignment makes pointer from integer without a 
cast
src/font.c:455: warning: assignment makes pointer from integer without a 
cast
src/font.c: In function `font_size':
src/font.c:500: warning: passing arg 2 of `TTF_SizeUNICODE' from 
incompatible pointer type
src/font.c: In function `Font':
src/font.c:644: warning: assignment makes pointer from integer without a 
cast
error: command 'gcc' failed with exit status

____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org