On Tue, Apr 14, 2009 at 5:20 PM, Marcus von Appen <[email protected]> wrote:

> On, Tue Apr 14, 2009, Evan Kroske wrote:
>
> > Okay, I just re-installed SDL_mixer, and now I'm getting a different but
> > equally intimidating list of warnings (which I've attached). Is it
> possibly
> > that pgreloaded isn't possible with my 64-bit Ubuntu Intrepid Ibex box? I
> > know python's supposed to be platform independent, but maybe some of the
> > dependencies aren't.
> >
> > I couldn't get the whole error this time because of the limited terminal
> > size; do you know of a command I can use to capture the error output
> instead
> > of the standard output?
>
> src/sdlttf/pgttf.h:25:21: error: SDL_ttf.h: No such file or directory
>
> Seems that you do not have the SDL_ttf development headers. Install all
> required -dev packages of the dependencies.
>
> Regards
> Marcus
>
>
I just updated my apt-get package list then tried to update my libsdl-ttf
development installation through apt-get, but it said it was up-to-date. I'm
getting a smaller error now, but it still says it's missing SDL_ttf. I've
attached the latest smaller error.

Thanks,
Evan Kroske
The following information will be used to build Pygame:
         System: unix
         Python: 2.6.1
         SDL:    1.2.13
The following modules will be built:
        pygame2.base
        pygame2.mask
        pygame2.physics
        pygame2.sdl.base
        pygame2.sdl.audio
        pygame2.sdl.cdrom
        pygame2.sdl.constants
        pygame2.sdl.event
        pygame2.sdl.gl
        pygame2.sdl.image
        pygame2.sdl.joystick
        pygame2.sdl.keyboard
        pygame2.sdl.mouse
        pygame2.sdl.rwops
        pygame2.sdl.time
        pygame2.sdl.video
        pygame2.sdl.wm
        pygame2.sdlext.base
        pygame2.sdlext.constants
        pygame2.sdlext.draw
        pygame2.sdlext.fastevent
        pygame2.sdlext.numericsurfarray
        pygame2.sdlext.scrap
        pygame2.sdlext.transform
        pygame2.sdlmixer.base
        pygame2.sdlmixer.constants
        pygame2.sdlmixer.channel
        pygame2.sdlmixer.music
        pygame2.sdlmixer.numericsndarray
        pygame2.sdlttf.base
        pygame2.sdlttf.constants
        pygame2.sdlimage.base
        pygame2.sdlgfx.base
        pygame2.sdlgfx.constants
        pygame2.sdlgfx.primitives
        pygame2.sdlgfx.rotozoom
running install
running build
running build_py
running build_ext
building 'pygame2.sdlttf.base' extension
gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -W -Wall 
-Wimplicit-int -Wimplicit-function-declaration -Wimplicit -Wmain -Wreturn-type 
-Wunused -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts 
-Wuninitialized -Wparentheses -Wpointer-arith -Wcast-qual -Winline -Wcast-align 
-Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -Wshadow -Wredundant-decls -g -pg -fPIC 
-I/usr/local/include/SDL -Isrc/sdl -Isrc/base -Isrc -Isrc/doc 
-I/usr/local/include/python2.6 -c src/sdlttf/ttfmod.c -o 
build/temp.linux-x86_64-2.6/src/sdlttf/ttfmod.o -DPYGAME_INTERNAL 
-D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_PYGAME_BASE -DHAVE_PYGAME_MASK 
-DHAVE_PYGAME_PHYSICS -DHAVE_PYGAME_SDL_BASE -DHAVE_PYGAME_SDL_AUDIO 
-DHAVE_PYGAME_SDL_CDROM -DHAVE_PYGAME_SDL_CONSTANTS -DHAVE_PYGAME_SDL_EVENT 
-DHAVE_PYGAME_SDL_GL -DHAVE_PYGAME_SDL_IMAGE -DHAVE_PYGAME_SDL_JOYSTICK 
-DHAVE_PYGAME_SDL_KEYBOARD -DHAVE_PYGAME_SDL_MOUSE -DHAVE_PYGAME_SDL_RWOPS 
-DHAVE_PYGAME_SDL_TIME -DHAVE_PYGAME_SDL_VIDEO -DHAVE_PYGAME_SDL_WM 
-DHAVE_PYGAME_SDLEXT_BASE -DHAVE_PYGAME_SDLEXT_CONSTANTS 
-DHAVE_PYGAME_SDLEXT_DRAW -DHAVE_PYGAME_SDLEXT_FASTEVENT 
-DHAVE_PYGAME_SDLEXT_NUMERICSURFARRAY -DHAVE_PYGAME_SDLEXT_SCRAP 
-DHAVE_PYGAME_SDLEXT_TRANSFORM -DHAVE_PYGAME_SDLMIXER_BASE 
-DHAVE_PYGAME_SDLMIXER_CONSTANTS -DHAVE_PYGAME_SDLMIXER_CHANNEL 
-DHAVE_PYGAME_SDLMIXER_MUSIC -DHAVE_PYGAME_SDLMIXER_NUMERICSNDARRAY 
-DHAVE_PYGAME_SDLTTF_BASE -DHAVE_PYGAME_SDLTTF_CONSTANTS 
-DHAVE_PYGAME_SDLIMAGE_BASE -DHAVE_PYGAME_SDLGFX_BASE 
-DHAVE_PYGAME_SDLGFX_CONSTANTS -DHAVE_PYGAME_SDLGFX_PRIMITIVES 
-DHAVE_PYGAME_SDLGFX_ROTOZOOM -DIS_UNIX
In file included from src/sdlttf/ttfmod.c:23:
src/sdlttf/pgttf.h:25:21: error: SDL_ttf.h: No such file or directory
In file included from src/sdlttf/ttfmod.c:23:
src/sdlttf/pgttf.h:48: error: expected specifier-qualifier-list before 
‘TTF_Font’
src/sdlttf/ttfmod.c: In function ‘_quit’:
src/sdlttf/ttfmod.c:51: warning: implicit declaration of function ‘TTF_WasInit’
src/sdlttf/ttfmod.c:51: warning: nested extern declaration of ‘TTF_WasInit’
src/sdlttf/ttfmod.c:52: warning: implicit declaration of function ‘TTF_Quit’
src/sdlttf/ttfmod.c:52: warning: nested extern declaration of ‘TTF_Quit’
src/sdlttf/ttfmod.c: In function ‘_ttf_init’:
src/sdlttf/ttfmod.c:60: warning: implicit declaration of function ‘TTF_Init’
src/sdlttf/ttfmod.c:60: warning: nested extern declaration of ‘TTF_Init’
src/sdlttf/ttfmod.c:62: warning: implicit declaration of function ‘TTF_GetError’
src/sdlttf/ttfmod.c:62: warning: nested extern declaration of ‘TTF_GetError’
src/sdlttf/ttfmod.c:62: warning: passing argument 2 of ‘PyErr_SetString’ makes 
pointer from integer without a cast
src/sdlttf/ttfmod.c:56: warning: unused parameter ‘self’
src/sdlttf/ttfmod.c: In function ‘_ttf_wasinit’:
src/sdlttf/ttfmod.c:72: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
src/sdlttf/ttfmod.c:73: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
src/sdlttf/ttfmod.c:69: warning: unused parameter ‘self’
src/sdlttf/ttfmod.c: In function ‘_ttf_quit’:
src/sdlttf/ttfmod.c:77: warning: unused parameter ‘self’
src/sdlttf/ttfmod.c: In function ‘_ttf_getcompiledversion’:
src/sdlttf/ttfmod.c:87: warning: implicit declaration of function ‘TTF_VERSION’
src/sdlttf/ttfmod.c:87: warning: nested extern declaration of ‘TTF_VERSION’
src/sdlttf/ttfmod.c:84: warning: unused parameter ‘self’
src/sdlttf/ttfmod.c: In function ‘_ttf_getversion’:
src/sdlttf/ttfmod.c:95: warning: implicit declaration of function 
‘TTF_Linked_Version’
src/sdlttf/ttfmod.c:95: warning: nested extern declaration of 
‘TTF_Linked_Version’
src/sdlttf/ttfmod.c:95: warning: initialization makes pointer from integer 
without a cast
src/sdlttf/ttfmod.c:93: warning: unused parameter ‘self’
src/sdlttf/ttfmod.c: In function ‘_ttf_geterror’:
src/sdlttf/ttfmod.c:102: warning: initialization makes pointer from integer 
without a cast
src/sdlttf/ttfmod.c:100: warning: unused parameter ‘self’
src/sdlttf/ttfmod.c: In function ‘_ttf_byteswappedunicode’:
src/sdlttf/ttfmod.c:120: warning: implicit declaration of function 
‘TTF_ByteSwappedUNICODE’
src/sdlttf/ttfmod.c:120: warning: nested extern declaration of 
‘TTF_ByteSwappedUNICODE’
src/sdlttf/ttfmod.c:109: warning: unused parameter ‘self’
src/sdlttf/ttfmod.c: At top level:
src/sdlttf/ttfmod.c:127: warning: no previous prototype for ‘initbase’
src/sdlttf/ttfmod.c: In function ‘initbase’:
src/sdlttf/ttfmod.c:148: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
error: command 'gcc' failed with exit status 1

Reply via email to