I am testing out the latest Kubuntu and installing Digikam from SVN to
triage a few specific bugs. After running cmake, I do not seem to have a makefile. There is also a cmake error that it says is specifically for developers: ibex@ubuntu:~/digikam-notes/kdegraphics/build$ cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=$DIGIKAMKDE4 ../../kdegraphics -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:72 (MESSAGE): ERROR: cmake/modules/FindKDE4Internal.cmake not found in /home/ibex/.kde/share/apps;/usr/share/kde4/apps Call Stack (most recent call first): CMakeLists.txt:6 (find_package) CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 2.6) should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run "cmake --help-policy CMP0000". This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring done ibex@ubuntu:~/digikam-notes/kdegraphics/build$ make && echo "done" make: *** No targets specified and no makefile found. Stop. ibex@ubuntu:~/digikam-notes/kdegraphics/build$ Should I worry about that error? Is there anything that I can do to build Digikam? Thanks. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Hi Dotan,
digikam is compiling and running as it should here on the latest stable kubuntu (that is, hardy kde4 fully updated). So there is probably something wrong with your setup. It also took me a while to have all variables set in the correct way and all dependencies satisfied, but thanks to a lot of help from people on the list, it now works fine. After the initial checkout as described on the digikam website, I use the following script to checkout, compile and install. My svn directory is ~/down/svn, you have to adjust that to your system. And install all the necessary development packages, of course, but I don't have a complete list of these. Good luck, Gandalf ########### clear; echo "Digikam KDE4 checkout from subversion" echo "~~~~~~~~~~~~~~~~~~~~~~~~" echo "Set Variables" DIGIKAMKDE4=/usr/lib/kde4 export PATH=/usr/lib/kde4/bin/:$PATH export LANG=C export KDEDIRS=$DIGIKAMKDE4:/usr/lib/kde4/ export LD_LIBRARY_PATH=$DIGIKAMKDE4/lib:$LD_LIBRARY_PATH export LDPATH=$DIGIKAMKDE4/lib:$LDPATH export PATH=$DIGIKAMKDE4/bin:$PATH export PKG_CONFIG_PATH=$DIGIKAMKDE4/lib/pkgconfig export CMAKE_INCLUDE_PATH=$DIGIKAMKDE4/include export CMAKE_LIBRARY_PATH=$DIGIKAMKDE4/lib echo "" echo "checkout libs" cd ~/down/svn/kde4/kdegraphics; echo -n "libs: " svn up libs; echo -n "cmake: " svn up cmake; echo "" echo "checkout digikam and kipi-plugins"; cd ~/down/svn/kde4/graphics; echo -n "digikam: " svn up digikam; echo -n "kipi: " svn up kipi-plugins; echo -n "cmake: " svn up cmake; echo "" echo -n "compile and install libs? [yes=1/no=2]" read x case $x in 1) echo " compile libs"; cd ~/down/svn/kde4/kdegraphics; rm -rf build; mkdir build; cd build; cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=$DIGIKAMKDE4 ../../kdegraphics; make; sudo make install;; 2) echo " libs not compiled";; esac echo "" echo -n "compile and install digikam? [yes=1/no=2]" read y case $y in 1) echo " compile digikam"; cd ~/down/svn/kde4/graphics; rm -rf build; mkdir build; cd build; cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=$DIGIKAMKDE4 ../../graphics; make; sudo make install;; 2) echo " digikam not compiled";; esac echo ""; echo "finished" echo "~~~~~~~~~~~~~~~~~~~~~~~~" echo "" ############ Am Samstag, 16. August 2008 22:36:38 schrieb Dotan Cohen: > I am testing out the latest Kubuntu and installing Digikam from SVN to > triage a few specific bugs. After running cmake, I do not seem to have > a makefile. There is also a cmake error that it says is specifically > for developers: > > ibex@ubuntu:~/digikam-notes/kdegraphics/build$ cmake > -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=$DIGIKAMKDE4 > ../../kdegraphics > -- The C compiler identification is GNU > -- The CXX compiler identification is GNU > -- Check for working C compiler: /usr/bin/gcc > -- Check for working C compiler: /usr/bin/gcc -- works > -- Detecting C compiler ABI info > -- Detecting C compiler ABI info - done > -- Check for working CXX compiler: /usr/bin/c++ > -- Check for working CXX compiler: /usr/bin/c++ -- works > -- Detecting CXX compiler ABI info > -- Detecting CXX compiler ABI info - done > CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:72 (MESSAGE): > ERROR: cmake/modules/FindKDE4Internal.cmake not found in > /home/ibex/.kde/share/apps;/usr/share/kde4/apps > Call Stack (most recent call first): > CMakeLists.txt:6 (find_package) > > > CMake Warning (dev) in CMakeLists.txt: > No cmake_minimum_required command is present. A line of code such as > > cmake_minimum_required(VERSION 2.6) > > should be added at the top of the file. The version specified may be > lower if you wish to support older CMake versions for this project. For > more information run "cmake --help-policy CMP0000". > This warning is for project developers. Use -Wno-dev to suppress it. > > -- Configuring done > ibex@ubuntu:~/digikam-notes/kdegraphics/build$ make && echo "done" > make: *** No targets specified and no makefile found. Stop. > ibex@ubuntu:~/digikam-notes/kdegraphics/build$ > > > Should I worry about that error? Is there anything that I can do to > build Digikam? Thanks. _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
2008/8/17 Gandalf Lechner <[hidden email]>:
> Hi Dotan, > > digikam is compiling and running as it should here on the latest stable > kubuntu (that is, hardy kde4 fully updated). So there is probably something > wrong with your setup. It also took me a while to have all variables set in > the correct way and all dependencies satisfied, but thanks to a lot of help > from people on the list, it now works fine. > > After the initial checkout as described on the digikam website, I use the > following script to checkout, compile and install. My svn directory is > ~/down/svn, you have to adjust that to your system. And install all the > necessary development packages, of course, but I don't have a complete list of > these. > > Good luck, > Gandalf > Thanks, Gandalf. The script you post is very similar to the one that I use. I would like to know if the cmake error is critical before I go bashing my head against google getting Digikam installed from SVN this time around. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Dotan Cohen
Dnia Sunday 17 of August 2008, Dotan Cohen napisał:
> CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:72 (MESSAGE): > ERROR: cmake/modules/FindKDE4Internal.cmake not found in > /home/ibex/.kde/share/apps;/usr/share/kde4/apps > Call Stack (most recent call first): > CMakeLists.txt:6 (find_package) You need FindKDE4Internal.cmake module. I have complete KDE4 checkout and this and other modules are in kdelibs/cmake/modules directory. You should copy them by hand to /usr/share/cmake-2.6/Modules directory (or similar in your distro). Don't know if this is the best ways but it works for me. m. _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
2008/8/18 Mikolaj Machowski <[hidden email]>:
> You need FindKDE4Internal.cmake module. > > I have complete KDE4 checkout and this and other modules are in > > kdelibs/cmake/modules directory. > > You should copy them by hand to > > /usr/share/cmake-2.6/Modules > > directory (or similar in your distro). > > Don't know if this is the best ways but it works for me. Thanks, Mikolaj, I will try that as soon as I boot back into KDE4. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ä-ö-ü-ß-Ä-Ö-Ü _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Free forum by Nabble | Edit this page |