[Slackbuilds-users] Updates - 20180811.1
dave at dawoodfall.net
Mon Aug 13 05:46:16 UTC 2018
On Sunday 12 August 2018 16:08,
414N <414N at slacky.it> put forth the proposition:
> I have problems upgrading mlt and rust.
> mlt seems to require a forced 'std-c++11' gcc flag (haven't tried it
> yet) to successfully compile now:
> In file included from /usr/include/qt5/QtCore/qglobal.h:83:0,
> from /usr/include/qt5/QtCore/qcoreapplication.h:43,
> from /usr/include/qt5/QtWidgets/qapplication.h:43,
> from /usr/include/qt5/QtWidgets/QApplication:1,
> from common.cpp:20:
> /usr/include/qt5/QtCore/qcompilerdetection.h:562:6: error: #error Qt
> requires a C++11 compiler and yours does not seem to be that.
> # error Qt requires a C++11 compiler and yours does not seem to be that.
This fixed it for me:
Firstly, I was testing Qt5-5.9.6, so this may not apply for the
current Qt5 version on SBo at the moment, but I built Qt5 with an
extra configure option:
-c++std c++11 \
I also added -std=c++11 to CXXFLAGS.
For mlt change
export CXXFLAGS="$SLKCFLAGS -std=c++11"
and comment out or remove the old make line and add just 'make' so it looks
make install DESTDIR=$PKG
Windows without the X is like making love without a partner.
Sex, Drugs & Linux Rules
win-nt from the people who invented edlin.
Apples have meant trouble since eden.
Linux, the way to get rid of boot viruses
-- MaDsen Wikholm, mwikholm at at8.abo.fi
More information about the SlackBuilds-users