Tim, Darrell,
amarok fails to find konqsidebarplugin.h even though it is installed? Eg:
-- Performing Test HAVE_QGLWIDGET - Failed -- Performing Test HAVE_KONQSIDEBARPLUGIN_H WARNING: Target "cmTryCompileExec" requests linking to directory "/opt/tqt3/lib". Targets may link only to libraries. CMake is dropping the item. -- Performing Test HAVE_KONQSIDEBARPLUGIN_H - Failed CMake Error at cmake/modules/TDEMacros.cmake:23 (message): #################################################
konqsidebarplugin.h are requested, but not found on your system
################################################# Call Stack (most recent call first): ConfigureChecks.cmake:191 (tde_message_fatal) CMakeLists.txt:67 (include)
-- Configuring incomplete, errors occurred!
I have it:
23:31 nirvana:~/tde/bld/libkarma> find $CHROOT/david/opt -name konqsidebarplugin.h /mnt/nv1/home/chroot/david/opt/trinity/include/konqsidebarplugin.h
Hmm, what's the trick?
amarok fails to find konqsidebarplugin.h even though it is installed? Eg:
-- Performing Test HAVE_QGLWIDGET - Failed -- Performing Test HAVE_KONQSIDEBARPLUGIN_H WARNING: Target "cmTryCompileExec" requests linking to directory "/opt/tqt3/lib". Targets may link only to libraries. CMake is dropping the item. -- Performing Test HAVE_KONQSIDEBARPLUGIN_H - Failed CMake Error at cmake/modules/TDEMacros.cmake:23 (message): #################################################
konqsidebarplugin.h are requested, but not found on your system
################################################# Call Stack (most recent call first): ConfigureChecks.cmake:191 (tde_message_fatal) CMakeLists.txt:67 (include)
-- Configuring incomplete, errors occurred!
I have it:
23:31 nirvana:~/tde/bld/libkarma> find $CHROOT/david/opt -name konqsidebarplugin.h /mnt/nv1/home/chroot/david/opt/trinity/include/konqsidebarplugin.h
Hmm, what's the trick?
No such error encountered here with my builds last night. Possibly something to do with updating Arch to bleeding edge?
Darrell
On 03/14/2012 10:43 AM, Darrell Anderson wrote:
-- Performing Test HAVE_KONQSIDEBARPLUGIN_H - Failed
CMake Error at cmake/modules/TDEMacros.cmake:23 (message): #################################################
konqsidebarplugin.h are requested, but not found on your system
################################################# Call Stack (most recent call first): ConfigureChecks.cmake:191 (tde_message_fatal) CMakeLists.txt:67 (include)
-- Configuring incomplete, errors occurred!
I have it:
23:31 nirvana:~/tde/bld/libkarma> find $CHROOT/david/opt -name konqsidebarplugin.h /mnt/nv1/home/chroot/david/opt/trinity/include/konqsidebarplugin.h
Hmm, what's the trick?
No such error encountered here with my builds last night. Possibly something to do with updating Arch to bleeding edge?
Darrell
Hmm... Even if the bleeding edge was somehow implicated here, the amarok tde cmake files should still be able to find their own headers in /opt/trinity/include :)
# konqsidebarplugin.h if( WITH_KONQSIDEBAR ) tde_save( CMAKE_REQUIRED_DEFINITIONS CMAKE_REQUIRED_FLAGS CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES ) set( CMAKE_REQUIRED_DEFINITIONS ${TQT_CFLAGS_OTHER} ) set( CMAKE_REQUIRED_INCLUDES ${TDE_INCLUDE_DIR};${TQT_INCLUDE_DIRS};${CMAKE_INCLUDE_PATH} ) set( CMAKE_REQUIRED_FLAGS "-include tqt.h" ) set( CMAKE_REQUIRED_LIBRARIES -L${TQT_LIBRARY_DIRS} ${TQT_LIBRARIES} ) check_cxx_source_compiles(" #include <konqsidebarplugin.h> int main(int, char**) { return 0; } " HAVE_KONQSIDEBARPLUGIN_H ) tde_restore( CMAKE_REQUIRED_DEFINITIONS CMAKE_REQUIRED_FLAGS CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES ) if( NOT HAVE_KONQSIDEBARPLUGIN_H ) tde_message_fatal( "konqsidebarplugin.h are requested, but not found on your system" ) endif( ) endif( )
How can that not find /opt/trinity/include?? set( CMAKE_REQUIRED_INCLUDES ${TDE_INCLUDE_DIR};... should do it?
Hmm... Even if the bleeding edge was somehow implicated here, the amarok tde cmake files should still be able to find their own headers in /opt/trinity/include :)
# konqsidebarplugin.h if( WITH_KONQSIDEBAR ) tde_save( CMAKE_REQUIRED_DEFINITIONS CMAKE_REQUIRED_FLAGS CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES ) set( CMAKE_REQUIRED_DEFINITIONS ${TQT_CFLAGS_OTHER} ) set( CMAKE_REQUIRED_INCLUDES ${TDE_INCLUDE_DIR};${TQT_INCLUDE_DIRS};${CMAKE_INCLUDE_PATH} ) set( CMAKE_REQUIRED_FLAGS "-include tqt.h" ) set( CMAKE_REQUIRED_LIBRARIES -L${TQT_LIBRARY_DIRS} ${TQT_LIBRARIES} ) check_cxx_source_compiles(" #include <konqsidebarplugin.h int main(int, char**) { return 0; } " HAVE_KONQSIDEBARPLUGIN_H ) tde_restore( CMAKE_REQUIRED_DEFINITIONS CMAKE_REQUIRED_FLAGS CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES ) if( NOT HAVE_KONQSIDEBARPLUGIN_H ) tde_message_fatal( "konqsidebarplugin.h are requested, but not found on your system" ) endif( ) endif( )
How can that not find /opt/trinity/include?? set( CMAKE_REQUIRED_INCLUDES ${TDE_INCLUDE_DIR};... should do it?
Check the cmake error log. With automake packages, check configure.log. Often either of those provide clues.
My cmake output looks like this:
-- Performing Test HAVE_KONQSIDEBARPLUGIN_H -- Performing Test HAVE_KONQSIDEBARPLUGIN_H - Success
Darrell