On 05/18/16 19:32, Ken Moffat wrote:
Well, I'm glad you got a version that works, but sorry you had to build clang (I only build it on one powerful machine, because it is such a big build and normally unnecessary for me - normally llvm for Mesa is all that I need). I've just found time to try building vlc-2.2.3, and I had no problems. Command history (I doubt all of the exports are necessary, but they are what I use in my normal scripts). export QT5PREFIX=/opt/qt5 export PKG_CONFIG_PATH=$QT5PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH export QT5DIR=$QT5PREFIX export PATH=$QT5PREFIX/bin:$PATH export QT_PLUGIN_PATH=$QT5DIR/plugins export QML_IMPORT_PATH=$QT5DIR/qml export QML2_IMPORT_PATH=$QML_IMPORT_PATH cd /tmp tar -xvf /sources/vlc-2.2.3.tar.xz cd vlc-2.2.3/ sed -i 's:libsmbclient.h:samba-4.0/&:' modules/access/smb.c sed -e '/LUA_C/ i #define LUA_COMPAT_APIINTCASTS' -i modules/lua/vlc.h sed -e '/core.h/ { a #include <opencv2/imgproc/imgproc_c.h> a #include <opencv2/imgproc/imgproc.hpp> }' ./bootstrap OPENCV_LIBS="-L/usr/share/OpenCV" ./configure --prefix=/usr --disable-lua --disable-libgcrypt --enable-faad CFLAGS='-fPIC -O2 -Wall -Wextra -DLUA_COMPAT_5_1' make System details: x86_64, LFS svn 20160416 (r11048) plus newer kernel headers (4.5.2) BLFS r17298 20160427 Of the recommended deps, I omitted libgcrypt and lua. Of the optional plugin deps I omitted samba, libluray, libdc1394, libproxy, live555, VCDImager, Opus, Speex, Dirac, FluidSynth, libdca, libkate, OpenMAX, Schroedinger, Tremor, Twolame, Zapping, AAlib, Fribidi, licaca, jack, JACK, libtar, LIRC, Goom, projectM, libmtp, libupnp, libnotify, and of course qt4. Normally I omit rather more, but I've built a full kde5 this time, even if I cannot use it. ĸen
Ken, I had already built clang when I built llvm for Mesa, so it wasn't a problem to try it. This is my first BLFS build. Kind of a practice run to see if I could make things work.
I wanted to try building VLC with your script but I couldn't get past the 3rd sed command. Doesn't it need a file name at the end?
Anyways, I tried again with gcc 5.3 using the book patch and sed command and your exports and configure options and it worked! I proceeded to eliminate options and exports to figure out what was causing the build to fail. It turns out the CXX="g++ -std=c++11" is the culprit. If I eliminate that from the book instructions it works without any other changes. I feel silly now for not trying that before. I would be interested to know if anyone else can reproduce this with gcc 5.3.
Thanks for the help! Paul -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page