[Digikam-devel] Error in Building from Source

harsh agrawal dexter.1691 at gmail.com
Sun Dec 9 13:59:14 GMT 2012


Yes I built Libkipi from source. and again tried to make DigiKam from
source. But got stuck at the same point.

This is my Cmake GUI log if this helps:

Found Qt-Version 4.8.1 (using /usr/bin/qmake)

Found X11: /usr/lib/i386-linux-gnu/libX11.so

Found KDE 4.8 include dir: /usr/include

Found KDE 4.8 library dir: /usr/lib

Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler

Found automoc4: /usr/bin/automoc4

/home/dexter/DigiKam/digikam-sc/po/ dir do not exists. Translations
compilation disabled...

You can use DIGIKAMSC_CHECKOUT_PO option to extract po files from KDE
repositories.

Local kdegraphics libraries will be compiled... NO

Handbooks will be compiled..................... YES

Extract translations files..................... NO

Translations will be compiled.................. NO

----------------------------------------------------------------------------------

Starting CMake configuration for: libmediawiki


-----------------------------------------------------------------------------

-- The following external packages were located on your system.

-- This installation will have the extra features provided by these
packages.

-----------------------------------------------------------------------------

* QJSON - Qt library for handling JSON data


-----------------------------------------------------------------------------

-- Congratulations! All external packages have been found.

-----------------------------------------------------------------------------


----------------------------------------------------------------------------------

Starting CMake configuration for: libkgeomap

Found Qt-Version 4.8.1 (using /usr/bin/qmake)

Found X11: /usr/lib/i386-linux-gnu/libX11.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/local/lib/libkexiv2.so

kexiv2 found, the demo application will be compiled.

----------------------------------------------------------------------------------

Starting CMake configuration for: libkface

Found Qt-Version 4.8.1 (using /usr/bin/qmake)

Found X11: /usr/lib/i386-linux-gnu/libX11.so

First try at finding OpenCV...

Great, found OpenCV on the first try.

OpenCV Root directory is /usr/local/share/OpenCV

External libface was not found, use internal version instead...

----------------------------------------------------------------------------------

Starting CMake configuration for: kipi-plugins

Kipi library version required : 2.0.0

Check Kipi library in local sub-folder...

Check Kipi library using pkg-config...

checking for module 'libkipi>=2.0.0'

found libkipi, version 2.0.0

Found KIPI: kipi

Kipi library SO binary version: 10

libkipi: Found version 2.0.0 (required: 2.0.0)

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/local/lib/libkexiv2.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/local/lib/libkdcraw.so

CMake Warning at extra/kipi-plugins/CMakeLists.txt:140 (MESSAGE):

libkdcraw: Version information not found, your version is probably too old.



Check for Ksane library in local sub-folder...

Check Ksane library using pkg-config...

Found libksane release 0.3.0

Found libksane: /usr/local/lib/libksane.so

Check for KGeoMap library in local sub-folder...

Found KGeoMap library in local sub-folder:
/home/dexter/DigiKam/digikam-sc/extra/libkgeomap

Check Mediawiki library in local sub-folder...

Found Mediawiki library in local sub-folder:
/home/dexter/DigiKam/digikam-sc/extra/libmediawiki

Check Vkontakte library in local sub-folder...

Found Vkontakte library in local sub-folder:
/home/dexter/DigiKam/digikam-sc/extra/libkvkontakte

Could NOT find FLEX (missing: FLEX_EXECUTABLE)

Could NOT find BISON (missing: BISON_EXECUTABLE)

Found HUpnpCore : /usr/include/HUpnpCore /usr/lib/libHUpnp.so

Could NOT find required package HUpnpAv: <http://herqq.org>

GCC 4.5 or later detected. Enabling C++0x support in QTGSTREAMER_FLAGS.

Could NOT find QtKOAuth (missing: QTKOAUTH_LIBRARIES QTKOAUTH_INCLUDE_DIR)

libkgeomap: Found version 2.0.0

Found X11: /usr/lib/i386-linux-gnu/libX11.so

CMake version: cmake version 2.8.7


CMake version (cleaned): cmake version 2.8.7



----------------------------------------------------------------------------------

