[vlc-devel] AppImage for distributing VLC builds for Linux

probono probono at puredarwin.org
Sun May 8 14:42:05 CEST 2016


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

# The above "workaround" by symlinking doesn't work:
# make[2]: Entering directory `/vlc/src'
#   CC       fourcc_gen
# misc/fourcc_gen.c: In function 'process_list':
# misc/fourcc_gen.c:74:5: error: 'for' loop initial declarations are
only allowed in C99 or C11 mode
#      for (size_t i = 0; i < n; i++)
#      ^


More information about the vlc-devel mailing list