Today, I finally installed all of PGReloaded's dependencies, but when I try
to run the python install script (python setup.py install), I get an
incredibly large lists of warnings and the error:

error: command 'gcc' failed with exit status 1

If I try to use the make install method, I get this message:

error: command 'gcc' failed with exit status 1
make: *** [install] Error 1

I have checked all the necessary installations with dpkg -l, and I can't
find any missing pieces. I just updated my installation through SVN; that
can't be the problem. If you have an idea of why it doesn't work, please
help me out. I have attached the output from where the error starts.

Regards,
Evan Kroske
Future GSoCer (hopefully)
In file included from src/sdlmixer/mixermod.c:22:
src/sdlmixer/mixermod.h:24:23: error: SDL_mixer.h: No such file or directory
In file included from src/sdlmixer/mixermod.c:22:
src/sdlmixer/mixermod.h:34: error: expected ‘)’ before ‘*’ token
In file included from src/sdlmixer/mixermod.c:23:
src/sdlmixer/pgmixer.h:57: error: expected specifier-qualifier-list before 
‘Mix_Chunk’
src/sdlmixer/pgmixer.h:101: error: expected specifier-qualifier-list before 
‘Mix_Music’
src/sdlmixer/mixermod.c: In function ‘_mixer_init’:
src/sdlmixer/mixermod.c:60: warning: unused parameter ‘self’
src/sdlmixer/mixermod.c: In function ‘_mixer_wasinit’:
src/sdlmixer/mixermod.c:77: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
src/sdlmixer/mixermod.c:78: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
src/sdlmixer/mixermod.c:74: warning: unused parameter ‘self’
src/sdlmixer/mixermod.c: In function ‘_mixer_quit’:
src/sdlmixer/mixermod.c:82: warning: unused parameter ‘self’
src/sdlmixer/mixermod.c: In function ‘_mixer_getcompiledversion’:
src/sdlmixer/mixermod.c:92: warning: implicit declaration of function 
‘MIX_VERSION’
src/sdlmixer/mixermod.c:92: warning: nested extern declaration of 
‘MIX_VERSION’
src/sdlmixer/mixermod.c:89: warning: unused parameter ‘self’
src/sdlmixer/mixermod.c: In function ‘_mixer_getversion’:
src/sdlmixer/mixermod.c:100: warning: implicit declaration of function 
‘Mix_Linked_Version’
src/sdlmixer/mixermod.c:100: warning: nested extern declaration of 
‘Mix_Linked_Version’
src/sdlmixer/mixermod.c:100: warning: initialization makes pointer from integer 
without a cast
src/sdlmixer/mixermod.c:98: warning: unused parameter ‘self’
src/sdlmixer/mixermod.c: In function ‘_mixer_geterror’:
src/sdlmixer/mixermod.c:107: warning: implicit declaration of function 
‘Mix_GetError’
src/sdlmixer/mixermod.c:107: warning: nested extern declaration of 
‘Mix_GetError’
src/sdlmixer/mixermod.c:107: warning: initialization makes pointer from integer 
without a cast
src/sdlmixer/mixermod.c:105: warning: unused parameter ‘self’
src/sdlmixer/mixermod.c: In function ‘_mixer_openaudio’:
src/sdlmixer/mixermod.c:123: warning: implicit declaration of function 
‘Mix_OpenAudio’
src/sdlmixer/mixermod.c:123: warning: nested extern declaration of 
‘Mix_OpenAudio’
src/sdlmixer/mixermod.c:125: warning: passing argument 2 of 
‘PyErr_SetString’ makes pointer from integer without a cast
src/sdlmixer/mixermod.c:114: warning: unused parameter ‘self’
src/sdlmixer/mixermod.c: In function ‘_mixer_closeaudio’:
src/sdlmixer/mixermod.c:134: warning: implicit declaration of function 
‘Mix_CloseAudio’
src/sdlmixer/mixermod.c:134: warning: nested extern declaration of 
‘Mix_CloseAudio’
src/sdlmixer/mixermod.c:132: warning: unused parameter ‘self’
src/sdlmixer/mixermod.c: In function ‘_mixer_queryspec’:
src/sdlmixer/mixermod.c:144: warning: implicit declaration of function 
‘Mix_QuerySpec’
src/sdlmixer/mixermod.c:144: warning: nested extern declaration of 
‘Mix_QuerySpec’
src/sdlmixer/mixermod.c:147: warning: passing argument 2 of 
‘PyErr_SetString’ makes pointer from integer without a cast
src/sdlmixer/mixermod.c:139: warning: unused parameter ‘self’
src/sdlmixer/mixermod.c: At top level:
src/sdlmixer/mixermod.c:156: warning: no previous prototype for ‘initbase’
src/sdlmixer/mixermod.c: In function ‘initbase’:
src/sdlmixer/mixermod.c:180: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
src/sdlmixer/mixermod.c:181: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
src/sdlmixer/mixermod.c:182: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
error: command 'gcc' failed with exit status 1
make: *** [install] Error 1
e...@evan-desktop:~/Applications/PGReloaded$ sudo make instal |gedit
make: *** No rule to make target `instal'.  Stop.
e...@evan-desktop:~/Applications/PGReloaded$ sudo make install |gedit
In file included from src/sdlmixer/mixermod.c:22:
src/sdlmixer/mixermod.h:24:23: error: SDL_mixer.h: No such file or directory
In file included from src/sdlmixer/mixermod.c:22:
src/sdlmixer/mixermod.h:34: error: expected ‘)’ before ‘*’ token
In file included from src/sdlmixer/mixermod.c:23:
src/sdlmixer/pgmixer.h:57: error: expected specifier-qualifier-list before 
‘Mix_Chunk’
src/sdlmixer/pgmixer.h:101: error: expected specifier-qualifier-list before 
‘Mix_Music’
src/sdlmixer/mixermod.c: In function ‘_mixer_init’:
src/sdlmixer/mixermod.c:60: warning: unused parameter ‘self’
src/sdlmixer/mixermod.c: In function ‘_mixer_wasinit’:
src/sdlmixer/mixermod.c:77: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
src/sdlmixer/mixermod.c:78: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
src/sdlmixer/mixermod.c:74: warning: unused parameter ‘self’
src/sdlmixer/mixermod.c: In function ‘_mixer_quit’:
src/sdlmixer/mixermod.c:82: warning: unused parameter ‘self’
src/sdlmixer/mixermod.c: In function ‘_mixer_getcompiledversion’:
src/sdlmixer/mixermod.c:92: warning: implicit declaration of function 
‘MIX_VERSION’
src/sdlmixer/mixermod.c:92: warning: nested extern declaration of 
‘MIX_VERSION’
src/sdlmixer/mixermod.c:89: warning: unused parameter ‘self’
src/sdlmixer/mixermod.c: In function ‘_mixer_getversion’:
src/sdlmixer/mixermod.c:100: warning: implicit declaration of function 
‘Mix_Linked_Version’
src/sdlmixer/mixermod.c:100: warning: nested extern declaration of 
‘Mix_Linked_Version’
src/sdlmixer/mixermod.c:100: warning: initialization makes pointer from integer 
without a cast
src/sdlmixer/mixermod.c:98: warning: unused parameter ‘self’
src/sdlmixer/mixermod.c: In function ‘_mixer_geterror’:
src/sdlmixer/mixermod.c:107: warning: implicit declaration of function 
‘Mix_GetError’
src/sdlmixer/mixermod.c:107: warning: nested extern declaration of 
‘Mix_GetError’
src/sdlmixer/mixermod.c:107: warning: initialization makes pointer from integer 
without a cast
src/sdlmixer/mixermod.c:105: warning: unused parameter ‘self’
src/sdlmixer/mixermod.c: In function ‘_mixer_openaudio’:
src/sdlmixer/mixermod.c:123: warning: implicit declaration of function 
‘Mix_OpenAudio’
src/sdlmixer/mixermod.c:123: warning: nested extern declaration of 
‘Mix_OpenAudio’
src/sdlmixer/mixermod.c:125: warning: passing argument 2 of 
‘PyErr_SetString’ makes pointer from integer without a cast
src/sdlmixer/mixermod.c:114: warning: unused parameter ‘self’
src/sdlmixer/mixermod.c: In function ‘_mixer_closeaudio’:
src/sdlmixer/mixermod.c:134: warning: implicit declaration of function 
‘Mix_CloseAudio’
src/sdlmixer/mixermod.c:134: warning: nested extern declaration of 
‘Mix_CloseAudio’
src/sdlmixer/mixermod.c:132: warning: unused parameter ‘self’
src/sdlmixer/mixermod.c: In function ‘_mixer_queryspec’:
src/sdlmixer/mixermod.c:144: warning: implicit declaration of function 
‘Mix_QuerySpec’
src/sdlmixer/mixermod.c:144: warning: nested extern declaration of 
‘Mix_QuerySpec’
src/sdlmixer/mixermod.c:147: warning: passing argument 2 of 
‘PyErr_SetString’ makes pointer from integer without a cast
src/sdlmixer/mixermod.c:139: warning: unused parameter ‘self’
src/sdlmixer/mixermod.c: At top level:
src/sdlmixer/mixermod.c:156: warning: no previous prototype for ‘initbase’
src/sdlmixer/mixermod.c: In function ‘initbase’:
src/sdlmixer/mixermod.c:180: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
src/sdlmixer/mixermod.c:181: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
src/sdlmixer/mixermod.c:182: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
error: command 'gcc' failed with exit status 1
make: *** [install] Error 1
e...@evan-desktop:~/Applications/PGReloaded$ sudo make install >gedit
In file included from src/sdlmixer/mixermod.c:22:
src/sdlmixer/mixermod.h:24:23: error: SDL_mixer.h: No such file or directory
In file included from src/sdlmixer/mixermod.c:22:
src/sdlmixer/mixermod.h:34: error: expected ‘)’ before ‘*’ token
In file included from src/sdlmixer/mixermod.c:23:
src/sdlmixer/pgmixer.h:57: error: expected specifier-qualifier-list before 
‘Mix_Chunk’
src/sdlmixer/pgmixer.h:101: error: expected specifier-qualifier-list before 
‘Mix_Music’
src/sdlmixer/mixermod.c: In function ‘_mixer_init’:
src/sdlmixer/mixermod.c:60: warning: unused parameter ‘self’
src/sdlmixer/mixermod.c: In function ‘_mixer_wasinit’:
src/sdlmixer/mixermod.c:77: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
src/sdlmixer/mixermod.c:78: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
src/sdlmixer/mixermod.c:74: warning: unused parameter ‘self’
src/sdlmixer/mixermod.c: In function ‘_mixer_quit’:
src/sdlmixer/mixermod.c:82: warning: unused parameter ‘self’
src/sdlmixer/mixermod.c: In function ‘_mixer_getcompiledversion’:
src/sdlmixer/mixermod.c:92: warning: implicit declaration of function 
‘MIX_VERSION’
src/sdlmixer/mixermod.c:92: warning: nested extern declaration of 
‘MIX_VERSION’
src/sdlmixer/mixermod.c:89: warning: unused parameter ‘self’
src/sdlmixer/mixermod.c: In function ‘_mixer_getversion’:
src/sdlmixer/mixermod.c:100: warning: implicit declaration of function 
‘Mix_Linked_Version’
src/sdlmixer/mixermod.c:100: warning: nested extern declaration of 
‘Mix_Linked_Version’
src/sdlmixer/mixermod.c:100: warning: initialization makes pointer from integer 
without a cast
src/sdlmixer/mixermod.c:98: warning: unused parameter ‘self’
src/sdlmixer/mixermod.c: In function ‘_mixer_geterror’:
src/sdlmixer/mixermod.c:107: warning: implicit declaration of function 
‘Mix_GetError’
src/sdlmixer/mixermod.c:107: warning: nested extern declaration of 
‘Mix_GetError’
src/sdlmixer/mixermod.c:107: warning: initialization makes pointer from integer 
without a cast
src/sdlmixer/mixermod.c:105: warning: unused parameter ‘self’
src/sdlmixer/mixermod.c: In function ‘_mixer_openaudio’:
src/sdlmixer/mixermod.c:123: warning: implicit declaration of function 
‘Mix_OpenAudio’
src/sdlmixer/mixermod.c:123: warning: nested extern declaration of 
‘Mix_OpenAudio’
src/sdlmixer/mixermod.c:125: warning: passing argument 2 of 
‘PyErr_SetString’ makes pointer from integer without a cast
src/sdlmixer/mixermod.c:114: warning: unused parameter ‘self’
src/sdlmixer/mixermod.c: In function ‘_mixer_closeaudio’:
src/sdlmixer/mixermod.c:134: warning: implicit declaration of function 
‘Mix_CloseAudio’
src/sdlmixer/mixermod.c:134: warning: nested extern declaration of 
‘Mix_CloseAudio’
src/sdlmixer/mixermod.c:132: warning: unused parameter ‘self’
src/sdlmixer/mixermod.c: In function ‘_mixer_queryspec’:
src/sdlmixer/mixermod.c:144: warning: implicit declaration of function 
‘Mix_QuerySpec’
src/sdlmixer/mixermod.c:144: warning: nested extern declaration of 
‘Mix_QuerySpec’
src/sdlmixer/mixermod.c:147: warning: passing argument 2 of 
‘PyErr_SetString’ makes pointer from integer without a cast
src/sdlmixer/mixermod.c:139: warning: unused parameter ‘self’
src/sdlmixer/mixermod.c: At top level:
src/sdlmixer/mixermod.c:156: warning: no previous prototype for ‘initbase’
src/sdlmixer/mixermod.c: In function ‘initbase’:
src/sdlmixer/mixermod.c:180: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
src/sdlmixer/mixermod.c:181: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
src/sdlmixer/mixermod.c:182: warning: dereferencing type-punned pointer will 
break strict-aliasing rules

Reply via email to