Tim, Serghei,
I tried to build knetworkmanager9 and it looks like the CMakeLists.txt still
points to the knetworkmanager-0.8 directory which isn't found in the 9 source.
The error was:
CMake Error at CMakeLists.txt:66 (add_subdirectory):
add_subdirectory given source "knetworkmanager-0.8" which is not an
existing directory.
--
David C. Rankin, J.D.,P.E.
Tim, Serghei,
Just going through the applications directory attempting to build everything
that has a CMake setup included. kbfx isn't building. It is a TDE cmake file, so
it's not one of the strays. The error I get is:
-- Will use 'kmenuedit'!
CMake Error at po/CMakeLists.txt:1 (ADD_POFILES):
Unknown CMake command "ADD_POFILES".
What's the trick here?
--
David C. Rankin, J.D.,P.E.
Tim, Serghei,
tdesdk will not complete CMake configure due to a failure to fine svn_client-1
even though subversion is installed and the libsvn_client-1 library is in
/usr/lib. The error received is:
-- Looking for svn_pool_create_ex in svn_client-1
-- Looking for svn_pool_create_ex in svn_client-1 - not found
CMake Error at cmake/modules/TDEMacros.cmake:23 (message):
#################################################
svn_client-1 library was not found on your system.
Subversion is installed?
Try to set SVN_LIBRARY_DIR to subversion library directory.
#################################################
Call Stack (most recent call first):
kioslave/svn/ConfigureChecks.cmake:27 (tde_message_fatal)
kioslave/svn/CMakeLists.txt:12 (include)
-- Configuring incomplete, errors occurred!
I'm not sure what this error is looking for?? I set SVN_LIBRARY_DIR=/usr/lib,
but it made no difference:
msg "Starting cmake..."
cmake ${srcdir}/${pkgname#*-} \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
-DWITH_DBSEARCHENGINE=ON \
-DSVN_LIBRARY_DIR=/usr/lib \
-DWITH_KCAL=ON \
-DBUILD_ALL=ON
What say the experts?
--
David C. Rankin, J.D.,P.E.
If yes then how to tell? There is nothing in the build log such as -I/usr/kerberos/include.
I have krb5 installed.
I'm not seeing anything obvious in the cmake files.
Darrell
Tim,
Don't know what you did, but it's working. After patching libcaldav &
libcarddav to get around the header location crashes, everything I have scripts
for built just fine:
hal-0.5.14-10-x86_64.pkg.tar.xz
hal-info-0.20091130-3-any.pkg.tar.xz
libutempter-1.1.5-5-x86_64.pkg.tar.xz
tde-arts-3513_tqt-5-x86_64.pkg.tar.xz
tde-dbus-1-tqt-3513_tqt-5-x86_64.pkg.tar.xz
tde-dbus-tqt-3513_tqt-5-x86_64.pkg.tar.xz
tde-libart-lgpl-3513_tqt-5-x86_64.pkg.tar.xz
tde-libcaldav-0.6.2_tqt-5-x86_64.pkg.tar.xz
tde-libcarddav-0.6.2_tqt-5-x86_64.pkg.tar.xz
tde-tdeartwork-3513_tqt-1-x86_64.pkg.tar.xz
tde-tdebase-3513_tqt-2-x86_64.pkg.tar.xz
tde-tdegraphics-3513_tqt-1-x86_64.pkg.tar.xz
tde-tdelibs-3513_tqt-3-x86_64.pkg.tar.xz
tde-tdemultimedia-3513_tqt-1-x86_64.pkg.tar.xz
tde-tdenetwork-3513_tqt-1-x86_64.pkg.tar.xz
tde-tdepim-3513_tqt-1-x86_64.pkg.tar.xz
tde-tdevelop-3513_tqt-1-x86_64.pkg.tar.xz
tde-tdewebdev-3513_tqt-1-x86_64.pkg.tar.xz
tde-tqca-tls-3513_tqt-5-x86_64.pkg.tar.xz
tde-tqt3-3.8.8.d_git-5-x86_64.pkg.tar.xz
tde-tqtinterface-3513_tqt-15-x86_64.pkg.tar.xz
Hellova long weekend :)
--
David C. Rankin, J.D.,P.E.
Tim, Serghei:
The tdelibs build failure was due to incorrect pkgconfig information supplied
by libcaldav and libcarddav for their include file locations. When the
ConfigureChecks.cmake tries to set the include location is gets it wrong.
Both packages include an extraneous amount of version information when
installing include files. Eg:
/usr/include/libcaldav-0.6.5/caldav.h
/usr/include/libcarddav-0.6.1/carddav.h
However, the pkgconfig files for both return incorrect include directory location:
21:58 nirvana:/mnt/nv1/home/chroot> cat david/usr/lib/pkgconfig/libcaldav.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
pkglibdir=${libdir}/libcaldav
pkgincludedir=${includedir}/libcaldav
Name: libcaldav
Description: libcaldav is a client library for CalDAV
Version: 0.6.5
Cflags: -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
Libs: -pthread -lgthread-2.0 -lrt -lglib-2.0 -lcurl
21:58 nirvana:/mnt/nv1/home/chroot> cat david/usr/lib/pkgconfig/libcarddav.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
pkglibdir=${libdir}/libcarddav
pkgincludedir=${includedir}/libcarddav
Name: libcarddav
Description: libcarddav is a client library for CardDAV
Version: 0.6.1
Cflags: -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
Libs: -pthread -lgthread-2.0 -lrt -lglib-2.0 -lcurl
Thus when the ConfigureChecks.cmake files include the location of the header
files, it gets the wrong information. Eg:
# libcaldav
pkg_search_module( CALDAV libcaldav )
if( CALDAV_FOUND )
execute_process(
COMMAND pkg-config libcaldav --variable=pkgincludedir
OUTPUT_VARIABLE _incdir
RESULT_VARIABLE _result
OUTPUT_STRIP_TRAILING_WHITESPACE )
execute_process(
COMMAND pkg-config libcaldav --variable=pkglibdir
OUTPUT_VARIABLE _libdir
RESULT_VARIABLE _result
OUTPUT_STRIP_TRAILING_WHITESPACE )
list( APPEND CALDAV_INCLUDE_DIRS ${_incdir} )
list( APPEND CALDAV_LIBRARY_DIRS ${_libdir} )
list( APPEND CALDAV_LIBRARIES caldav )
else( )
tde_message_fatal( "libcaldav is requested, but was not found on your system" )
endif( )
What this means is that CALDAV_INCLUDE_DIRS gets '/usr/include/libcaldav'
instead of '/usr/include/libcaldav-0.6.5' where the file is actually located.
Where/How should this be corrected properly??
--
David C. Rankin, J.D.,P.E.
For anybody interested, the kate focus issue identified in bug report 692 (http://bugs.pearsoncomputing.net/show_bug.cgi?id=692) is solved. Read Comment 14 (http://bugs.pearsoncomputing.net/show_bug.cgi?id=692#c14) for the details.
Although the patch solves the problem for me, I am asking for peer reviews to validate the patch before pushing to GIT.
Add Calvin's patch for enforcing a true MDI mode (same bug report) and kate is a pleasure to use again.
The focus patch is only two lines. Yeah, I'm stunned too. :)
Darrell
Tim, Darrell,
I have had good success tonight with todays GIT build. I made it though tdepim
in the build. I was able to build:
"dependencies/$useqt"
'dependencies/tqtinterface'
'dependencies/arts'
'dependencies/dbus-tqt'
'dependencies/dbus-1-tqt'
'dependencies/tqca-tls'
'dependencies/libart-lgpl'
'dependencies/libcaldav'
'dependencies/libcarddav'
'tdelibs'
'tdebase'
'tdenetwork'
However, tdepim fails with:
[ 82%] Building CXX object
kresources/caldav/CMakeFiles/kcal_caldav-shared.dir/resource.cpp.o
cd /build/src/build/kresources/caldav && /usr/bin/c++
-Dkcal_caldav_shared_EXPORTS -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H
-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DQT_NO_ASCII_CAST
-DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
-DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC
-I/build/src/build/kresources/caldav -I/build/src/tdepim
-I/build/src/tdepim/libtdepim -I/opt/trinity/include -I/opt/tqt3/include
-I/opt/trinity/include/tqt -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libcaldav -o CMakeFiles/kcal_caldav-shared.dir/resource.cpp.o
-c /build/src/tdepim/kresources/caldav/resource.cpp
In file included from /build/src/tdepim/kresources/caldav/reader.h:20:0,
from /build/src/tdepim/kresources/caldav/resource.cpp:39:
/build/src/tdepim/kresources/caldav/job.h:26:24: fatal error: caldav.h: No such
file or directory
compilation terminated.
make[2]: ***
[kresources/caldav/CMakeFiles/kcal_caldav-shared.dir/resource.cpp.o] Error 1
make[2]: Leaving directory `/build/src/build'
make[1]: *** [kresources/caldav/CMakeFiles/kcal_caldav-shared.dir/all] Error 2
make[1]: Leaving directory `/build/src/build'
make: *** [all] Error 2
From the build of caldav, I have caldav.h in:
/usr/include/libcaldav-0.6.5/caldav.h
Why isn't tdepim finding it by default?
--
David C. Rankin, J.D.,P.E.