Version: 4.0.70 (using Devel) Installed from: Compiled sources Compiler: gcc-4.3.0 OS: Linux [ 47%] Building CXX object kioslave/svn/CMakeFiles/kio_svn.dir/svn.o In file included from /usr/src/kdesdk-4.0.69/kioslave/svn/svn.cpp:41: /usr/include/subversion-1/svn_utf.h:27:23: error: apr_xlate.h: No such file or directory /usr/src/kdesdk-4.0.69/kioslave/svn/svn.cpp:842:2: warning: #warning "kde4: port dbus stuff" /usr/src/kdesdk-4.0.69/kioslave/svn/svn.cpp:840: warning: unused parameter 'message' /usr/src/kdesdk-4.0.69/kioslave/svn/svn.cpp: In static member function 'static svn_error_t* kio_svnProtocol::commitLogPrompt(const char**, const char**, apr_array_header_t*, void*, apr_pool_t*)': /usr/src/kdesdk-4.0.69/kioslave/svn/svn.cpp:1270: warning: unused variable 'p' make[2]: *** [kioslave/svn/CMakeFiles/kio_svn.dir/svn.o] Error 1 make[1]: *** [kioslave/svn/CMakeFiles/kio_svn.dir/all] Error 2 make: *** [all] Error 2 but apr-util-1.2.12 installs /usr/include/apr-1/apr_xlate.h I have the following software installed: apr 1.2.12 apr-util 1.2.12 subversion 1.4.6 cmake 2.4.8 The locations of the following files may be of use. /usr/include/subversion-1/svn_config.h /usr/lib/libsvn_client-1.so /usr/bin/apr-1-config /usr/include/apr/apr.h /usr/lib/libapr.so /usr/share/cmake/Modules/FindSubversion.cmake
I get the same error with kdesdk 4.1.1. -I/usr/src/kdesdk-4.1.0/build/kioslave/svn -I/usr/src/kdesdk-4.1.0/kioslave/svn -I/usr/src/kdesdk-4.1.0 -I/usr/src/kdesdk-4.1.0/build -I/opt/include -I/opt/include/KDE -I/usr/include/QtXmlPatterns -I/usr/include/QtWebKit -I/usr/include/QtHelp -I/usr/include/QtAssistant -I/usr/include/QtDBus -I/usr/include/QtTest -I/usr/include/QtUiTools -I/usr/include/QtScript -I/usr/include/QtSvg -I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include/QtOpenGL -I/usr/include/QtNetwork -I/usr/include/QtDesigner -I/usr/include/Qt3Support -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/apr So the wrong apr include dir is detected. But this looks like our problem, since apr-config --includedir outputs /usr/include/apr instead of /usr/include/apr-0 or /usr/include/apr-1.
ups, that should have been apu-config, which returns the correct path. Maybe the buils system is calling the wrong binary.
Created attachment 27578 [details] fix for the incomplete FindSVN.cmake this patch fixes it for me. It doesn't have a fallback like apr-config if apu-config isn't found, nor does it add any linker flags, since they weren't needed.
I'm afraid the SVN KIOSlave was never ported to Frameworks 5, and it's not likely that it ever will be, given the continuously decreasing popularity of SVN. Therefore, I have to close this bug report.