[vlc-devel] AppImage for distributing VLC builds for Linux
Rémi Denis-Courmont
remi at remlab.net
Sun May 8 14:56:19 CEST 2016
Le 2016-05-08 14:42, probono a écrit :
> 2016-05-08 14:07 GMT+02:00 Jean-Baptiste Kempf <jb at videolan.org>:
>> It is OK here.
>> But you probably need gcc 4.8 or 4.9 to compile HEAD.
>
> OK, installed 4.9 but am running into additional issues:
>
> sudo apt-get --yes remove gcc g++ gcc-4.6 c++-4.6
> sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
> sudo apt-get update
> sudo apt-get --yes install gcc-4.9 g++-4.9
> sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9
> 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9
>
> ./configure --disable-chromaprint --disable-ncurses --disable-cddb
> --disable-xcb --prefix=/usr
>
> # Workaround for:
> # checking for desktop-file-validate... desktop-file-validate
> # checking for c11-gcc... no
> # checking for c11... no
> # checking for c99-gcc... no
> # checking for c99... no
> # configure: error: Cannot find native C99 compiler: please define
> BUILDCC.
> BUILDCC="/usr/bin/gcc -std=gnu99" ./configure --disable-chromaprint
> --disable-ncurses --disable-cddb --disable-xcb --prefix=/usr
>
> # Need a workaround for:
> # make[2]: Entering directory `/vlc/src'
> # CC fourcc_gen
> # /bin/bash: c99-gcc: command not found
> ln -s /usr/bin/gcc-4.9 /usr/bin/c99-gcc
(As per GNU guidelines) GCC ignores its argv[0]. You need a script
here, unless your GCC build defaults to C99 or C11.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list