[Digikam-users] Are you still there Marie: Don not sudo cmake

sleepless sleeplessregulus at hetnet.nl
Tue Aug 23 16:17:36 BST 2011


Well, No idea how that sudo came in, Gilles. Thanks for the warning.

Now it works. But strange enough about 10 times cmake failed and then 
without any change are obvious reason:


-- Configuring done
-- Generating done
-- Build files have been written to: 
/home/jansen/digikam-software-compilation

Now I am in the make process, lets see what happens.

Rinus



Op 23-08-11 15:56, Gilles Caulier schreef:
> Sure... if you have previously run cmake as sudo here...
>
> Cleanup all, checkout from scratch, and try again _whitout_ sudo. It 
> will work fine.
>
> Gilles Caulier
>
> 2011/8/23 sleepless <sleeplessregulus at hetnet.nl 
> <mailto:sleeplessregulus at hetnet.nl>>
>
>     Whitout the sudo I got a long list of this:
>     CMake Error: Could not open file for write in copy operation
>     /home/jansen/core/databaseserver/digikamdatabaseserver_automoc.cpp.files.tmp
>     CMake Error: : System Error: Permission denied
>
>     Op 23-08-11 15:42, Gilles Caulier schreef:
>>     yes, it's fine. Look how it's do in bootstrap files for ex...
>>
>>     Gilles Caulier
>>
>>     2011/8/23 sleepless <sleeplessregulus at hetnet.nl
>>     <mailto:sleeplessregulus at hetnet.nl>>
>>
>>         great thanks, that will make it:
>>
>>         cmake -DCMAKE_BUILD_TYPE=debugfull
>>         -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
>>         Right?
>>
>>
>>         Op 23-08-11 15:22, Gilles Caulier schreef:
>>>
>>>
>>>         2011/8/23 sleepless <sleeplessregulus at hetnet.nl
>>>         <mailto:sleeplessregulus at hetnet.nl>>
>>>
>>>             The reason that it failed that time was I had to use
>>>             This:
>>>             sudo cmake -DCMAKE_BUILD_TYPE=debugfull
>>>             -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
>>>             instead of this:
>>>
>>>             cmake digikam-software-compilation
>>>
>>>             else you will end up with empty albums.
>>>
>>>
>>>             Gilles had some documents updated according this at that time. But things that have been on the internet once canĀ“t be extinguished anymore and will survive forever no matter how wrong they are.
>>>
>>>
>>>         ??? What ???
>>>
>>>         You don't need to use "sudo" for this line :
>>>         sudo cmake -DCMAKE_BUILD_TYPE=debugfull
>>>         -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
>>>
>>>         If you do it, all file processed by cmake and creadted with
>>>         it will be only usable by root ! This will be a mess...
>>>
>>>         only use sudo to process "make install"
>>>
>>>         Gilles Caulier
>>>
>>>
>>>         _______________________________________________
>>>         Digikam-users mailing list
>>>         Digikam-users at kde.org <mailto:Digikam-users at kde.org>
>>>         https://mail.kde.org/mailman/listinfo/digikam-users
>>
>>
>>         _______________________________________________
>>         Digikam-users mailing list
>>         Digikam-users at kde.org <mailto:Digikam-users at kde.org>
>>         https://mail.kde.org/mailman/listinfo/digikam-users
>>
>>
>>
>>     _______________________________________________
>>     Digikam-users mailing list
>>     Digikam-users at kde.org  <mailto:Digikam-users at kde.org>
>>     https://mail.kde.org/mailman/listinfo/digikam-users
>
>
>     _______________________________________________
>     Digikam-users mailing list
>     Digikam-users at kde.org <mailto:Digikam-users at kde.org>
>     https://mail.kde.org/mailman/listinfo/digikam-users
>
>
>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20110823/4f1b48ab/attachment.html>


More information about the Digikam-users mailing list