=============================================================
checking audiofile.h usability... yes
checking audiofile.h presence... no
configure: WARNING: audiofile.h: accepted by the
compiler,
rejected by the preprocessor!
configure: WARNING: audiofile.h: proceeding with the
compiler's result
checking for audiofile.h... yes
=============================================================
I presume the messages mean that audiofile.h is
available
(true: /usr/include), but that has somehow failed
some
other
test. I don't know what "presence"
means. I have
audiofile
0.2.6 installed.
I don't know why this solves the problem, but I checked the
configure log and the problem for this error was "tqt.h No
such file or directory." I only have a few build logs of
past builds, but this error appears in all of them. I was
able to stop this particular error with this patch:
=============================================================
diff -urN kdemultimedia/admin/acinclude.m4.in
kdemultimedia.new/admin/acinclude.m4.in
--- kdemultimedia/admin/acinclude.m4.in 2011-10-23
17:53:19.000000000 -0500
+++ kdemultimedia.new/admin/acinclude.m4.in 2012-01-10
23:02:01.000000000 -0600
@@ -1236,7 +1236,7 @@
CXXFLAGS="-I/usr/include/tqt"
AC_TRY_COMPILE([
#define TQT_VERSION_ONLY
- #include <tqt.h>
+ #include <tqt/tqt.h>
#undef TQT_VERSION_ONLY
#ifdef USE_QT4
choke me
@@ -2846,7 +2846,7 @@
QT_LDFLAGS="$QT_LDFLAGS $LIBTQT_LDFLAGS"
AC_SUBST(QT_LDFLAGS)
qtlib="$qtlib $LIBTQT_LDFLAGS"
- LIBTQT_CXXFLAGS="-include tqt.h"
+ LIBTQT_CXXFLAGS="-include tqt/tqt.h"
all_includes="$all_includes
$LIBTQT_CXXFLAGS"
QT_INCLUDES="$QT_INCLUDES
$LIBTQT_CXXFLAGS"
diff -urN kdemultimedia/cmake/modules/TDEMacros.cmake
kdemultimedia.new/cmake/modules/TDEMacros.cmake
--- kdemultimedia/cmake/modules/TDEMacros.cmake 2011-10-27
11:11:44.000000000 -0500
+++ kdemultimedia.new/cmake/modules/TDEMacros.cmake
2012-01-10 23:02:35.000000000 -0600
@@ -1120,7 +1120,7 @@
macro( tde_include_tqt )
foreach( _cpp ${ARGN} )
- set_source_files_properties( ${_cpp}
PROPERTIES COMPILE_FLAGS "-include tqt.h" )
+ set_source_files_properties( ${_cpp}
PROPERTIES COMPILE_FLAGS "-include tqt/tqt.h" )
endforeach()
endmacro( )
=============================================================
Tim, this solves the error message problem but is this a
valid patch? If yes, do you want this submitted through the
bugzilla or do you want copy and paste to merge? If no, then
what is the correct solution?
Tim, I hear a big huge sucking sound over at the bugzilla --- merging many patches.
Woo-hoo!
I'm bumping this reply only so this report doesn't disappear. I'll submit a
bug report if you want.
BTW: I have tqt installed to /opt/trinity/include/tqt. Perhaps my patch is not the correct
solution but fixing the make files.
Darrell