LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-13-2018, 02:39 PM   #16
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744

This should let the current SBo verions of mlt and qt5 to play nice. thanks to those who provided clues and testing as to what was happening.

qt5-5.7.1 SBo version
=====================
Modify the following:

Code:
export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS -std=c++11"
./configure -v -c++std c++11 \

mlt-6.10.0 SBo version
======================
Modification are:

Code:
# Use qt5 if present, otherwise system default
if pkg-config --exists Qt5 ; then
  qt="--qt-libdir=$(pkg-config Qt5 --variable=libdir)
      --qt-includedir=$(pkg-config Qt5 --variable=headerdir)"
  QTCXX="-std=c++11"
else
  qt="--qt-libdir=$(pkg-config Qt --variable=libdir)
      --qt-includedir=$(pkg-config Qt --variable=headerdir)"
fi
and

Code:
export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS $QTCXX"
./configure \

...

make clean
make
make install DESTDIR=$PKG
both should now compile so that mlt will have qt5 support. Let me know how it goes.
 
Old 08-17-2018, 02:27 AM   #17
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 900

Original Poster
Rep: Reputation: 153Reputation: 153
Downloaded from SlackBuilds mlt and qt5 afresh. Amended the SlackBuild scripts as per the instructions in posting https://www.linuxquestions.org/quest...ml#post5891329

Compiled qt5 then mlt. All compiled successfully as expected.

Thanks
 
Old 05-17-2020, 09:44 AM   #18
przemo
Member
 
Registered: Feb 2016
Location: cork.ie
Distribution: Slackware-current
Posts: 162

Rep: Reputation: Disabled
similar problem here cant install flowblade
Code:
chmod 755 blib/arch/auto/mlt/mlt.so
make[2]: Leaving directory '/tmp/SBo/mlt-6.16.0/src/swig/perl'
OK
make[2]: Entering directory '/tmp/SBo/mlt-6.16.0/src/swig/perl'
"/usr/bin/perl5.30.2" -MExtUtils::Command::MM -e 'cp_nonempty' -- mlt.bs blib/arch/auto/mlt/mlt.bs 644
make[2]: Leaving directory '/tmp/SBo/mlt-6.16.0/src/swig/perl'
Building php...Target language option -php5 (PHP 5) is no longer supported.
g++: error: mlt_wrap.cpp: No such file or directory
g++: fatal error: no input files
compilation terminated.
g++: error: mlt_wrap.o: No such file or directory
make[1]: *** [Makefile:5: all] Error 1
make[1]: Leaving directory '/tmp/SBo/mlt-6.16.0/src/swig'
make: *** [Makefile:9: all] Error 1

mlt:
Would you like to continue processing the rest of the
queue or would you like to abort?  If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.
 
Old 05-17-2020, 11:04 AM   #19
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by przemo View Post
similar problem here cant install flowblade
Code:
chmod 755 blib/arch/auto/mlt/mlt.so
make[2]: Leaving directory '/tmp/SBo/mlt-6.16.0/src/swig/perl'
OK
make[2]: Entering directory '/tmp/SBo/mlt-6.16.0/src/swig/perl'
"/usr/bin/perl5.30.2" -MExtUtils::Command::MM -e 'cp_nonempty' -- mlt.bs blib/arch/auto/mlt/mlt.bs 644
make[2]: Leaving directory '/tmp/SBo/mlt-6.16.0/src/swig/perl'
Building php...Target language option -php5 (PHP 5) is no longer supported.
g++: error: mlt_wrap.cpp: No such file or directory
g++: fatal error: no input files
compilation terminated.
g++: error: mlt_wrap.o: No such file or directory
make[1]: *** [Makefile:5: all] Error 1
make[1]: Leaving directory '/tmp/SBo/mlt-6.16.0/src/swig'
make: *** [Makefile:9: all] Error 1

mlt:
Would you like to continue processing the rest of the
queue or would you like to abort?  If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.
you problem is not related to the original problem reported with this topic as the OP was on stable and you are on current.

the fastest way for you to solve is to disable some swig bindings to let mlt build on current

http://cgit.ponce.cc/slackbuilds/commit/?h=mlt

also consider that the SBo repository is tested only with Slackware 14.2, not with current, so you might encounter a lot of issues using that while on Slackware's development platform.

Last edited by ponce; 05-17-2020 at 11:05 AM.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] aMule doesn't compile in Slackware 64 stable PreguntoYo Slackware 8 07-31-2018 02:12 AM
[SOLVED] I cannot compile 6.47. Gettext-0.19.8.1 in stable systemd version ar124official Linux From Scratch 2 06-30-2018 09:04 AM
[SOLVED] BLFSS 8.0 stable: TCL fails to compile jr_bob_dobbs Linux From Scratch 3 05-06-2017 10:14 AM
mlt 0.8.20 compile error zasavage Slackware 3 11-15-2012 12:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration