Summary: | QJSon not optional | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Andrzej <superandrzej> |
Component: | Plugin-WebService-Vkontakte | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aspotashev, caulier.gilles |
Priority: | NOR | ||
Version: | 2.2.0 | ||
Target Milestone: | --- | ||
Platform: | Slackware | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.9.0 | |
Sentry Crash Report: | |||
Attachments: |
cmake output - original tarball
cmake output - tarball with renamed libkvkontakte |
Description
Andrzej
2011-10-06 22:50:14 UTC
Hi Andrzej, are you compiling only kipi-plugins or the whole digikam-sc codebase? Please also post the whole build-log as right now we can not see where exactly the error message appears. If you are compiling the whole digikam-sc codebase, I suspect that the message you reported is not actually from kipi-plugins (where qjson should be optional), but from libkvkontakte, where qjson is not optional. libkvkontakte is built as part of digikam-sc. To test this, and assuming you do not need access to vkontakte, you can simply rename the extra/libkvkontakte directory to extra/libkvkontakte.away and try whether the problem persists. I had this problem last week, too. You may have to reset the build directory. Michael Created attachment 64346 [details]
cmake output - original tarball
Created attachment 64347 [details]
cmake output - tarball with renamed libkvkontakte
I'm compiling whole digikam-sc. the problem I described is in configuration stage. I attach 2 outputs of cmake . First with original tallball. Second with changed name of extra/libkvkontakte. Messages are different but still no makefile is produced Andrzej, This file still valid using kipi-plugins 2.4 ? Gilles Caulier Andrzej, What's news about this file using 2.5.0 release ? Gilles Caulier Gilles, Apparently there is some new requirement since 2.5 since I cannot compile digiKam 2.5.0. Below relevant fragments of cmake and make: -- -- ---------------------------------------------------------------------------------- -- kipi-plugins 2.5.0 dependencies results <http://www.kipi-plugins.org> -- -- libjpeg library found.................... YES -- libtiff library found.................... YES -- libpng library found..................... YES -- libkipi library found.................... YES -- libkexiv2 library found.................. YES -- libkdcraw library found.................. YES -- libxml2 library found.................... YES (optional) -- libxslt library found.................... YES (optional) -- libexpat library found................... YES (optional) -- native threads support library found..... YES (optional) -- libopengl library found.................. YES (optional) -- Qt4 OpenGL module found.................. YES -- libopencv library found.................. YES (optional) -- QJson library found...................... YES (optional) -- libgpod library found.................... NO (optional) -- Gdk library found........................ YES (optional) -- libkdepim library found.................. YES (optional) -- qca2 library found....................... YES (optional) -- libkgeomap library found................. YES (optional) -- libmediawiki library found............... YES (optional) -- libkvkontakte library found.............. YES (optional) -- OpenMP library found..................... YES (optional) -- libX11 library found..................... YES (optional) -- libksane library found................... NO (optional) -- -- kipi-plugins will be compiled............ YES -- Shwup will be compiled................... YES (optional) -- YandexFotki will be compiled............. YES (optional) -- HtmlExport will be compiled.............. YES (optional) -- AdvancedSlideshow will be compiled....... YES (optional) -- ImageViewer will be compiled............. YES (optional) -- AcquireImages will be compiled........... NO (optional - Look README file for more details about dep -- DNGConverter will be compiled............ YES (optional) -- RemoveRedEyes will be compiled........... YES (optional) -- Debian Screenshots will be compiled...... YES (optional) -- Facebook will be compiled................ YES (optional) -- VKontakte will be compiled............... YES (optional) -- IpodExport will be compiled.............. NO (optional - Look README file for more details about dep -- Calendar will be compiled................ YES (optional) -- GPSSync will be compiled................. YES (optional) -- Mediawiki will be compiled............... YES (optional) -- ---------------------------------------------------------------------------------- -- -- Found Qt-Version 4.8.0 (using /usr/bin/qmake) -- Found X11: /usr/lib/libX11.so CMake Warning (dev) at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:86 (INCLUDE): File /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake includes /usr/share/apps/cmake/modules/CMakeParseArguments.cmake (found via CMAKE_MODULE_PATH) which shadows /usr/share/cmake-2.8/Modules/CMakeParseArguments.cmake. This may cause errors later on . Policy CMP0017 is not set: Prefer files from the CMake module directory when including from there. Run "cmake --help-policy CMP0017" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindThreads.cmake:156 (INCLUDE) /usr/share/apps/cmake/modules/Qt4ConfigDependentSettings.cmake:32 (FIND_PACKAGE) /usr/share/apps/cmake/modules/FindQt4.cmake:1230 (INCLUDE) extra/kipi-plugins/photolayoutseditor/utils/qtpropertybrowser/CMakeLists.txt:3 (FIND_PACKAG This warning is for project developers. Use -Wno-dev to suppress it. -- Found Kipi library in cache: /usr/lib/libkipi.so -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian -- ---------------------------------------------------------------------------------- -- Starting CMake configuration for: digikam -- checking for module 'lcms' -- found lcms, version 1.19 -- Found LCMS: /usr/lib/liblcms.so -- Found Jasper: /usr/lib/libjasper.so -- Check Kdcraw library in local sub-folder... -- Check Kdcraw library using pkg-config... -- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig -- Found libkdcraw release >= 0.2.0 -- Found libkdcraw: /usr/lib/libkdcraw.so -- Check Kexiv2 library in local sub-folder... -- Check Kexiv2 library using pkg-config... -- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig -- Found libkexiv2 release >= 1.0.0 -- Found libkexiv2: /usr/lib/libkexiv2.so -- Check Kipi library in local sub-folder... -- Check Kipi library using pkg-config... -- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig -- Found libkipi release >= 1.0.0 -- Found libkipi: /usr/lib/libkipi.so -- Check Kface library in local sub-folder... -- Found Kface library in local sub-folder: /data/slackware/TGZ/grafika/digikam-2.5.0/extra/libk -- Check for KGeoMap library in local sub-folder... -- Found KGeoMap library in local sub-folder: /data/slackware/TGZ/grafika/digikam-2.5.0/extra/libkgeom -- checking for module 'libpgf' -- package 'libpgf' not found -- Could NOT find any working clapack installation -- Boost version: 1.45.0 -- Identified libjpeg version: 80+ -- Found MySQL server executable at: /usr/libexec/mysqld -- Found MySQL install_db executable at: /usr/bin/mysql_install_db CMake Warning at core/CMakeLists.txt:256 (MESSAGE): libkdcraw: Version information not found, your version is probably too old. -- libkgeomap: Found version 2.0.0 -- Found gphoto2: -L/usr/lib -lgphoto2_port;-L/usr/lib -lgphoto2 -lgphoto2_port -lm -- Found LIBUSB: /usr/lib/libusb.so -- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig -- PKGCONFIG() indicates that lensfun is not installed (install the package which contains lensfun.pc if you want to support this featu -- Could NOT find LensFun (missing: LENSFUN_INCLUDE_DIRS LENSFUN_LIBRARIES) -- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig -- PKGCONFIG() indicates that lqr-1 is not installed (install the package which contains lqr-1.pc if you want to support this -- Could NOT find Lqr-1 (missing: LQR-1_INCLUDE_DIRS LQR-1_LIBRARIES) -- Found Soprano: /usr/include -- Could NOT find SharedDesktopOntologies (missing: SHAREDDESKTOPONTOLOGIES_ROOT_DIR) -- Could NOT find Nepomuk (missing: SHAREDDESKTOPONTOLOGIES_FOUND) -- Could NOT find SharedDesktopOntologies (missing: SHAREDDESKTOPONTOLOGIES_ROOT_DIR) (Required is at least versi -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- -- ---------------------------------------------------------------------------------- -- digiKam 2.5.0 dependencies results <http://www.digikam.org> -- -- Qt4 SQL module found..................... YES -- MySQL Server found....................... YES -- MySQL install_db tool found.............. YES -- libtiff library found.................... YES -- libpng library found..................... YES -- libjasper library found.................. YES -- liblcms library found.................... YES -- Boost Graph library found................ YES -- libkipi library found.................... YES -- libkexiv2 library found.................. YES -- libkdcraw library found.................. YES -- libkface library found................... YES -- libkgeomap library found................. YES -- libpgf library found..................... NO (optional - internal version used instead) -- libclapack library found................. NO (optional - internal version used instead) -- libgphoto2 and libusb libraries found.... YES (optional) -- libkdepimlibs library found.............. YES (optional) -- Nepomuk libraries found.................. NO (optional) -- -- digiKam will be compiled without support for the Nepomuk semantic desktop services. -- -- libglib2 library found................... YES (optional) -- liblqr-1 library found................... NO (optional - internal version used instead) -- liblensfun library found................. NO (optional - internal version used instead) -- Doxygen found............................ NO (optional) -- -- You will not be able to to generate the API documentation. -- This does not affect building digiKam in any way. -- -- digiKam can be compiled.................. YES -- ---------------------------------------------------------------------------------- -- ... Linking CXX shared library ../../lib/libdigikamdatabase.so [ 43%] Built target digikamdatabase [ 43%] Built target advancedrename_automoc [ 45%] Built target advancedrename [ 45%] Built target cameragui_automoc [ 46%] Built target cameragui [ 46%] Built target queuemanager_automoc [ 48%] Built target queuemanager [ 48%] Built target digikam_automoc [ 48%] Building CXX object core/digikam/CMakeFiles/digikam.dir/__/utilities/setup/setupplugins.cpp.o /data/slackware/TGZ/grafika/digikam-2.5.0/core/utilities/setup/setupplugins.cpp: In member function 'void Digikam::SetupPlugins::slotCheckAll()': /data/slackware/TGZ/grafika/digikam-2.5.0/core/utilities/setup/setupplugins.cpp:161:20: error: 'class KIPI::ConfigWidget' has no member named 'slotCheckAll' /data/slackware/TGZ/grafika/digikam-2.5.0/core/utilities/setup/setupplugins.cpp: In member function 'void Digikam::SetupPlugins::slotClear()': /data/slackware/TGZ/grafika/digikam-2.5.0/core/utilities/setup/setupplugins.cpp:168:20: error: 'class KIPI::ConfigWidget' has no member named 'slotClear' make[2]: *** [core/digikam/CMakeFiles/digikam.dir/__/utilities/setup/setupplugins.cpp.o] Error 1 make[1]: *** [core/digikam/CMakeFiles/digikam.dir/all] Error 2 make: *** [all] Error 2 best regards Andrzej Look here : https://bugs.kde.org/show_bug.cgi?id=290496 Gilles Caulier I tried with 2.6.0beta1 but because of bug #293563 I couldn't compile it. I cloned git repository and digiKam compiles just fine with qjson installed. When I uninstalled qjason I receive following message: -- ---------------------------------------------------------------------------------- -- Starting CMake configuration for: libmediawiki -- checking for module 'QJson>=0.7' -- package 'QJson>=0.7' not found -- Could NOT find QJSON (missing: QJSON_LIBRARIES QJSON_INCLUDE_DIR) (Required is at least version "0.7") ----------------------------------------------------------------------------- -- The following REQUIRED packages could NOT be located on your system. -- You must install these packages before continuing. ----------------------------------------------------------------------------- * QJSON (0.7 or higher) <http://qjson.sourceforge.net/> Qt library for handling JSON data ----------------------------------------------------------------------------- Did you try to build Digikam from Git or from tarball? Is this report still valid? QJson is fully optional in kipi-plugins since a while This file can be closed. Gilles Caulier |