pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
qt5-qtmultimedia build failure on CentOS 6
When building x11/qt5-qtmultimedia on CentOS 6, the install target fails
because it can't find libqtaudio_alsa.la.
I traced the problem to configure's failure to find the alsa-lib
dependency, because it can't find asoundlib.h.
config.log:
executing config test alsa
+ cd
/home/sharedapps/pkgsrc-2016Q1/jb-wip/qt5-qtmultimedia/work/qtmultimedia-opensource-src-5.5.1/config.tests/alsa
&& /sharedapps/pkg-2016Q1/qt5/bin/qmake -spec
/sharedapps/pkg-2016Q1/qt5/mkspecs/linux-g++ "CONFIG -= qt
debug_and_release app_bundle lib_bundle"
/home/sharedapps/pkgsrc-2016Q1/jb-wip/qt5-qtmultimedia/work/qtmultimedia-opensource-src-5.5.1/config.tests/alsa
+ cd
/home/sharedapps/pkgsrc-2016Q1/jb-wip/qt5-qtmultimedia/work/qtmultimedia-opensource-src-5.5.1/config.tests/alsa
&& make
make[2]: Entering directory
`/home/sharedapps/pkgsrc-2016Q1/jb-wip/qt5-qtmultimedia/work/qtmultimedia-opensource-src-5.5.1/config.tests/alsa'
libtool --silent --mode=compile c++ -c -I/usr/include
-I/sharedapps/pkg-2016Q1/include
-I/sharedapps/pkg-2016Q1/include/freetype2
-I/sharedapps/pkg-2016Q1/lib/dbus-1.0/include/dbus
-I/sharedapps/pkg-2016Q1/include/libdrm -fno-exceptions -Wall -W -fPIC
-DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT
-DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I.
-isystem /usr/include -I/sharedapps/pkg-2016Q1/include
-I/sharedapps/pkg-2016Q1/include/freetype2
-I/sharedapps/pkg-2016Q1/lib/dbus-1.0/include/dbus
-I/sharedapps/pkg-2016Q1/include/libdrm -I/sharedapps/pkg-2016Q1/include
-I/sharedapps/pkg-2016Q1/qt5/mkspecs/linux-g++ -o .obj/alsatest.lo
alsatest.cpp
alsatest.cpp:34:28: error: alsa/asoundlib.h: No such file or directory
alsatest.cpp:36:2: error: #error "Alsa version found too old, require >=
1.0.10"
alsatest.cpp:39: warning: unused parameter 'argc'
alsatest.cpp:39: warning: unused parameter 'argv'
make[2]: *** [.obj/alsatest.lo] Error 1
make[2]: Leaving directory
`/home/sharedapps/pkgsrc-2016Q1/jb-wip/qt5-qtmultimedia/work/qtmultimedia-opensource-src-5.5.1/config.tests/alsa'
test alsa FAILED
The header is there, however:
[bacon@sciprog2 qt5-qtmultimedia]$ ls
/sharedapps/pkg-2016Q1/include/alsa/asoundlib.h
/sharedapps/pkg-2016Q1/include/alsa/asoundlib.h
and the test program uses an include matching the -I flag:
#include <alsa/asoundlib.h>
Any suggestions as to what might be causing this?
I worked around it for now by commenting out the following in Makefile:
PLIST.alsa= yes
Thanks,
Jason
--
Those who spend their lives in the shallows see their whole world in turmoil
every time the wind blows.
Those who explore the depths see only ripples at the surface of an otherwise
serene world.
Home |
Main Index |
Thread Index |
Old Index