kipi-plugins 3.0.0-rc dependencies results <http://www.digikam.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.................... YES (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)

boost library found...................... YES (optional)

libimagemagick library found............. YES (optional)

libqtgstreamer library found............. YES (optional)

QtKOAuth library found................... NO (optional)

OpenMP library found..................... YES (optional)

libX11 library found..................... YES (optional)

libksane library found................... YES (optional)

Hupnp library found...................... YES (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........... YES (optional)

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.............. YES (optional)

Calendar will be compiled................ YES (optional)

GPSSync will be compiled................. YES (optional)

Mediawiki will be compiled............... YES (optional)

Panorama will be compiled................ YES (optional)

VideoSlideshow will be compiled.......... YES (optional)

Wallpaper will be compiled............... NO (optional - Look README file
for more details about dependencies)

----------------------------------------------------------------------------------


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

Kipi library version required : 2.0.0

Check Kipi library in local sub-folder...

Check Kipi library using pkg-config...

libkipi: Found version 2.0.0 (required: 2.0.0)

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/local/lib/libkexiv2.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/local/lib/libkdcraw.so

Found Jasper: /usr/lib/i386-linux-gnu/libjasper.so

Check Kface library in local sub-folder...

Found Kface library in local sub-folder:
/home/dexter/DigiKam/digikam-sc/extra/libkface

Check for KGeoMap library in local sub-folder...

Found KGeoMap library in local sub-folder:
/home/dexter/DigiKam/digikam-sc/extra/libkgeomap

checking for module 'libpgf'

package 'libpgf' not found

Could NOT find any working clapack installation

First try at finding OpenCV...

Great, found OpenCV on the first try.

OpenCV Root directory is /usr/local/share/OpenCV

CMake Warning at core/CMakeLists.txt:208 (MESSAGE):

libkdcraw: Version information not found, your version is probably too old.



Check for LCMS1 availability...

checking for module 'lcms'

found lcms, version 1.19

Found LCMS: /usr/lib/i386-linux-gnu/liblcms.so

Found LCMS1: /usr/lib/i386-linux-gnu/liblcms.so /usr/include

Paralelized PGF codec disabled...

Identified libjpeg version: 80+

Found MySQL server executable at: /usr/sbin/mysqld

Found MySQL install_db executable at: /usr/bin/mysql_install_db

libkgeomap: Found version 2.0.0

Found gphoto2: -L/usr/local/lib -lgphoto2_port;-L/usr/local/lib -lgphoto2
-lgphoto2_port -lm

Found LIBUSB: /usr/lib/i386-linux-gnu/libusb.so

WARNING: you are using the obsolete 'PKGCONFIG' macro, use FindPkgConfig

Found LensFun: /usr/include

WARNING: you are using the obsolete 'PKGCONFIG' macro, use FindPkgConfig

Performing Test HAVE_LQR_0_4

Performing Test HAVE_LQR_0_4 - Success

Found Lqr-1: /usr/include/lqr-1

Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)


----------------------------------------------------------------------------------

digiKam 3.0.0-rc 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)

libglib2 library found................... YES (optional)

liblqr-1 library found................... YES (optional)

liblensfun library found................. YES (optional)

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

----------------------------------------------------------------------------------


Adjusting compilation flags for GCC version ( 4.6.3 )

Configuring done

Generating done

CMake Warning:

Manually-specified variables were not used by the project:


 DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS





On Sun, Dec 9, 2012 at 11:02 AM, harsh agrawal <dexter.1691 at gmail.com>wrote:

