Issues Compiling 4.8.5 / Qt5 / create-deb.sh

Archive of the non-categorized posts related to the QLC+ technical support.
Please do not create new threads here, instead, use the categories above !
Post Reply
User avatar
simu73
Posts: 5
Joined: Mon Jun 08, 2015 2:41 pm
Location: Switzerland near Berne
Real Name: Simu_

Hello

After some previous first experiments (partly successfull) with QLC+ i intend to do a proper setup.

I've made a complete fresh installation with (L)Ubuntu Core 14.04.2, updated the whole thing and then started with an installation of QLC+ 4.8.5 using Qt5 following the HowTo. At the point of starting "create-deb.sh" i've got this error: (see at the end of the pasted code)

Code: Select all

simu@simu-T400:~/QLCplus/Source/qlcplus-4.8.5$ sudo apt-get update
[sudo] password for simu: 
Ign http://ch.archive.ubuntu.com trusty InRelease
Ign http://extras.ubuntu.com trusty InRelease                                  
Ign http://archive.canonical.com trusty InRelease                              
Ign http://ch.archive.ubuntu.com trusty-updates InRelease                      
Ign http://ch.archive.ubuntu.com trusty-backports InRelease                    
OK   http://extras.ubuntu.com trusty Release.gpg                               
OK   http://archive.canonical.com trusty Release.gpg                           
OK   http://ch.archive.ubuntu.com trusty Release.gpg                           
OK   http://extras.ubuntu.com trusty Release                                   
OK   http://ch.archive.ubuntu.com trusty-updates Release.gpg                   
OK   http://archive.canonical.com trusty Release                               
OK   http://ch.archive.ubuntu.com trusty-backports Release.gpg                 
OK   http://ch.archive.ubuntu.com trusty Release                           
OK   http://extras.ubuntu.com trusty/main i386 Packages                    
OK   http://archive.canonical.com trusty/partner i386 Packages                 
OK   http://ch.archive.ubuntu.com trusty-updates Release                       
OK   http://ch.archive.ubuntu.com trusty-backports Release                     
Ign http://security.ubuntu.com trusty-security InRelease                       
OK   http://ch.archive.ubuntu.com trusty/main Sources                          
OK   http://ch.archive.ubuntu.com trusty/restricted Sources                    
OK   http://ch.archive.ubuntu.com trusty/universe Sources                      
OK   http://ch.archive.ubuntu.com trusty/multiverse Sources                    
Ign http://archive.canonical.com trusty/partner Translation-en                 
OK   http://ch.archive.ubuntu.com trusty/main i386 Packages                    
OK   http://ch.archive.ubuntu.com trusty/restricted i386 Packages              
Holen: 1 http://security.ubuntu.com trusty-security Release.gpg [933 B]        
OK   http://ch.archive.ubuntu.com trusty/universe i386 Packages                
OK   http://ch.archive.ubuntu.com trusty/multiverse i386 Packages              
OK   http://ch.archive.ubuntu.com trusty/main Translation-de                   
Holen: 2 http://security.ubuntu.com trusty-security Release [63.5 kB]          
OK   http://ch.archive.ubuntu.com trusty/main Translation-en                   
OK   http://ch.archive.ubuntu.com trusty/multiverse Translation-de             
OK   http://ch.archive.ubuntu.com trusty/multiverse Translation-en             
OK   http://ch.archive.ubuntu.com trusty/restricted Translation-de             
OK   http://ch.archive.ubuntu.com trusty/restricted Translation-en             
Ign http://extras.ubuntu.com trusty/main Translation-de_CH                     
Ign http://extras.ubuntu.com trusty/main Translation-de                        
OK   http://ch.archive.ubuntu.com trusty/universe Translation-de               
OK   http://ch.archive.ubuntu.com trusty/universe Translation-en               
Ign http://extras.ubuntu.com trusty/main Translation-en                        
OK   http://ch.archive.ubuntu.com trusty-updates/main Sources                  
OK   http://ch.archive.ubuntu.com trusty-updates/restricted Sources          
OK   http://ch.archive.ubuntu.com trusty-updates/universe Sources      
OK   http://ch.archive.ubuntu.com trusty-updates/multiverse Sources            
OK   http://ch.archive.ubuntu.com trusty-updates/main i386 Packages            
OK   http://ch.archive.ubuntu.com trusty-updates/restricted i386 Packages      
OK   http://ch.archive.ubuntu.com trusty-updates/universe i386 Packages        
OK   http://ch.archive.ubuntu.com trusty-updates/multiverse i386 Packages      
OK   http://ch.archive.ubuntu.com trusty-updates/main Translation-en           
Holen: 3 http://security.ubuntu.com trusty-security/main Sources [87.2 kB]     
OK   http://ch.archive.ubuntu.com trusty-updates/multiverse Translation-en   
OK   http://ch.archive.ubuntu.com trusty-updates/restricted Translation-en   
OK   http://ch.archive.ubuntu.com trusty-updates/universe Translation-en     
OK   http://ch.archive.ubuntu.com trusty-backports/main Sources              
OK   http://ch.archive.ubuntu.com trusty-backports/restricted Sources        
OK   http://ch.archive.ubuntu.com trusty-backports/universe Sources          
OK   http://ch.archive.ubuntu.com trusty-backports/multiverse Sources        
OK   http://ch.archive.ubuntu.com trusty-backports/main i386 Packages        
OK   http://ch.archive.ubuntu.com trusty-backports/restricted i386 Packages  
OK   http://ch.archive.ubuntu.com trusty-backports/universe i386 Packages    
OK   http://ch.archive.ubuntu.com trusty-backports/multiverse i386 Packages  
OK   http://ch.archive.ubuntu.com trusty-backports/main Translation-en       
OK   http://ch.archive.ubuntu.com trusty-backports/multiverse Translation-en  
OK   http://ch.archive.ubuntu.com trusty-backports/restricted Translation-en   
OK   http://ch.archive.ubuntu.com trusty-backports/universe Translation-en     
Holen: 4 http://security.ubuntu.com trusty-security/restricted Sources [2'061 B]
Holen: 5 http://security.ubuntu.com trusty-security/universe Sources [26.5 kB]
Holen: 6 http://security.ubuntu.com trusty-security/multiverse Sources [2'337 B]
Holen: 7 http://security.ubuntu.com trusty-security/main i386 Packages [289 kB]
Ign http://ch.archive.ubuntu.com trusty/main Translation-de_CH              
Ign http://ch.archive.ubuntu.com trusty/multiverse Translation-de_CH        
Ign http://ch.archive.ubuntu.com trusty/restricted Translation-de_CH         
Ign http://ch.archive.ubuntu.com trusty/universe Translation-de_CH           
Holen: 8 http://security.ubuntu.com trusty-security/restricted i386 Packages [8'846 B]
Holen: 9 http://security.ubuntu.com trusty-security/universe i386 Packages [109 kB]
Holen: 10 http://security.ubuntu.com trusty-security/multiverse i386 Packages [3'854 B]
OK   http://security.ubuntu.com trusty-security/main Translation-en     
OK   http://security.ubuntu.com trusty-security/multiverse Translation-en
OK   http://security.ubuntu.com trusty-security/restricted Translation-en
OK   http://security.ubuntu.com trusty-security/universe Translation-en
Es wurden 594 kB in 6 s geholt (89.3 kB/s).                                    
Paketlisten werden gelesen... Fertig
simu@simu-T400:~/QLCplus/Source/qlcplus-4.8.5$ cd /
simu@simu-T400:/$ cd /..
simu@simu-T400:/$  sudo apt-get install g++ make git build-essential qtbase5-dev qtscript5-dev qtmultimedia5-dev fakeroot debhelper devscripts pkg-config
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
build-essential ist schon die neueste Version.
debhelper ist schon die neueste Version.
fakeroot ist schon die neueste Version.
g++ ist schon die neueste Version.
make ist schon die neueste Version.
pkg-config ist schon die neueste Version.
qtmultimedia5-dev ist schon die neueste Version.
qtscript5-dev ist schon die neueste Version.
devscripts ist schon die neueste Version.
git ist schon die neueste Version.
qtbase5-dev ist schon die neueste Version.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
simu@simu-T400:/$  sudo apt-get install libasound2-dev libusb-dev libftdi-dev libudev-dev libmad0-dev libsndfile1-dev liblo-dev libfftw3-dev
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
libasound2-dev ist schon die neueste Version.
libfftw3-dev ist schon die neueste Version.
libftdi-dev ist schon die neueste Version.
libsndfile1-dev ist schon die neueste Version.
libusb-dev ist schon die neueste Version.
liblo-dev ist schon die neueste Version.
libmad0-dev ist schon die neueste Version.
libudev-dev ist schon die neueste Version.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
simu@simu-T400:/$ cd /home/simu/QLCplus/Source/qlcplus-4.8.5
simu@simu-T400:~/QLCplus/Source/qlcplus-4.8.5$ ./create-deb.sh
Processing de_DE
lrelease: could not exec '/usr/lib/i386-linux-gnu/qt4/bin/lrelease': No such file or directory
Processing es_ES
lrelease: could not exec '/usr/lib/i386-linux-gnu/qt4/bin/lrelease': No such file or directory
Processing fr_FR
lrelease: could not exec '/usr/lib/i386-linux-gnu/qt4/bin/lrelease': No such file or directory
Processing it_IT
lrelease: could not exec '/usr/lib/i386-linux-gnu/qt4/bin/lrelease': No such file or directory
Processing nl_NL
lrelease: could not exec '/usr/lib/i386-linux-gnu/qt4/bin/lrelease': No such file or directory
Processing cz_CZ
lrelease: could not exec '/usr/lib/i386-linux-gnu/qt4/bin/lrelease': No such file or directory
Processing pt_BR
lrelease: could not exec '/usr/lib/i386-linux-gnu/qt4/bin/lrelease': No such file or directory
Processing ca_ES
lrelease: could not exec '/usr/lib/i386-linux-gnu/qt4/bin/lrelease': No such file or directory
Processing ja_JP
lrelease: could not exec '/usr/lib/i386-linux-gnu/qt4/bin/lrelease': No such file or directory
dpkg-buildpackage: Quellpaket qlcplus
dpkg-buildpackage: Quellversion 4.8.5
dpkg-buildpackage: Quelldistribution stable
dpkg-buildpackage: Quellen geändert durch Massimo Callegari <massimocallegari@yahoo.it>
dpkg-buildpackage: Host-Architektur i386
 dpkg-source -I.git --before-build qlcplus-4.8.5
