I am trying to install pymedia (python setup.py build), however I get the error 'command 'gcc' failed with exit status 1' when trying to do so. The full output is:
running build
running build_py
running build_ext
building 'pymedia.muxer' extension
gcc -pthread -fno-strict-aliasing -march=i486 -mtune=i686 -O3 -pipe -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DBUILD_NUM=1881 -DPATH_DEV_DSP="/dev/dsp" -DPATH_DEV_MIXER="/dev/mixer" -D_FILE_OFFSET_BITS=64 -DACCEL_DETECT=1 -DHAVE_MMX=1 -DHAVE_LINUX_DVD_STRUCT=1 -DDVD_STRUCT_IN_LINUX_CDROM_H=1 -DCONFIG_VORBIS -DCONFIG_VORBIS -DCONFIG_MP3LAME -DCONFIG_VORBIS -DCONFIG_ALSA -DHAVE_AV_CONFIG_H -DUDF_CACHE=1 -INone -INone -I/usr/local/include/lame -INone -INone -I/opt/db/pymedia-1.3.7.3 -Ivideo/ -I/usr/local/include/python2.7 -c video/muxer/demuxer.c -o build/temp.linux-i686-2.7/video/muxer/demuxer.o
In file included from /usr/local/include/python2.7/Python.h:58:0,
from video/muxer/demuxer.c:27:
/usr/local/include/python2.7/pyport.h:146:1: error: unknown type name 'uintptr_t'
In file included from video/libavcodec/avcodec.h:14:0,
from video/muxer/muxer.h:5,
from video/muxer/demuxer.c:30:
video/libavcodec/common.h: In function 'skip_bits':
video/libavcodec/common.h:747:1: warning: variable 're_cache' set but not used [-Wunused-but-set-variable]
video/muxer/demuxer.c: At top level:
video/libavformat/avformat.h:67:13: warning: 'av_free_packet' defined but not used [-Wunused-function]
error: command 'gcc' failed with exit status 1
Anyone have any ideas, please??