Page 1 of 1

Compilation error with VLC-0.8.6a on Debian etch

Posted: 29 Mar 2007 15:10
by Remiii
I have a problem with the compilation of VLC-0.8.6a on Debian etch.
I executed all the steps written in this page http://wiki.videolan.org/UnixCompile

I downloaded the vlc-0.8.6a.tar.gz
$tar -xvzf vlc-0.8.6.a.tar.gz
$cd extras/contrib
$./bootsrtap

And after make
The result is:

Code: Select all

... ... ... make src make[1]: entrant dans le répertoire " /home/rbarbe/VLC0.8.6a-1/vlc-0.8.6a/extras/contrib " make -C src all make[2]: entrant dans le répertoire " /home/rbarbe/VLC0.8.6a-1/vlc-0.8.6a/extras/contrib/src " wget http://fribidi.org/download/fribidi-0.10.4.tar.gz --11:19:59-- http://fribidi.org/download/fribidi-0.10.4.tar.gz => `fribidi-0.10.4.tar.gz' Résolution de fribidi.org... 131.252.208.82 Connexion vers fribidi.org|131.252.208.82|:80...connecté. requête HTTP transmise, en attente de la réponse...200 OK Longueur: 447 825 (437K) [application/x-tar] 100%[=============================================================>] 447 825 138.48K/s ETA 00:00 11:20:02 (138.16 KB/s) - " fribidi-0.10.4.tar.gz " sauvegardé [447825/447825] rm -rf fribidi || true tar xzf fribidi-0.10.4.tar.gz --exclude='[*?:<>\|]' mv fribidi-0.10.4 fribidi || true touch fribidi patch -p 0 < Patches/fribidi.patch.real patching file fribidi/acinclude.m4 (cd fribidi; rm -f configure; ./bootstrap && ./configure --prefix=/home/rbarbe/VLC0.8.6a-1/vlc-0.8.6a/e xtras/contrib && make && make install) ./bootstrap: line 4: aclocal: command not found make[2]: *** [.fribidi] Erreur 127 make[2]: quittant le répertoire " /home/rbarbe/VLC0.8.6a-1/vlc-0.8.6a/extras/contrib/src " make[1]: *** [src] Erreur 2 make[1]: quittant le répertoire " /home/rbarbe/VLC0.8.6a-1/vlc-0.8.6a/extras/contrib " make: *** [all] Erreur 2 $
I don't know why I got this error
Can somebody help me? Thanks in advance!

Posted: 29 Mar 2007 15:33
by dimstar
Hi,

From the error in your logfile:

Code: Select all

./bootstrap: line 4: aclocal: command not found
Did you install the automake packages?

Posted: 30 Mar 2007 11:20
by Remiii
Thanks Dimstar.
With automake1.9 it is better.

But after I get an other problem:

Code: Select all

... ... ... A ffmpeg/libswscale/yuv2rgb_init.c A ffmpeg/libswscale/rgb2rgb.c A ffmpeg/libswscale/swscale-example.c A ffmpeg/libswscale/yuv2rgb_template.c A ffmpeg/libswscale/swscale_template.c A ffmpeg/libswscale/rgb2rgb.h A ffmpeg/libswscale/Makefile U ffmpeg/libswscale Référence externe extraite à la révision 22844. Révision 8551 extraite. (cd ffmpeg; ./configure --enable-mp3lame --enable-faac --prefix=/home/rbarbe/VLC0.8.6a-1/vlc-0.8.6a/extras/contrib --extra-cflags="-I/home/rbarbe/VLC0.8.6a-1/vlc-0.8.6a/extras/contrib/include -I/include -DRUNTIME_CPUDETECT" --extra-ldflags="-L/home/rbarbe/VLC0.8.6a-1/vlc-0.8.6a/extras/contrib/lib " --enable-gpl --enable-pp --disable-vhook --disable-ffserver --disable-network --enable-a52 --disable-ffplay && make install-libs install-headers) Unknown option "--enable-mp3lame". See ./configure --help for available options. make[2]: *** [.ffmpeg] Erreur 1 make[2]: quittant le répertoire " /home/rbarbe/VLC0.8.6a-1/vlc-0.8.6a/extras/contrib/src " make[1]: *** [src] Erreur 2 make[1]: quittant le répertoire " /home/rbarbe/VLC0.8.6a-1/vlc-0.8.6a/extras/contrib " make: *** [all] Erreur 2 $
I tried to modify the configure file in ./src/ffmpeg but the same error still appeared.

Posted: 30 Mar 2007 12:05
by kmf31
May be you need first to install lame (containing libmp3lame) and then recompile ffmpeg.

Posted: 30 Mar 2007 12:08
by Jean-Baptiste Kempf
--enable-libmp3lame for recents ffmpegs.