[Slackbuilds-users] Updates - 20180811.1

King Beowulf kingbeowulf at gmail.com
Mon Aug 13 15:47:17 UTC 2018


On 08/12/2018 10:46 PM, David Woodfall wrote:
> On Sunday 12 August 2018 16:08,
> 414N <414N at slacky.it> put forth the proposition:
>> Hi,
>>
>> 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
> 
> CFLAGS="$SLKCFLAGS" \
> CXXFLAGS="$SLKCFLAGS" \
> 
> to
> 
> export CFLAGS="$SLKCFLAGS"
> export CXXFLAGS="$SLKCFLAGS -std=c++11"
> 
> and comment out or remove the old make line and add just 'make' so it looks
> like this
> 
> make clean
> make 
> make install DESTDIR=$PKG
> 
> -Dave
> 

This appears to be the fix for the SBo qt5-5.7.1 as well.  I was using
Alien Bob's qt5 in which mlt fails the qt5 test and thus defaults to
qt4.  (lazy!).

I'm testing now with SBo qt5 but this will take a few hrs to compile
(!); stay tuned.

-Ed

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20180813/1d83c116/attachment.asc>


More information about the SlackBuilds-users mailing list