> I installed the latest version of Libkipi. Doesn't help. Still the same
> error.
>
>
> On Sun, Dec 9, 2012 at 1:07 AM, harsh agrawal <dexter.1691 at gmail.com>wrote:
>
>> Hi,
>>
>> I was trying to build Digikam from the source, however I got an error
>> during the "make" process.
>>
>> I was able to succesfully generate makefiles using cmake. but when I run
>> "make" from terminal, I get stuck when it builds and link
>> kipiplugin_kioexportimport.
>>
>> here is the log:
>>
>> [ 12%] Built target kipiplugin_piwigoexport
>> Scanning dependencies of target kipiplugin_kioexportimport_automoc
>> Generating plugin_kioexportimport.moc
>> Generating KioExportWindow.moc
>> Generating KioImportWidget.moc
>> Generating KioExportWidget.moc
>> Generating KioImportWindow.moc
>> [ 12%] Built target kipiplugin_kioexportimport_automoc
>> Scanning dependencies of target kipiplugin_kioexportimport
>> [ 12%] Building CXX object
>> extra/kipi-plugins/kioexportimport/CMakeFiles/kipiplugin_kioexportimport.dir/kipiplugin_kioexportimport_automoc.cpp.o
>> [ 12%] Building CXX object
>> extra/kipi-plugins/kioexportimport/CMakeFiles/kipiplugin_kioexportimport.dir/plugin_kioexportimport.cpp.o
>> [ 12%] Building CXX object
>> extra/kipi-plugins/kioexportimport/CMakeFiles/kipiplugin_kioexportimport.dir/KioExportWindow.cpp.o
>> [ 12%] Building CXX object
>> extra/kipi-plugins/kioexportimport/CMakeFiles/kipiplugin_kioexportimport.dir/KioExportWidget.cpp.o
>> [ 12%] Building CXX object
>> extra/kipi-plugins/kioexportimport/CMakeFiles/kipiplugin_kioexportimport.dir/KioImportWindow.cpp.o
>> [ 12%] Building CXX object
>> extra/kipi-plugins/kioexportimport/CMakeFiles/kipiplugin_kioexportimport.dir/KioImportWidget.cpp.o
>> Linking CXX shared module ../../../lib/kipiplugin_kioexportimport.so
>> CMakeFiles/kipiplugin_kioexportimport.dir/plugin_kioexportimport.cpp.o:
>> In function `Plugin_KioExportImport':
>> /home/dexter/DigiKam/digikam-sc/extra/kipi-plugins/kioexportimport/plugin_kioexportimport.cpp:62:
>> undefined reference to `KIPI::Plugin::setUiBaseName(char const*)'
>> /home/dexter/DigiKam/digikam-sc/extra/kipi-plugins/kioexportimport/plugin_kioexportimport.cpp:63:
>> undefined reference to `KIPI::Plugin::setupXML()'
>> CMakeFiles/kipiplugin_kioexportimport.dir/plugin_kioexportimport.cpp.o:
>> In function `KIPIKioExportPlugin::Plugin_KioExportImport::setupActions()':
>> /home/dexter/DigiKam/digikam-sc/extra/kipi-plugins/kioexportimport/plugin_kioexportimport.cpp:91:
>> undefined reference to `KIPI::Plugin::setDefaultCategory(KIPI::Category)'
>> /home/dexter/DigiKam/digikam-sc/extra/kipi-plugins/kioexportimport/plugin_kioexportimport.cpp:102:
>> undefined reference to `KIPI::Plugin::addAction(QString const&, KAction*)'
>> /home/dexter/DigiKam/digikam-sc/extra/kipi-plugins/kioexportimport/plugin_kioexportimport.cpp:114:
>> undefined reference to `KIPI::Plugin::addAction(QString const&, KAction*,
>> KIPI::Category)'
>> CMakeFiles/kipiplugin_kioexportimport.dir/plugin_kioexportimport.cpp.o:
>> In function `KIPIKioExportPlugin::Plugin_KioExportImport::setup(QWidget*)':
>> /home/dexter/DigiKam/digikam-sc/extra/kipi-plugins/kioexportimport/plugin_kioexportimport.cpp:79:
>> undefined reference to `KIPI::Plugin::interface() const'
>> collect2: ld returned 1 exit status
>> make[2]: *** [lib/kipiplugin_kioexportimport.so] Error 1
>> make[1]: ***
>> [extra/kipi-plugins/kioexportimport/CMakeFiles/kipiplugin_kioexportimport.dir/all]
>> Error 2
>> make: *** [all] Error 2
>>
>> I cannot understand the error myself, I hope somebody out here might be
>> able to help.
>>
>> Thanks
>> Harsh Agrawal
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20121209/c5310a15/attachment.html>


More information about the Digikam-devel mailing list