dpkg-checkbuilddeps: Nicht erfüllte Bauabhängigkeiten: libqt4-dev (>= 4.6.0)
dpkg-buildpackage: Warnung: Bauabhängigkeiten/-konflikte nicht erfüllt; Abbruch
dpkg-buildpackage: Warnung: (Verwenden Sie -d, um sich darüber hinwegzusetzen
Any ideas?

As i'm not really familiar with many linux-basics and / or programming, i'd be happy about rather detailled hints how to proceed.

Thanks. Simu.
Using the latest available release of QLC+ (QT5) via the Linux automated builds .
Enttec DMX USB Pro Mk2 - ELC SideKick fader 10 / Behringer BCF 2000
Lubuntu core 14.04 on a Thinkpad T400 (Intel Core 2 Duo P8600 @ 2.4 GHz; 2 GB Ram)
janosvitok
Posts: 1331
Joined: Mon Apr 13, 2015 7:05 am
Location: Bratislava, Slovakia
Real Name: Jano Svitok
Contact:

viewtopic.php?f=7&t=8626&p=37379#p37379

basically: Qt5 is either too old or not present in most debian distributions, so linux packages are qt4 based.
If you want to use Qt5, ideally backport QT 5.4.2 from willy to your distro (not too difficult, there's a script for backporting) and you'll also need to adjust debian/control file.

Note: when creating deb, you most probably don't have to build QLC+ beforehand, it will be built during package creation.
User avatar
simu73
Posts: 5
Joined: Mon Jun 08, 2015 2:41 pm
Location: Switzerland near Berne
Real Name: Simu_

Thanks a lot for your quick answer!

I did some googling afterwards to find out about the state of Qt5 on Ubuntu 14.04, but could not find any helpful hints (at least not in a form i could understand). (I think earlier i've read somewhere that Qt5 should be standard on 14.04 and newer.)

Anyway, i created the package then follwing the QT4-HowTo without any problems. (Although for the moment i did'nt have the time for serious testing.)

Have a nice weekend!
Using the latest available release of QLC+ (QT5) via the Linux automated builds .
Enttec DMX USB Pro Mk2 - ELC SideKick fader 10 / Behringer BCF 2000
Lubuntu core 14.04 on a Thinkpad T400 (Intel Core 2 Duo P8600 @ 2.4 GHz; 2 GB Ram)
Post Reply