I am not very familiar with linux in general and am having much difficulty manually building VLC 0.7.2 (the version i require). I need to perform a manual build because i wish to alter the code for a university project.
I am running suse 10 and have attempted to install all the libraries required by VLC but am obviously unsucessful as it will not build.
My first problem was ffmpeg, and i believe i finally have it installed but after i configure vlc as follows:
./configure --disable-dvd --disable-libmpeg2
make
I recieve the following error:
video.c:518: warning: pointer targets in passing argument 4 of ‘avcodec_decode_video’ differ in signedness
video.c:594: error: ‘struct AVCodecContext’ has no member named ‘frame_rate’
video.c:598: error: ‘struct AVCodecContext’ has no member named ‘frame_rate_base’
video.c:599: error: ‘struct AVCodecContext’ has no member named ‘frame_rate’
make[6]: *** [libffmpeg_a-video.o] Error 1
make[6]: Leaving directory `/home/Imad/vlc-0.7.2/modules/codec/ffmpeg'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/home/Imad/vlc-0.7.2/modules/codec/ffmpeg'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/Imad/vlc-0.7.2/modules/codec'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/Imad/vlc-0.7.2/modules/codec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Imad/vlc-0.7.2/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Imad/vlc-0.7.2'
make: *** [all] Error 2
I also tried
./configure --disable-dvd --disable-libmpeg2 --disable-vorbis --disable-ogg --disable-theora
but recieved the same error.
So I then tried to disable ffmpeg in the configure command:
./configure --disable-dvd --disable-libmpeg2 --disable-ffmpeg
make
But now i recieve this error:
invert.c: In function ‘Render’:
invert.c:220: error: invalid lvalue in increment
invert.c:220: error: invalid lvalue in increment
invert.c:221: error: invalid lvalue in increment
invert.c:221: error: invalid lvalue in increment
invert.c:222: error: invalid lvalue in increment
invert.c:222: error: invalid lvalue in increment
invert.c:223: error: invalid lvalue in increment
invert.c:223: error: invalid lvalue in increment
invert.c:224: error: invalid lvalue in increment
invert.c:224: error: invalid lvalue in increment
invert.c:225: error: invalid lvalue in increment
invert.c:225: error: invalid lvalue in increment
invert.c:226: error: invalid lvalue in increment
invert.c:226: error: invalid lvalue in increment
invert.c:227: error: invalid lvalue in increment
invert.c:227: error: invalid lvalue in increment
make[4]: *** [libinvert_plugin_a-invert.o] Error 1
make[4]: Leaving directory `/home/Imad/vlc-0.7.2/modules/video_filter'
make[3]: *** [all-modules] Error 1
make[3]: Leaving directory `/home/Imad/vlc-0.7.2/modules/video_filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Imad/vlc-0.7.2/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Imad/vlc-0.7.2'
make: *** [all] Error 2
I retrieved the source (vlc-0.7.2.tar.gz) from http://downloads.videolan.org/pub/videolan/vlc/0.7.2/
Should I be retrieving the source from subversion? or is that only if i wish to retrieve the latest version of vlc (because i need 0.7.2).
Any help would be veryyyyyyyyyyyyyyyyy much appreciated, thank you for your time.