On 07/24/2016 06:19 PM, Ken Moffat wrote:
On Sun, Jul 24, 2016 at 03:41:20PM -0400, Paul Hentschel wrote:
On 07/24/2016 03:31 PM, Bruce Dubbs wrote:
The reason for the required upgrade is because qt4 is required for the
2.x version of the vlc qt interface and we have dropped qt4 from BLFS.
It would be interesting if we could get a decent alternate interface
without qt for the 2.x version of vlc.

  -- Bruce


Just so you know, I don't have qt4 on either system. I built 2.2.3 with
qt5.6 and gcc5.3.

Paul posted about this in May, (2.2.3 using the systemd book) - at
that time he had to use clang to build it.  I replied noting that
gcc-5 worked for me.

I think there were other comments in a different|earlier thread, and
indeed ISTR at least one person could not build without qt4 (perhaps
a fuller set of dependencies than I was using).

But the book had been changed by the time I did my first (so far,
only) build with gcc6 so I've not tried that with the old release.

ĸen


Ken, I ended up getting it to build with gcc5.3 instead of clang by removing the CXX="g++ -std=c++11" flag from the book commands. Here are the book commands (r17455):

sed -i '/seems to be moved/s/^/#/' autotools/ltmain.sh

patch -Np1 -i ../vlc-2.2.3-ffmpeg3-1.patch &&

CXX="g++ -std=c++11"              \
CFLAGS="-DLUA_COMPAT_5_1"         \
OPENCV_LIBS="-L/usr/share/OpenCV" \
./configure --prefix=/usr &&

make

Like I said, I removed the CXX flag for it to work with gcc5.3 / qt5.6. I was told (by Bruce, I think) that it is definitely required for gcc6. I tried using the following to build on my gcc6 system but it is not working.

sed -i '/seems to be moved/s/^/#/' autotools/ltmain.sh

patch -Np1 -i ../vlc-2.2.3-ffmpeg3-1.patch &&

CXX="g++ -std=c++11"              \
CFLAGS="-DLUA_COMPAT_5_1"         \
./configure --prefix=/usr &&

make

Paul
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to