In KDE 4.1 beta 2 I am trying to build Digikam 0.10 beta running on
Kubuntu 8.04. The Install file says that instructions for building can be found at http://techbase.kde.org/Getting_Started/Build/KDE4 however I don't see them. I thought that the link marked "Set up KDE 4 for development" would help, but I still don't see how to build Digikam. I looked on the Digikam FAQ, wiki, and online documentation. I have installed the build-dep as suggested on the wiki, but after that I don't know what to do. I tried running "./configure" but there is no configure script. Thanks in advance for any help in building Digikam, or a RTFM with a link to detailed instructions. 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 |
ok, you requested a RTFM:
http://www.digikam.org/drupal/download/svn :-) Andi On Tuesday 08 July 2008 21:54:30 Dotan Cohen wrote: > In KDE 4.1 beta 2 I am trying to build Digikam 0.10 beta running on > Kubuntu 8.04. The Install file says that instructions for building can > be found at http://techbase.kde.org/Getting_Started/Build/KDE4 however > I don't see them. I thought that the link marked "Set up KDE 4 for > development" would help, but I still don't see how to build Digikam. I > looked on the Digikam FAQ, wiki, and online documentation. I have > installed the build-dep as suggested on the wiki, but after that I > don't know what to do. I tried running "./configure" but there is no > configure script. > > Thanks in advance for any help in building Digikam, or a RTFM with a > link to detailed instructions. > > 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 _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
2008/7/8 Andi Clemens <[hidden email]>:
> ok, you requested a RTFM: > http://www.digikam.org/drupal/download/svn > > :-) > Thanks, Andi. I thought that was for building the KDE3 version from SVN. I specifically intend to build the 0.10 beta for KDE4 to file bugs against. 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 |
it it for SVN, so KDE3 and KDE4 versions are mentioned there...
Andi On Tuesday 08 July 2008 22:15:56 Dotan Cohen wrote: > 2008/7/8 Andi Clemens <[hidden email]>: > > ok, you requested a RTFM: > > http://www.digikam.org/drupal/download/svn > > > > :-) > > Thanks, Andi. I thought that was for building the KDE3 version from > SVN. I specifically intend to build the 0.10 beta for KDE4 to file > bugs against. > > 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 _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
2008/7/8 Andi Clemens <[hidden email]>:
> it it for SVN, so KDE3 and KDE4 versions are mentioned there... > > Andi > I see it on the bottom now, sorry. I did not look well. Thanks. I am assuming that SVN is good for filing bugs against as well, as that's what I'm building from. 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 |
Sorry to be a pain, but I'm getting a warning with cmake and I cannot make:
root@hardy-laptop:~/graphics/build# cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/opt/kde4 ../../graphics -- 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:35 (MESSAGE): ERROR: Could not find KDE4 kde4-config Call Stack (most recent call first): CMakeLists.txt:9 (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 root@hardy-laptop:~/graphics/build# make make: *** No targets specified and no makefile found. Stop. root@hardy-laptop:~/graphics/build# I don't know where that makefile should be. Am I in the wrong place? 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 |
There weill be no makefile as long as cmake is not running through without
errors. I guess your environment settings are wrong and not poiunting to KDE4. Try pasting all related KDE vars here... use env | grep -i kde maybe this will show some problems already. I use those settings for my user, try to change them to your system accordingly: export YACC='byacc -d' export QTDIR=/usr/lib/qt export KDEDIR=/opt/kdemod export KDEDIRS=$KDEDIR:/opt/kde export DBUSDIR=/usr export PKG_CONFIG_PATH=$DBSDIR/lib/pkgconfig:$KDEDIR/lib/pkgconfig: $PKG_CONFIG_PATH export PATH=$QTDIR/bin:$KDEDIR/bin:$PATH:/opt/kde/bin export LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH eval `PATH=$DBUSDIR/bin $DBUSDIR/bin/dbus-launch --auto-syntax` Andi On Tuesday 08 July 2008 23:29:11 Dotan Cohen wrote: > Sorry to be a pain, but I'm getting a warning with cmake and I cannot make: > > root@hardy-laptop:~/graphics/build# cmake -DCMAKE_BUILD_TYPE=debugfull > -DCMAKE_INSTALL_PREFIX=/opt/kde4 ../../graphics > -- 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:35 > (MESSAGE): > ERROR: Could not find KDE4 kde4-config > Call Stack (most recent call first): > CMakeLists.txt:9 (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 > root@hardy-laptop:~/graphics/build# make > make: *** No targets specified and no makefile found. Stop. > root@hardy-laptop:~/graphics/build# > > > > I don't know where that makefile should be. Am I in the wrong place? > > 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 _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Dotan Cohen
Hi Dotan,
On Wed, 9 Jul 2008, Dotan Cohen wrote: > Sorry to be a pain, but I'm getting a warning with cmake and I cannot make: don't worry! > root@hardy-laptop:~/graphics/build# cmake -DCMAKE_BUILD_TYPE=debugfull > -DCMAKE_INSTALL_PREFIX=/opt/kde4 ../../graphics > -- 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:35 > (MESSAGE): > ERROR: Could not find KDE4 kde4-config This is a case where `apt-file` is handy: apt-file search kde4-config kde4libs-bin: /usr/lib/kde4/bin/kde4-config So you should installd `kde4libs-bin` If this is already installed, you might need to add: export PATH=/usr/lib/kde4/bin/:$PATH so that this is found, because it is not in one of the usual */bin directories. HTH, best, Arnd _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Dotan Cohen
Hi,
since you seem to be running kubuntu, I guess something like cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4 . directly inside the graphics folder, omitting the extra build directory, or cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4 ../../graphics inside the build dir should be correct (under kubuntu, kde4 is installed in /usr/lib/kde4). Unfortunately, I ran into the dependency problems mentioned in the other mail, so I haven't compiled yet. Tomorrow I'll have to look into setting LIBDIR and LD_LIBRARY_PATH correctly, as Mikolaj suggested. Best, Gandalf On Tuesday 08 July 2008 23:29:11 Dotan Cohen wrote: > Sorry to be a pain, but I'm getting a warning with cmake and I cannot make: > > root@hardy-laptop:~/graphics/build# cmake -DCMAKE_BUILD_TYPE=debugfull > -DCMAKE_INSTALL_PREFIX=/opt/kde4 ../../graphics > -- 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:35 > (MESSAGE): > ERROR: Could not find KDE4 kde4-config > Call Stack (most recent call first): > CMakeLists.txt:9 (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 > root@hardy-laptop:~/graphics/build# make > make: *** No targets specified and no makefile found. Stop. > root@hardy-laptop:~/graphics/build# > > > > I don't know where that makefile should be. Am I in the wrong place? > > 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 _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Bugzilla from andi.clemens@gmx.net
2008/7/9 Andi Clemens <[hidden email]>:
> There weill be no makefile as long as cmake is not running through without > errors. > I guess your environment settings are wrong and not poiunting to KDE4. > Try pasting all related KDE vars here... > > use > > env | grep -i kde > > maybe this will show some problems already. > > I use those settings for my user, try to change them to your system > accordingly: > > export YACC='byacc -d' > export QTDIR=/usr/lib/qt > export KDEDIR=/opt/kdemod > export KDEDIRS=$KDEDIR:/opt/kde > export DBUSDIR=/usr > export PKG_CONFIG_PATH=$DBSDIR/lib/pkgconfig:$KDEDIR/lib/pkgconfig: > $PKG_CONFIG_PATH > export PATH=$QTDIR/bin:$KDEDIR/bin:$PATH:/opt/kde/bin > export LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH > eval `PATH=$DBUSDIR/bin $DBUSDIR/bin/dbus-launch --auto-syntax` > > Andi > Thanks, Andi, this is my environment: root@hardy-laptop:~/graphics/build# env | grep -i kde root@hardy-laptop:~/graphics/build# env SHELL=/bin/bash TERM=xterm USER=root LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36: MAIL=/var/mail/root PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PWD=/root/graphics/build LANG=en_US.UTF-8 SHLVL=1 HOME=/root LOGNAME=root LESSOPEN=| /usr/bin/lesspipe %s LESSCLOSE=/usr/bin/lesspipe %s %s _=/usr/bin/env OLDPWD=/root/graphics root@hardy-laptop:~/graphics/build# I've googled some of the output but I don't see anything specific to Digikam. Are there any shining errors there that I am missing? 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 Arnd Baecker
2008/7/9 Arnd Baecker <[hidden email]>:
> Hi Dotan, > > On Wed, 9 Jul 2008, Dotan Cohen wrote: > >> Sorry to be a pain, but I'm getting a warning with cmake and I cannot make: > > don't worry! > >> root@hardy-laptop:~/graphics/build# cmake -DCMAKE_BUILD_TYPE=debugfull >> -DCMAKE_INSTALL_PREFIX=/opt/kde4 ../../graphics >> -- 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:35 >> (MESSAGE): >> ERROR: Could not find KDE4 kde4-config > > This is a case where `apt-file` is handy: > > apt-file search kde4-config > kde4libs-bin: /usr/lib/kde4/bin/kde4-config > > So you should installd `kde4libs-bin` > If this is already installed, you might need to add: > export PATH=/usr/lib/kde4/bin/:$PATH > so that this is found, because it is not in one of > the usual */bin directories. > > HTH, best, > Thank you Arnd. It appears that kde4libs-bin is already installed. I was not sure if the export should be added to make or to cmake, but they both complained. It appears that cmake is now complaining about missing directories. I assume that is because the path changed, but I'm not sure how to work around this situation. root@hardy-laptop:~/graphics/build# apt-get install kde4libs-bin Reading package lists... Done Building dependency tree Reading state information... Done kde4libs-bin is already the newest version. kde4libs-bin set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded. root@hardy-laptop:~/graphics/build# make export PATH=/usr/lib/kde4/bin/:$PATH make: *** No rule to make target `export'. Stop. root@hardy-laptop:~/graphics/build# cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/opt/kde4 ../../graphics export PATH=/usr/lib/kde4/bin/:$PATH CMake Error: The source directory "/root/graphics/build/PATH=/usr/lib/kde4/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" does not exist. Specify --help for usage, or press the help button on the CMake GUI. root@hardy-laptop:~/graphics/build# 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
this is really your complete output?
ok two issues here: 1) don't compile as root, the env vars for KDE will not be set correctly, especially if you don't log into the kde session as root user. 2) don't compile as root (:-)), you never want to do this... it might break a lot of stuff on badly written Makefiles (sure not in digiKam, but there is a lot of crappy software out there :-)) Only install as root, for example su -c "make install".... but don't build... So make sure you are compiling as the user starting the KDE session and post env again... But right now I'm tired, so if nobody else will answer you'll have to wait till tomorrow. Andi On Tuesday 08 July 2008 23:45:16 Dotan Cohen wrote: > 2008/7/9 Andi Clemens <[hidden email]>: > > There weill be no makefile as long as cmake is not running through > > without errors. > > I guess your environment settings are wrong and not poiunting to KDE4. > > Try pasting all related KDE vars here... > > > > use > > > > env | grep -i kde > > > > maybe this will show some problems already. > > > > I use those settings for my user, try to change them to your system > > accordingly: > > > > export YACC='byacc -d' > > export QTDIR=/usr/lib/qt > > export KDEDIR=/opt/kdemod > > export KDEDIRS=$KDEDIR:/opt/kde > > export DBUSDIR=/usr > > export PKG_CONFIG_PATH=$DBSDIR/lib/pkgconfig:$KDEDIR/lib/pkgconfig: > > $PKG_CONFIG_PATH > > export PATH=$QTDIR/bin:$KDEDIR/bin:$PATH:/opt/kde/bin > > export LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH > > eval `PATH=$DBUSDIR/bin $DBUSDIR/bin/dbus-launch --auto-syntax` > > > > Andi > > Thanks, Andi, this is my environment: > > root@hardy-laptop:~/graphics/build# env | grep -i kde > root@hardy-laptop:~/graphics/build# env > SHELL=/bin/bash > TERM=xterm > USER=root > LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33 >;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex= >01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01; >31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2= >01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31 >:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jp >g=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=0 >1;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;3 >5:*.svg=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:* >.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vo >b=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01; >35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.x >wd=01;35:*.yuv=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi= >00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36 >: MAIL=/var/mail/root > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin > PWD=/root/graphics/build > LANG=en_US.UTF-8 > SHLVL=1 > HOME=/root > LOGNAME=root > LESSOPEN=| /usr/bin/lesspipe %s > LESSCLOSE=/usr/bin/lesspipe %s %s > _=/usr/bin/env > OLDPWD=/root/graphics > root@hardy-laptop:~/graphics/build# > > > > I've googled some of the output but I don't see anything specific to > Digikam. Are there any shining errors there that I am missing? > > 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 _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Dotan Cohen
On Wed, 9 Jul 2008, Dotan Cohen wrote:
> 2008/7/9 Arnd Baecker <[hidden email]>: > > Hi Dotan, [...] > Thank you Arnd. It appears that kde4libs-bin is already installed. I > was not sure if the export should be added to make or to cmake, but > they both complained. It appears that cmake is now complaining about > missing directories. I assume that is because the path changed, but > I'm not sure how to work around this situation. > > root@hardy-laptop:~/graphics/build# apt-get install kde4libs-bin > Reading package lists... Done > Building dependency tree > Reading state information... Done > kde4libs-bin is already the newest version. > kde4libs-bin set to manually installed. > 0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded. > root@hardy-laptop:~/graphics/build# make export PATH=/usr/lib/kde4/bin/:$PATH > make: *** No rule to make target `export'. Stop. You should do: export PATH=/usr/lib/kde4/bin/:$PATH on the konsole before doing the cmake stuff. > root@hardy-laptop:~/graphics/build# cmake -DCMAKE_BUILD_TYPE=debugfull > -DCMAKE_INSTALL_PREFIX=/opt/kde4 ../../graphics export > PATH=/usr/lib/kde4/bin/:$PATH > CMake Error: The source directory > "/root/graphics/build/PATH=/usr/lib/kde4/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" > does not exist. > Specify --help for usage, or press the help button on the CMake GUI. > root@hardy-laptop:~/graphics/build# HTH, Arnd _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Dotan Cohen
Maybe the following private notes for my installation on a kubuntu
machine are helpful (or maybe not ;-): ((No claim of completeness ...)) Needed stuff ------------ aptitude install kde4libs-bin kde4-devel (there is surely more, depending on the packages which are already isntalled ...) Environment variables ===================== # ### Modifiy according to your destination: DIGIKAMKDE4=$HOME/NBB/SOFTWARE/DEV_digikam4 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 # ### Modify according to your place where marble is located: export MARBLE_PATH=$HOME/NBB/SOFTWARE/Marble/ export LD_LIBRARY_PATH=$MARBLE_PATH/lib:$LD_LIBRARY_PATH export LDPATH=$MARBLE_PATH/lib:$LDPATH export PATH=$MARBLE_PATH/bin:$PATH export PKG_CONFIG_PATH=$MARBLE_PATH/lib/pkgconfig:$DIGIKAMKDE4/lib/pkgconfig export INCLUDE_DIR=$MARBLE_PATH/include:$INCLUDE_DIR export CMAKE_INCLUDE_PATH=$MARBLE_PATH/include:$DIGIKAMKDE4/include export CMAKE_LIBRARY_PATH=$MARBLE_PATH/lib:$DIGIKAMKDE4/lib Checkout KDE4 version ===================== - exiv2 wget http://www.exiv2.org/exiv2-0.17.1.tar.gz tar xzf exiv2-0.17.1.tar.gz cd exiv2-0.17.1 ./configure --prefix=$DIGIKAMKDE4 make make install - http://lensfun.berlios.de svn checkout svn://svn.berlios.de/lensfun/trunk ./configure --prefix=$DIGIKAMKDE4 make install - kdegraphics libs svn source for KDE4 (includes libkipi, libkdcraw, libkexiv2, libksane) : svn co -N svn://anonsvn.kde.org/home/kde/trunk/KDE/kdegraphics cd kdegraphics svn up libs svn up cmake - Checkout the latest digiKam and Kipi-plugins SVN source for KDE4: cd .. svn co -N svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics cd graphics svn up digikam svn up kipi-plugins svn up cmake - Installation for KDE4 in your system (/opt/kde4) cd .. To compile the source code under linux you have to give these commands in the source code folders. You should use a seperate build folder to help cleaning up sources if something goes wrong. cd ~/NBB/INSTALL_SOFTWARE/DIGIKAM4/kdegraphics/ rm -rf build mkdir build cd build cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=$DIGIKAMKDE4 ../../kdegraphics make make install Now for digikam itself: ----------------------- cd ~/NBB/INSTALL_SOFTWARE/DIGIKAM4/graphics/ mkdir build cd build rm CMakeCache.txt cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=$DIGIKAMKDE4 ../../graphics make make install _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Dotan Cohen
One last note (but then I will really go to bed):
If you have KDE3 and KDE4 installed, it might be a good way to create a new user, for example 'kde4', and append the vars I mentioned earlier in there: export YACC='byacc -d' export QTDIR=/usr/lib/qt export KDEDIR=/opt/kdemod export KDEDIRS=$KDEDIR:/opt/kde export DBUSDIR=/usr export PKG_CONFIG_PATH=$DBSDIR/lib/pkgconfig:$KDEDIR/lib/pkgconfig: $PKG_CONFIG_PATH export PATH=$QTDIR/bin:$KDEDIR/bin:$PATH:/opt/kde/bin export LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH eval `PATH=$DBUSDIR/bin $DBUSDIR/bin/dbus-launch --auto-syntax` Sure you have to change them accordingly. So now everything should be prior to KDE4, not KDE3. But first you really should make sure to install all needed kde4 packages... I don't know the names in kubuntu, I have installed those packages in archlinux to satisfy everything: kdemod4-akonadi kdemod4-automoc4 kdemod4-kde-common kdemod4-kdebase-runtime kdemod4-kdebase-runtime-icons kdemod4-kdelibs kdemod4-kdepimlibs kdemod4-phonon kdemod4-soprano kdemod4-strigi Maybe they are named the same in kubuntu. Andi On Tuesday 08 July 2008 23:57:51 Dotan Cohen wrote: > 2008/7/9 Arnd Baecker <[hidden email]>: > > Hi Dotan, > > > > On Wed, 9 Jul 2008, Dotan Cohen wrote: > >> Sorry to be a pain, but I'm getting a warning with cmake and I cannot > >> make: > > > > don't worry! > > > >> root@hardy-laptop:~/graphics/build# cmake -DCMAKE_BUILD_TYPE=debugfull > >> -DCMAKE_INSTALL_PREFIX=/opt/kde4 ../../graphics > >> -- 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:35 > >> (MESSAGE): > >> ERROR: Could not find KDE4 kde4-config > > > > This is a case where `apt-file` is handy: > > > > apt-file search kde4-config > > kde4libs-bin: /usr/lib/kde4/bin/kde4-config > > > > So you should installd `kde4libs-bin` > > If this is already installed, you might need to add: > > export PATH=/usr/lib/kde4/bin/:$PATH > > so that this is found, because it is not in one of > > the usual */bin directories. > > > > HTH, best, > > Thank you Arnd. It appears that kde4libs-bin is already installed. I > was not sure if the export should be added to make or to cmake, but > they both complained. It appears that cmake is now complaining about > missing directories. I assume that is because the path changed, but > I'm not sure how to work around this situation. > > root@hardy-laptop:~/graphics/build# apt-get install kde4libs-bin > Reading package lists... Done > Building dependency tree > Reading state information... Done > kde4libs-bin is already the newest version. > kde4libs-bin set to manually installed. > 0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded. > root@hardy-laptop:~/graphics/build# make export > PATH=/usr/lib/kde4/bin/:$PATH make: *** No rule to make target `export'. > Stop. > root@hardy-laptop:~/graphics/build# cmake -DCMAKE_BUILD_TYPE=debugfull > -DCMAKE_INSTALL_PREFIX=/opt/kde4 ../../graphics export > PATH=/usr/lib/kde4/bin/:$PATH > CMake Error: The source directory > "/root/graphics/build/PATH=/usr/lib/kde4/bin/:/usr/local/sbin:/usr/local/bi >n:/usr/sbin:/usr/bin:/sbin:/bin" does not exist. > Specify --help for usage, or press the help button on the CMake GUI. > root@hardy-laptop:~/graphics/build# > > > > 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 _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
oops forgot to say those vars should go into ~/.bashrc
I see Arnd was faster... hmm he seems to know kubuntu a little bit better than me... so I guess he might be a better help. Andi On Wednesday 09 July 2008 00:09:32 Andi Clemens wrote: > One last note (but then I will really go to bed): > > If you have KDE3 and KDE4 installed, it might be a good way to create a new > user, for example 'kde4', and append the vars I mentioned earlier in there: > > export YACC='byacc -d' > export QTDIR=/usr/lib/qt > export KDEDIR=/opt/kdemod > export KDEDIRS=$KDEDIR:/opt/kde > export DBUSDIR=/usr > export PKG_CONFIG_PATH=$DBSDIR/lib/pkgconfig:$KDEDIR/lib/pkgconfig: > $PKG_CONFIG_PATH > export PATH=$QTDIR/bin:$KDEDIR/bin:$PATH:/opt/kde/bin > export LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH > eval `PATH=$DBUSDIR/bin $DBUSDIR/bin/dbus-launch --auto-syntax` > > Sure you have to change them accordingly. So now everything should be prior > to KDE4, not KDE3. > But first you really should make sure to install all needed kde4 > packages... I don't know the names in kubuntu, I have installed those > packages in archlinux to satisfy everything: > > > kdemod4-akonadi > kdemod4-automoc4 > kdemod4-kde-common > kdemod4-kdebase-runtime > kdemod4-kdebase-runtime-icons > kdemod4-kdelibs > kdemod4-kdepimlibs > kdemod4-phonon > kdemod4-soprano > kdemod4-strigi > > Maybe they are named the same in kubuntu. > > Andi > > On Tuesday 08 July 2008 23:57:51 Dotan Cohen wrote: > > 2008/7/9 Arnd Baecker <[hidden email]>: > > > Hi Dotan, > > > > > > On Wed, 9 Jul 2008, Dotan Cohen wrote: > > >> Sorry to be a pain, but I'm getting a warning with cmake and I cannot > > >> make: > > > > > > don't worry! > > > > > >> root@hardy-laptop:~/graphics/build# cmake -DCMAKE_BUILD_TYPE=debugfull > > >> -DCMAKE_INSTALL_PREFIX=/opt/kde4 ../../graphics > > >> -- 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:35 > > >> (MESSAGE): > > >> ERROR: Could not find KDE4 kde4-config > > > > > > This is a case where `apt-file` is handy: > > > > > > apt-file search kde4-config > > > kde4libs-bin: /usr/lib/kde4/bin/kde4-config > > > > > > So you should installd `kde4libs-bin` > > > If this is already installed, you might need to add: > > > export PATH=/usr/lib/kde4/bin/:$PATH > > > so that this is found, because it is not in one of > > > the usual */bin directories. > > > > > > HTH, best, > > > > Thank you Arnd. It appears that kde4libs-bin is already installed. I > > was not sure if the export should be added to make or to cmake, but > > they both complained. It appears that cmake is now complaining about > > missing directories. I assume that is because the path changed, but > > I'm not sure how to work around this situation. > > > > root@hardy-laptop:~/graphics/build# apt-get install kde4libs-bin > > Reading package lists... Done > > Building dependency tree > > Reading state information... Done > > kde4libs-bin is already the newest version. > > kde4libs-bin set to manually installed. > > 0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded. > > root@hardy-laptop:~/graphics/build# make export > > PATH=/usr/lib/kde4/bin/:$PATH make: *** No rule to make target `export'. > > Stop. > > root@hardy-laptop:~/graphics/build# cmake -DCMAKE_BUILD_TYPE=debugfull > > -DCMAKE_INSTALL_PREFIX=/opt/kde4 ../../graphics export > > PATH=/usr/lib/kde4/bin/:$PATH > > CMake Error: The source directory > > "/root/graphics/build/PATH=/usr/lib/kde4/bin/:/usr/local/sbin:/usr/local/ > >bi n:/usr/sbin:/usr/bin:/sbin:/bin" does not exist. > > Specify --help for usage, or press the help button on the CMake GUI. > > root@hardy-laptop:~/graphics/build# > > > > > > > > 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 > > _______________________________________________ > Digikam-users mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Arnd Baecker
Hi Arnd and everybody,
now that was a set of useful instructions - thanks a lot! With your notes, I could finally compile and install digikam 0.10 from svn. For my fellow kubuntu users: At first, I received an error from cmake claiming that QT_QTOPENGL_LIBRARY must be set. Installing libqt4-opengl-dev resolved this. Second, after compiling and installing digikam, I was faced with an error message that the qt4 sqlite plugin is missing. Having installed libqt4- sql-sqlite , also this problem was overcome. I was however not successful to find the correct package to solve the imlib dependency (I installed basically everything with imlib in its name), but this is apparantly optional. Once digikam finished crawling through my pictures, selecting albums on the left did not result in showing thumbnails in the main window. I am running a "rebuild all thumbnails" right now and hope this fixes it; looking forward to have a look at the new digikam :-) Best, Gandalf On Wednesday 09 July 2008 00:05:13 Arnd Baecker wrote: > Maybe the following private notes for my installation on a kubuntu > machine are helpful (or maybe not ;-): > ((No claim of completeness ...)) > > Needed stuff > ------------ > > aptitude install kde4libs-bin kde4-devel > (there is surely more, depending on the packages which > are already isntalled ...) > > Environment variables > ===================== > > # ### Modifiy according to your destination: > DIGIKAMKDE4=$HOME/NBB/SOFTWARE/DEV_digikam4 > 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 > > # ### Modify according to your place where marble is located: > export MARBLE_PATH=$HOME/NBB/SOFTWARE/Marble/ > export LD_LIBRARY_PATH=$MARBLE_PATH/lib:$LD_LIBRARY_PATH > export LDPATH=$MARBLE_PATH/lib:$LDPATH > export PATH=$MARBLE_PATH/bin:$PATH > export > PKG_CONFIG_PATH=$MARBLE_PATH/lib/pkgconfig:$DIGIKAMKDE4/lib/pkgconfig > export INCLUDE_DIR=$MARBLE_PATH/include:$INCLUDE_DIR > > export CMAKE_INCLUDE_PATH=$MARBLE_PATH/include:$DIGIKAMKDE4/include > export CMAKE_LIBRARY_PATH=$MARBLE_PATH/lib:$DIGIKAMKDE4/lib > > > Checkout KDE4 version > ===================== > > - exiv2 > wget http://www.exiv2.org/exiv2-0.17.1.tar.gz > tar xzf exiv2-0.17.1.tar.gz > cd exiv2-0.17.1 > ./configure --prefix=$DIGIKAMKDE4 > make > make install > > - http://lensfun.berlios.de > svn checkout svn://svn.berlios.de/lensfun/trunk > ./configure --prefix=$DIGIKAMKDE4 > make install > > > - kdegraphics libs svn source for KDE4 > (includes libkipi, libkdcraw, libkexiv2, libksane) : > > svn co -N svn://anonsvn.kde.org/home/kde/trunk/KDE/kdegraphics > cd kdegraphics > svn up libs > svn up cmake > > - Checkout the latest digiKam and Kipi-plugins SVN source for KDE4: > > cd .. > svn co -N svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics > cd graphics > svn up digikam > svn up kipi-plugins > svn up cmake > > - Installation for KDE4 in your system (/opt/kde4) > cd .. > > > To compile the source code under linux you have to give these commands > in the source code folders. You should use a seperate build folder to > help cleaning up sources if something goes wrong. > > cd ~/NBB/INSTALL_SOFTWARE/DIGIKAM4/kdegraphics/ > rm -rf build > mkdir build > cd build > cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=$DIGIKAMKDE4 > ../../kdegraphics > make > make install > > > > Now for digikam itself: > ----------------------- > > cd ~/NBB/INSTALL_SOFTWARE/DIGIKAM4/graphics/ > mkdir build > cd build > rm CMakeCache.txt > cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=$DIGIKAMKDE4 > ../../graphics > make > make install > > > _______________________________________________ > Digikam-users mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Bugzilla from andi.clemens@gmx.net
2008/7/9 Andi Clemens <[hidden email]>:
> this is really your complete output? Yes, that was everything. > ok two issues here: > > 1) don't compile as root, the env vars for KDE will not be set correctly, > especially if you don't log into the kde session as root user. On the http://www.digikam.org/drupal/download/svn page the commands were preceded with "#" instead of "$" so I assumed that mean root. > 2) don't compile as root (:-)), you never want to do this... it might break a > lot of stuff on badly written Makefiles (sure not in digiKam, but there is a > lot of crappy software out there :-)) > Only install as root, for example > > su -c "make install".... but don't build... > > So make sure you are compiling as the user starting the KDE session and post > env again... > hardy@hardy-laptop:~$ env | grep -i kde KDE_MULTIHEAD=false GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/hardy/.gtkrc-2.0:/home/hardy/.gtkrc-2.0-kde4:/home/hardy/.kde4/share/config/gtkrc-2.0 GTK_RC_FILES=/etc/gtk/gtkrc:/home/hardy/.gtkrc::/home/hardy/.kde4/share/config/gtkrc KDE_FULL_SESSION=true LD_LIBRARY_PATH=/usr/lib/kde4/lib PATH=/usr/lib/kde4/bin:/usr/lib/kde4/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games DESKTOP_SESSION=kde4 KDE_SESSION_UID=1000 KDEDIRS=/usr/lib/kde4 KDE_SESSION_VERSION=4 XDG_DATA_DIRS=/usr/lib/kde4/share:/usr/share:/usr/local/share QT_PLUGIN_PATH=/home/hardy/.kde4/lib/kde4/plugins/:/usr/lib/kde4/lib/kde4/plugins/ hardy@hardy-laptop:~$ > But right now I'm tired, so if nobody else will answer you'll have to wait > till tomorrow. > Yes, I fell asleep as well... Now, trying with different cmake possibilities as user, this is what I'm getting. It seems that a line is missing from cmake, but the error is explicit in that it requires a dev to fix: hardy@hardy-laptop:~/graphics/build$ cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/opt/kde4 ../../graphics -- 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/hardy/.kde4/share/apps;/usr/lib/kde4/share/kde4/apps Call Stack (most recent call first): CMakeLists.txt:9 (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 hardy@hardy-laptop:~/graphics/build$ cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4 ../../graphics CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:72 (MESSAGE): ERROR: cmake/modules/FindKDE4Internal.cmake not found in /home/hardy/.kde4/share/apps;/usr/lib/kde4/share/kde4/apps Call Stack (most recent call first): CMakeLists.txt:9 (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 hardy@hardy-laptop:~/graphics/build$ cd .. hardy@hardy-laptop:~/graphics$ cd .. hardy@hardy-laptop:~$ cd graphics/ hardy@hardy-laptop:~/graphics$ cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4 -- 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/hardy/.kde4/share/apps;/usr/lib/kde4/share/kde4/apps Call Stack (most recent call first): CMakeLists.txt:9 (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 hardy@hardy-laptop:~/graphics$ 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 Arnd Baecker
2008/7/9 Arnd Baecker <[hidden email]>:
> You should do: > export PATH=/usr/lib/kde4/bin/:$PATH > on the konsole before doing the cmake stuff. > Thank you Arnd, however, I get the same error: hardy@hardy-laptop:~/graphics/build$ export PATH=/usr/lib/kde4/bin/:$PATH hardy@hardy-laptop:~/graphics/build$ cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4 ../../graphics/ CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:72 (MESSAGE): ERROR: cmake/modules/FindKDE4Internal.cmake not found in /home/hardy/.kde4/share/apps;/usr/lib/kde4/share/kde4/apps Call Stack (most recent call first): CMakeLists.txt:9 (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 hardy@hardy-laptop:~/graphics/build$ 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 |
Dotan,
the exiv2 issue we discussed on IRC today is solved in current svn. Do cd kdegraphics svn up libs svn up cmake remove the build directory and redo (Actually, removing the CMakeCache.txt in there should be enough ....) Best, Arnd On Wed, 9 Jul 2008, Dotan Cohen wrote: > 2008/7/9 Arnd Baecker <[hidden email]>: > > You should do: > > export PATH=/usr/lib/kde4/bin/:$PATH > > on the konsole before doing the cmake stuff. > > > > Thank you Arnd, however, I get the same error: > > hardy@hardy-laptop:~/graphics/build$ export PATH=/usr/lib/kde4/bin/:$PATH > hardy@hardy-laptop:~/graphics/build$ cmake > -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4 > ../../graphics/ > CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:72 > (MESSAGE): > ERROR: cmake/modules/FindKDE4Internal.cmake not found in > /home/hardy/.kde4/share/apps;/usr/lib/kde4/share/kde4/apps > Call Stack (most recent call first): > CMakeLists.txt:9 (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 > hardy@hardy-laptop:~/graphics/build$ > > 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 > > Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Free forum by Nabble | Edit this page |