Page 1 of 1

Can't install Debian version of QLC Plus - Dependency failure

Posted: Sat Jun 29, 2013 5:38 pm
by Dan Wheeler
I tried to install the 4.4.0 beta, as well as the 4.3.3 stable version of QLC+ on a newly created version of Debian Linux (Debian-Live-7.0.0). It failed with a dependency error, complained that I needed Libc6 version 2.15 or higher, but I have 2.13. It appears that version 2.15 is not readily available, according to what I googled around.

I tried "apt-get install libc," and it tells me I have the latest version.

Am I missing something something? Thx.

Can't install Debian version of QLC Plus - Dependency failure

Posted: Sat Jun 29, 2013 10:46 pm
by Massimo Callegari
As you probably know .deb files are used on Debian but also on Ubuntu.
In fact QLC+ is compiled on Ubuntu 12.04 32 and 64 bit.
When dependencies are not satisfied, it means you need to compile QLC+ from sources. Doing it in Linux is quite easy:
https://github.com/mcallegari/qlcplus/w ... uild-HOWTO

I've successfully compiled QLC+ on Ubuntu 10.04 64bit which should be quite similar to your Debian 7. Unfortunately I don't have direct access of that system to help you in a decent time

Can't install Debian version of QLC Plus - Dependency failure

Posted: Tue Jul 02, 2013 3:27 pm
by Mitsch
Hi!

Had the same problem installing qlcplus on Debian Wheezy, so I tried to build it. Installed all stuff I was told to install by the first run of create-deb.sh... On the second run, I got an error:

[…]
g++ -c -m64 -pipe -Werror -Wno-unused-local-typedefs -O2 -D_REENTRANT -Wall -W -fPIC -DQT_WEBKIT -DHAS_LIBMAD -DHAS_LIBSNDFILE -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Iaudio -I../../plugins/interfaces -I../../hotplugmonitor/src -I. -o audiocapture.o audio/audiocapture.cpp
audio/audiocapture.cpp:28:19: fatal error: fftw3.h: Datei oder Verzeichnis nicht gefunden
compilation terminated.
make[3]: *** [audiocapture.o] Fehler 1
make[3]: Leaving directory `/home/mitsch/src/qlcplus-4.4.0beta1/engine/src'
make[2]: *** [sub-src-make_default-ordered] Fehler 2
make[2]: Leaving directory `/home/mitsch/src/qlcplus-4.4.0beta1/engine'
make[1]: *** [sub-engine-make_default-ordered] Fehler 2
make[1]: Leaving directory `/home/mitsch/src/qlcplus-4.4.0beta1'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Fehler 25
dpkg-buildpackage: Fehler: Fehler-Exitstatus von debian/rules build war 2

...any guess?

greets!
Mitsch

Can't install Debian version of QLC Plus - Dependency failure

Posted: Tue Jul 02, 2013 3:39 pm
by Jano Svitok
I solved this problem (making package directly from the git tree) by using apt-get install libfftw3-dev. The dependency was somehow not in the package.

Can't install Debian version of QLC Plus - Dependency failure

Posted: Tue Jul 02, 2013 3:48 pm
by Massimo Callegari
Yeah, it's actually written in the Wiki: https://github.com/mcallegari/qlcplus/w ... uild-HOWTO

Can't install Debian version of QLC Plus - Dependency failure

Posted: Tue Jul 02, 2013 3:51 pm
by Jano Svitok
alternatively, you can try changing file: qlcplus/debian/control:

Change:

> Build-Depends: debhelper (>= 7.0.50), libqt4-dev (>= 4.6.0), libasound2-dev (>= 1.0.16),
> libusb-dev (>= 2:0.1.12), libftdi-dev (>= 0.17), shared-mime-info (>= 0.71),
> make, g++, libstdc++-dev, libudev-dev, libmad0-dev, libsndfile1-dev, liblo-dev

to

> Build-Depends: debhelper (>= 7.0.50), libqt4-dev (>= 4.6.0), libasound2-dev (>= 1.0.16),
> libusb-dev (>= 2:0.1.12), libftdi-dev (>= 0.17), shared-mime-info (>= 0.71),
> make, g++, libstdc++-dev, libudev-dev, libmad0-dev, libsndfile1-dev, liblo-dev,
> libfftw3-dev

Not tested, I'm not at my linux machine.

Can't install Debian version of QLC Plus - Dependency failure

Posted: Wed Jul 03, 2013 9:16 am
by Mitsch
> Yeah, it's actually written in the Wiki: https://github.com/mcallegari/qlcplus/w ... uild-HOWTO


Got it! There is a little misstake: libmad-dev is not in the debian-repos, but libmad0-dev is.

Also, I couldn't get OLA compiled so I took the deb packages they're offering, see: http://opendmx.net/index.php/Download_&_Install_OLA

Unfortunately, no repo-keys. :(

Anyway: Installed the ola-dev package, tried to build qlcplus, again and got stuck, again:


make[3]: Entering directory `/home/mitsch/src/qlcplus-4.4.0beta1/plugins/ola'
/usr/bin/uic-qt4 configureolaio.ui -o ui_configureolaio.h
g++ -c -m64 -pipe -Werror -Wno-unused-local-typedefs -O2 -Wall -W -D_REENTRANT -fPIC -DQT_WEBKIT -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../interfaces -I. -I. -o olaio.o olaio.cpp
g++ -c -m64 -pipe -Werror -Wno-unused-local-typedefs -O2 -Wall -W -D_REENTRANT -fPIC -DQT_WEBKIT -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../interfaces -I. -I. -o olaoutthread.o olaoutthread.cpp
olaoutthread.cpp: In member function ‘virtual bool OlaEmbeddedServer::init()’:
olaoutthread.cpp:252:5: error: ‘ola_server_options’ is not a member of ‘ola’
olaoutthread.cpp:252:29: error: expected ‘;’ before ‘options’
olaoutthread.cpp:253:5: error: ‘options’ was not declared in this scope
make[3]: *** [olaoutthread.o] Fehler 1
make[3]: Leaving directory `/home/mitsch/src/qlcplus-4.4.0beta1/plugins/ola'
make[2]: *** [sub-ola-make_default] Fehler 2
make[2]: Leaving directory `/home/mitsch/src/qlcplus-4.4.0beta1/plugins'
make[1]: *** [sub-plugins-make_default-ordered] Fehler 2
make[1]: Leaving directory `/home/mitsch/src/qlcplus-4.4.0beta1'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Fehler 25
dpkg-buildpackage: Fehler: Fehler-Exitstatus von debian/rules build war 2

Don't know: Is it necessary to compile the ola-plugin for my Enttec DMX USB Pro? If yes: What to do, now?

Can't install Debian version of QLC Plus - Dependency failure

Posted: Wed Jul 03, 2013 9:22 am
by Massimo Callegari
Update your QLC+ tree. I've fixed this 2 days ago.
The kind guys of OLA changed the data structures so now we're all forced to use version 0.8.30. :S

And no, OLA is not needed for your USB device. You can comment it out on plugins/plugins.pro file