[SOLVED] Digikam 1.2.0 on Slackware64-current of 31st March, 2010
SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Digikam 1.2.0 on Slackware64-current of 31st March, 2010
I just tried to build Digikam 1.2.0 using the SlackBuild script from SlackBuilds.org for version 1.0.0. While Lensfun 0.2.5 and Kipi-Plugins 1.2.0 compiled and installed without problems, the Digikam build stops at 97%. Here's the log:
[ 97%] Building CXX object themedesigner/CMakeFiles/digikamthemedesigner.dir/mainwindow.o
/tmp/pkg/digikam-1.2.0/themedesigner/mainwindow.cpp:52:24: error: folderitem.h: No such file or directory
/tmp/pkg/digikam-1.2.0/themedesigner/mainwindow.cpp:53:24: error: folderview.h: No such file or directory
[ 98%] Building CXX object digikam/CMakeFiles/digikam.dir/__/utilities/advancedrename/parser/modifiers/casemodifier.o
/tmp/pkg/digikam-1.2.0/themedesigner/mainwindow.cpp:107: error: ISO C++ forbids declaration of 'FolderView' with no type
/tmp/pkg/digikam-1.2.0/themedesigner/mainwindow.cpp:107: error: expected ';' before '*' token
/tmp/pkg/digikam-1.2.0/themedesigner/mainwindow.cpp: In constructor 'Digikam::MainWindowPriv::MainWindowPriv()':
/tmp/pkg/digikam-1.2.0/themedesigner/mainwindow.cpp:80: error: 'folderView' was not declared in this scope
/tmp/pkg/digikam-1.2.0/themedesigner/mainwindow.cpp: In constructor 'Digikam::MainWindow::MainWindow()':
/tmp/pkg/digikam-1.2.0/themedesigner/mainwindow.cpp:145: error: 'class Digikam::MainWindowPriv' has no member named 'folderView'
/tmp/pkg/digikam-1.2.0/themedesigner/mainwindow.cpp:145: error: expected type-specifier before 'FolderView'
/tmp/pkg/digikam-1.2.0/themedesigner/mainwindow.cpp:145: error: expected ';' before 'FolderView'
/tmp/pkg/digikam-1.2.0/themedesigner/mainwindow.cpp:282: error: 'class Digikam::MainWindowPriv' has no member named 'folderView'
/tmp/pkg/digikam-1.2.0/themedesigner/mainwindow.cpp:283: error: 'class Digikam::MainWindowPriv' has no member named 'folderView'
/tmp/pkg/digikam-1.2.0/themedesigner/mainwindow.cpp:283: error: 'Q3ListView' has not been declared
/tmp/pkg/digikam-1.2.0/themedesigner/mainwindow.cpp:284: error: 'class Digikam::MainWindowPriv' has no member named 'folderView'
/tmp/pkg/digikam-1.2.0/themedesigner/mainwindow.cpp:289: error: 'FolderItem' was not declared in this scope
/tmp/pkg/digikam-1.2.0/themedesigner/mainwindow.cpp:289: error: 'folderItem' was not declared in this scope
/tmp/pkg/digikam-1.2.0/themedesigner/mainwindow.cpp:289: error: expected type-specifier before 'FolderItem'
/tmp/pkg/digikam-1.2.0/themedesigner/mainwindow.cpp:289: error: expected ';' before 'FolderItem'
/tmp/pkg/digikam-1.2.0/themedesigner/mainwindow.cpp:293: error: 'class Digikam::MainWindowPriv' has no member named 'folderView'
make: *** [themedesigner/CMakeFiles/digikamthemedesigner.dir/mainwindow.o] Error 1
make: *** [themedesigner/CMakeFiles/digikamthemedesigner.dir/all] Error 2
make: *** Waiting for unfinished jobs....
[ 98%] Building CXX object digikam/CMakeFiles/digikam.dir/__/utilities/advancedrename/parser/modifiers/defaultvaluemodifier.o
[ 98%] Building CXX object digikam/CMakeFiles/digikam.dir/__/utilities/advancedrename/parser/modifiers/fillmodifier.o
[ 98%] Building CXX object digikam/CMakeFiles/digikam.dir/__/utilities/advancedrename/parser/modifiers/rangemodifier.o
[ 98%] Building CXX object digikam/CMakeFiles/digikam.dir/__/utilities/advancedrename/parser/modifiers/replacemodifier.o
[ 98%] Building CXX object digikam/CMakeFiles/digikam.dir/__/utilities/advancedrename/parser/modifiers/trimmedmodifier.o
[ 98%] Building CXX object digikam/CMakeFiles/digikam.dir/__/utilities/advancedrename/parser/modifiers/uniquemodifier.o
[ 98%] Building CXX object digikam/CMakeFiles/digikam.dir/__/utilities/advancedrename/parser/options/cameranameoption.o
[ 98%] Building CXX object digikam/CMakeFiles/digikam.dir/__/utilities/advancedrename/parser/options/dateoption.o
[ 98%] Building CXX object digikam/CMakeFiles/digikam.dir/__/utilities/advancedrename/parser/options/directorynameoption.o
[ 99%] Building CXX object digikam/CMakeFiles/digikam.dir/__/utilities/advancedrename/parser/options/filepropertiesoption.o
[ 99%] Building CXX object digikam/CMakeFiles/digikam.dir/__/utilities/advancedrename/parser/options/metadataoption.o
[ 99%] Building CXX object digikam/CMakeFiles/digikam.dir/__/utilities/advancedrename/parser/options/sequencenumberoption.o
[ 99%] Building CXX object digikam/CMakeFiles/digikam.dir/main.o
[ 99%] Building CXX object digikam/CMakeFiles/digikam.dir/digikamadaptor.o
Linking CXX executable digikam
[ 99%] Built target digikam
make: *** [all] Error 2
If you compare the 1.1.0 and 1.2.0 tarballs you will see that the two files folderview.cpp and folderview.h are indeed missing in the newer release tarball. I'm not familiar with programming, but since the include-lines are still present it looks like a packaging error to me!?!? Would be worth a try to copy the two files from an 1.1.0 version and see if it compiles fine then ...
EDIT: Or look at the CMakeLists.txt in the source dir of 1.2.0 - looks like there is a line exactly about the themedesigner at the top which is commented out. If you don't need it you could try uncommenting it.
Last edited by titopoquito; 04-01-2010 at 11:18 AM.
it works fine for me with standard SBo lensfun, kipi-plugins and slackbuild (changing only the $VERSION) on latest 64-current (multilib - alien's kde 4.4.2/qt 4.6.2).
themedesigner's build (maybe because it looks bugged) seems to default to off.
I changed $VERSION and $ARCH in the respective SlackBuild scripts. lensfun and kipi-plugins build just fine, then. Only digikam fails to build.
@titopoquito. I copied the files from the older version into the source directory AND uncommented the line. Same result. BTW, I use the tar ball from the Digikam Sourceforge download page. I therefore doubt that it is a packaging error, and if it was one, the above measures should have an effect.
@ponce. I have KDE 4.3.5 and Qt 4.5.3. Do I need to upgrade? I hesitate, because there has been no official statement, that the next stable release of Slackware will include KDE 4.4, although it is quite likely. I'd like to return to stable with the next release. I am only using -current, because of the many improvements of KDE, at the moment.
Same thing here.
I did the new lensfun and kipi and all was well.
Did the new digikam and it failed near the end.
After reading gargamel's post I downloaded a new SlackBuild and it rolled right on through without a hitch. .. ???
Mustive been a bad download on the 1st one.
Slack64-C (03.31) / Multilib / KDE4.4.2
Last edited by slackass; 04-01-2010 at 11:05 PM.