FINAL? UPDATE: !!!!!!!!!!!!!!!!! B U I L D I N G D I G I K A M F O R D U M M I E S !!!!!!!!!!!!!!!! on Ubuntu

classic Classic list List threaded Threaded
50 messages Options
123
Reply | Threaded
Open this post in threaded view
|

FINAL? UPDATE: !!!!!!!!!!!!!!!!! B U I L D I N G D I G I K A M F O R D U M M I E S !!!!!!!!!!!!!!!! on Ubuntu

Rinus

  ##########################################################
  START DOWNLOADING TARBALL
  ##########################################################

  Here is your tarball (compressed archive of source code
from the latest official released version)
http://sourceforge.net/projects/digikam/files/digikam


  If it´s downloaded, extract it your user dir (somthing like
       home/my_user_dir)

  Open a terminal window and go to the place where the software
has been extracted. (let´s assume it has been extracted to
home/my_user_dir/digikam-software-compilation)
  If you type pwd at the prompt, you will see where you are,
probably in home/my_user_dir
  type cd digikam-software-compilation

NOTA BENE: Go from here to the start building section

  ##########################################################
  START DOWNLOADING GIT
  ##########################################################
  From git you get the latest source code currently worked on
by the programmers. Although you have latest updates and
bugfixes, you may also have a newly introduced bug, in fact
it is for testing purposes, not officially released yet.

  If git is not already installed, install git:
install from synaptec or:
open console
type:
sudo apt-get install git

  To get the source code on your computer:
cd ~ : to go to your home dir
¨git clone git://anongit.kde.org/digikam-software-compilation
digikam-software-compilation¨

  Now you havw a directory digikam-software-compilation
go there
cd digikam-software-compilation

  if you type:
ls
  you will see in this dir a document called ¨download-repos¨,
this is a runnable PERL script.

  If perl not already is installed, install it from synaptec
or command line.

  Now type:
sudo perl download-repos
  Now the git is cloned to your local dir:
/home/¨your_user_dir¨/digikam-software-compilation

wait while downloading



  ##########################################################
  START BUILDING
  ##########################################################


  now make a directory to put your build files in
type mkdir build
go there by typing:
cd build

  if you do pwd (present working directory)
you see somthing like
/home/my_user_dir/digikam-software-compilation/build

  Make sure the(pre)compiler is installed named ¨gcc¨ and
¨cpp¨ the same for ¨make¨ and ¨cmake¨. You can install it
from package manager like synaptec or from command line.

  If cmake is not installed, now type:
sudo apt-get install cmake
  Now let cmake do it´s work
cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=
`kde4-config --prefix` ..
(mind the ¨space dot dot¨ at the end) and make sure NOT to
use ¨sudo¨ in front of ¨cmake¨.


  Most likely it will complain about missing stuff. like
libkexiv2-dev, libkipi-dev, libkdcraw-dev, etc.
Try to install it from synaptic or in any other way and
retry cmake untill succesful.


  If all went successful
now run:
make

  if done run:
sudo make install
  ################################################################################
  DONE!
  ################################################################################
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: FINAL? UPDATE: !!!!!!!!!!!!!!!!! B U I L D I N G D I G I K A M F O R D U M M I E S !!!!!!!!!!!!!!!! on Ubuntu

Rinus
If someone knows of a nice place within the structure of digikam.org
where I can keep it updated and easy findable and accesible, I would
like to hear about it.
Rinus

Op 24-08-11 16:13, sleepless schreef:

>
>  ##########################################################
>  START DOWNLOADING TARBALL
>  ##########################################################
>
>  Here is your tarball (compressed archive of source code
> from the latest official released version)
> http://sourceforge.net/projects/digikam/files/digikam
>
>
>  If it´s downloaded, extract it your user dir (somthing like
>       home/my_user_dir)
>
>  Open a terminal window and go to the place where the software
> has been extracted. (let´s assume it has been extracted to
> home/my_user_dir/digikam-software-compilation)
>  If you type pwd at the prompt, you will see where you are,
> probably in home/my_user_dir
>  type cd digikam-software-compilation
>
> NOTA BENE: Go from here to the start building section
>
>  ##########################################################
>  START DOWNLOADING GIT
>  ##########################################################
>  From git you get the latest source code currently worked on
> by the programmers. Although you have latest updates and
> bugfixes, you may also have a newly introduced bug, in fact
> it is for testing purposes, not officially released yet.
>
>  If git is not already installed, install git:
> install from synaptec or:
> open console
> type:
> sudo apt-get install git
>
>  To get the source code on your computer:
> cd ~ : to go to your home dir
> ¨git clone git://anongit.kde.org/digikam-software-compilation
> digikam-software-compilation¨
>
>  Now you havw a directory digikam-software-compilation
> go there
> cd digikam-software-compilation
>
>  if you type:
> ls
>  you will see in this dir a document called ¨download-repos¨,
> this is a runnable PERL script.
>
>  If perl not already is installed, install it from synaptec
> or command line.
>
>  Now type:
> sudo perl download-repos
>  Now the git is cloned to your local dir:
> /home/¨your_user_dir¨/digikam-software-compilation
>
> wait while downloading
>
>
>
>  ##########################################################
>  START BUILDING
>  ##########################################################
>
>
>  now make a directory to put your build files in
> type mkdir build
> go there by typing:
> cd build
>
>  if you do pwd (present working directory)
> you see somthing like
> /home/my_user_dir/digikam-software-compilation/build
>
>  Make sure the(pre)compiler is installed named ¨gcc¨ and
> ¨cpp¨ the same for ¨make¨ and ¨cmake¨. You can install it
> from package manager like synaptec or from command line.
>
>  If cmake is not installed, now type:
> sudo apt-get install cmake
>  Now let cmake do it´s work
> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=
> `kde4-config --prefix` ..
> (mind the ¨space dot dot¨ at the end) and make sure NOT to
> use ¨sudo¨ in front of ¨cmake¨.
>
>
>  Most likely it will complain about missing stuff. like
> libkexiv2-dev, libkipi-dev, libkdcraw-dev, etc.
> Try to install it from synaptic or in any other way and
> retry cmake untill succesful.
>
>
>  If all went successful
> now run:
> make
>
>  if done run:
> sudo make install
>  ################################################################################
>
>  DONE!
>  ################################################################################
>
> _______________________________________________
> 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
Reply | Threaded
Open this post in threaded view
|

Re: FINAL? UPDATE: !!!!!!!!!!!!!!!!! B U I L D I N G D I G I K A M F O R D U M M I E S !!!!!!!!!!!!!!!! on Ubuntu

Philip Johnsson
I wouldn't use sudo for anything else than installing packages or
installing the build when its finally built without any errors. For
example not using "sudo perl download-repos" and just using "perl
download-repos" (maybe the only example here but it's a general guide
too).

When you have used the download-repos script to populate the
digikam-software-compilation with digikam source code then to update
use the gits perl script to pull new updates. "perl gits pull" will
pull the recent updates from git into all the parts of
digikam-software-compilation directories and just changes and updates
in code without downloading it all again as you do with clone.

That's just my quick thoughts about these instructions.

/Philip



On Wed, Aug 24, 2011 at 4:16 PM, sleepless <[hidden email]> wrote:

> If someone knows of a nice place within the structure of digikam.org where I
> can keep it updated and easy findable and accesible, I would like to hear
> about it.
> Rinus
>
> Op 24-08-11 16:13, sleepless schreef:
>>
>>  ##########################################################
>>  START DOWNLOADING TARBALL
>>  ##########################################################
>>
>>  Here is your tarball (compressed archive of source code
>> from the latest official released version)
>> http://sourceforge.net/projects/digikam/files/digikam
>>
>>
>>  If it´s downloaded, extract it your user dir (somthing like
>>      home/my_user_dir)
>>
>>  Open a terminal window and go to the place where the software
>> has been extracted. (let´s assume it has been extracted to
>> home/my_user_dir/digikam-software-compilation)
>>  If you type pwd at the prompt, you will see where you are,
>> probably in home/my_user_dir
>>  type cd digikam-software-compilation
>>
>> NOTA BENE: Go from here to the start building section
>>
>>  ##########################################################
>>  START DOWNLOADING GIT
>>  ##########################################################
>>  From git you get the latest source code currently worked on
>> by the programmers. Although you have latest updates and
>> bugfixes, you may also have a newly introduced bug, in fact
>> it is for testing purposes, not officially released yet.
>>
>>  If git is not already installed, install git:
>> install from synaptec or:
>> open console
>> type:
>> sudo apt-get install git
>>
>>  To get the source code on your computer:
>> cd ~ : to go to your home dir
>> ¨git clone git://anongit.kde.org/digikam-software-compilation
>> digikam-software-compilation¨
>>
>>  Now you havw a directory digikam-software-compilation
>> go there
>> cd digikam-software-compilation
>>
>>  if you type:
>> ls
>>  you will see in this dir a document called ¨download-repos¨,
>> this is a runnable PERL script.
>>
>>  If perl not already is installed, install it from synaptec
>> or command line.
>>
>>  Now type:
>> sudo perl download-repos
>>  Now the git is cloned to your local dir:
>> /home/¨your_user_dir¨/digikam-software-compilation
>>
>> wait while downloading
>>
>>
>>
>>  ##########################################################
>>  START BUILDING
>>  ##########################################################
>>
>>
>>  now make a directory to put your build files in
>> type mkdir build
>> go there by typing:
>> cd build
>>
>>  if you do pwd (present working directory)
>> you see somthing like
>> /home/my_user_dir/digikam-software-compilation/build
>>
>>  Make sure the(pre)compiler is installed named ¨gcc¨ and
>> ¨cpp¨ the same for ¨make¨ and ¨cmake¨. You can install it
>> from package manager like synaptec or from command line.
>>
>>  If cmake is not installed, now type:
>> sudo apt-get install cmake
>>  Now let cmake do it´s work
>> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=
>> `kde4-config --prefix` ..
>> (mind the ¨space dot dot¨ at the end) and make sure NOT to
>> use ¨sudo¨ in front of ¨cmake¨.
>>
>>
>>  Most likely it will complain about missing stuff. like
>> libkexiv2-dev, libkipi-dev, libkdcraw-dev, etc.
>> Try to install it from synaptic or in any other way and
>> retry cmake untill succesful.
>>
>>
>>  If all went successful
>> now run:
>> make
>>
>>  if done run:
>> sudo make install
>>
>>  ################################################################################
>>  DONE!
>>
>>  ################################################################################
>> _______________________________________________
>> 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
Reply | Threaded
Open this post in threaded view
|

Re: FINAL? UPDATE: !!!!!!!!!!!!!!!!! B U I L D I N G D I G I K A M F O R D U M M I E S !!!!!!!!!!!!!!!! on Ubuntu

tosca
In reply to this post by Rinus
2011/8/24 sleepless <[hidden email]>:
>  Now let cmake do it´s work
> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=
> `kde4-config --prefix` ..
> (mind the ¨space dot dot¨ at the end) and make sure NOT to
> use ¨sudo¨ in front of ¨cmake¨.
>
>
>  Most likely it will complain about missing stuff. like
> libkexiv2-dev, libkipi-dev, libkdcraw-dev, etc.

Unfortunately, it complains about something else; here is the message I get:

CMake Error at CMakeLists.txt:82 (ADD_SUBDIRECTORY):
  The source directory

    /home/marie-noelle/digikam-software-compilation/doc

  does not contain a CMakeLists.txt file.


-- Configuring incomplete, errors occurred!


So, what now ???

Marie-Noëlle
PS: by the way, thanks for your procedure; I intend to put one for
Fedora in my own wiki once I've completed the whole procedure
http://www.webmaster-en-herbe.net/wiki/doku.php?id=wiki:configuration-2:digikam


--
Une galerie photos, un blog ... pourquoi pas ? Webmaster en herbe

Parcourez les Cévennes à ma façon : Cévennes Plurielles

Et toutes mes autres publications à partir de ma page d'accueil générale
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: FINAL? UPDATE: !!!!!!!!!!!!!!!!! B U I L D I N G D I G I K A M F O R D U M M I E S !!!!!!!!!!!!!!!! on Ubuntu

Philip Johnsson
I guess you missed to populate the digikam source tree with the "perl
download-repos" command and just downloaded
digikam-software-compilation with git clone.

/Philip


On Wed, Aug 24, 2011 at 4:36 PM, Marie-Noëlle Augendre
<[hidden email]> wrote:
> 2011/8/24 sleepless <[hidden email]>:

>
> Unfortunately, it complains about something else; here is the message I get:
>
> CMake Error at CMakeLists.txt:82 (ADD_SUBDIRECTORY):
>  The source directory
>
>    /home/marie-noelle/digikam-software-compilation/doc
>
>  does not contain a CMakeLists.txt file.
>
>
> -- Configuring incomplete, errors occurred!
>
>
> So, what now ???
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: FINAL? UPDATE: !!!!!!!!!!!!!!!!! B U I L D I N G D I G I K A M F O R D U M M I E S !!!!!!!!!!!!!!!! on Ubuntu

jdd@dodin.org
In reply to this post by Rinus
Le 24/08/2011 16:13, sleepless a écrit :

> Here is your tarball (compressed archive of source code
> from the latest official released version)
> http://sourceforge.net/projects/digikam/files/digikam

hello :-)

I will try to do this on openSUSE 11.4. This URL is not a tarball but
a folder.

do you want to speak of 2.0?
http://sourceforge.net/projects/digikam/files/digikam/2.0.0/digikam-2.0.0.tar.bz2 
?

thanks
jdd


--
http://www.dodin.net
http://pizzanetti.fr
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: FINAL? UPDATE: !!!!!!!!!!!!!!!!! B U I L D I N G D I G I K A M F O R D U M M I E S !!!!!!!!!!!!!!!! on Ubuntu

Rinus
In reply to this post by Philip Johnsson
Thank you very much Philip, your input is highly appriciated!
Op 24-08-11 16:34, Philip Johnsson schreef:
> I wouldn't use sudo for anything else than installing packages or
> installing the build when its finally built without any errors. For
> example not using "sudo perl download-repos" and just using "perl
> download-repos" (maybe the only example here but it's a general guide
> too).
I did it again, I did not want to write that, how comes that stupid sudo
in everytime.
> When you have used the download-repos script to populate the
> digikam-software-compilation with digikam source code then to update
> use the gits perl script to pull new updates. "perl gits pull" will
> pull the recent updates from git into all the parts of
> digikam-software-compilation directories and just changes and updates
> in code without downloading it all again as you do with clone.
Very good information, but for now I am not sure how to add this without
scaring dummies to ..
maybe a subsection about updating, iḿ going to think about it

> That's just my quick thoughts about these instructions.
>
> /Philip
>
>
>
> On Wed, Aug 24, 2011 at 4:16 PM, sleepless<[hidden email]>  wrote:
>> If someone knows of a nice place within the structure of digikam.org where I
>> can keep it updated and easy findable and accesible, I would like to hear
>> about it.
>> Rinus
>>
>> Op 24-08-11 16:13, sleepless schreef:
>>>   ##########################################################
>>>   START DOWNLOADING TARBALL
>>>   ##########################################################
>>>
>>>   Here is your tarball (compressed archive of source code
>>> from the latest official released version)
>>> http://sourceforge.net/projects/digikam/files/digikam
>>>
>>>
>>>   If it´s downloaded, extract it your user dir (somthing like
>>>       home/my_user_dir)
>>>
>>>   Open a terminal window and go to the place where the software
>>> has been extracted. (let´s assume it has been extracted to
>>> home/my_user_dir/digikam-software-compilation)
>>>   If you type pwd at the prompt, you will see where you are,
>>> probably in home/my_user_dir
>>>   type cd digikam-software-compilation
>>>
>>> NOTA BENE: Go from here to the start building section
>>>
>>>   ##########################################################
>>>   START DOWNLOADING GIT
>>>   ##########################################################
>>>   From git you get the latest source code currently worked on
>>> by the programmers. Although you have latest updates and
>>> bugfixes, you may also have a newly introduced bug, in fact
>>> it is for testing purposes, not officially released yet.
>>>
>>>   If git is not already installed, install git:
>>> install from synaptec or:
>>> open console
>>> type:
>>> sudo apt-get install git
>>>
>>>   To get the source code on your computer:
>>> cd ~ : to go to your home dir
>>> ¨git clone git://anongit.kde.org/digikam-software-compilation
>>> digikam-software-compilation¨
>>>
>>>   Now you havw a directory digikam-software-compilation
>>> go there
>>> cd digikam-software-compilation
>>>
>>>   if you type:
>>> ls
>>>   you will see in this dir a document called ¨download-repos¨,
>>> this is a runnable PERL script.
>>>
>>>   If perl not already is installed, install it from synaptec
>>> or command line.
>>>
>>>   Now type:
>>> sudo perl download-repos
>>>   Now the git is cloned to your local dir:
>>> /home/¨your_user_dir¨/digikam-software-compilation
>>>
>>> wait while downloading
>>>
>>>
>>>
>>>   ##########################################################
>>>   START BUILDING
>>>   ##########################################################
>>>
>>>
>>>   now make a directory to put your build files in
>>> type mkdir build
>>> go there by typing:
>>> cd build
>>>
>>>   if you do pwd (present working directory)
>>> you see somthing like
>>> /home/my_user_dir/digikam-software-compilation/build
>>>
>>>   Make sure the(pre)compiler is installed named ¨gcc¨ and
>>> ¨cpp¨ the same for ¨make¨ and ¨cmake¨. You can install it
>>> from package manager like synaptec or from command line.
>>>
>>>   If cmake is not installed, now type:
>>> sudo apt-get install cmake
>>>   Now let cmake do it´s work
>>> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=
>>> `kde4-config --prefix` ..
>>> (mind the ¨space dot dot¨ at the end) and make sure NOT to
>>> use ¨sudo¨ in front of ¨cmake¨.
>>>
>>>
>>>   Most likely it will complain about missing stuff. like
>>> libkexiv2-dev, libkipi-dev, libkdcraw-dev, etc.
>>> Try to install it from synaptic or in any other way and
>>> retry cmake untill succesful.
>>>
>>>
>>>   If all went successful
>>> now run:
>>> make
>>>
>>>   if done run:
>>> sudo make install
>>>
>>>   ################################################################################
>>>   DONE!
>>>
>>>   ################################################################################
>>> _______________________________________________
>>> 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
>

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: FINAL? UPDATE: !!!!!!!!!!!!!!!!! B U I L D I N G D I G I K A M F O R D U M M I E S !!!!!!!!!!!!!!!! on Ubuntu

Dan McDaniel
In reply to this post by tosca


On Wed 24.Aug.11 16:36, Marie-Noëlle Augendre wrote:

>2011/8/24 sleepless <[hidden email]>:
>>  Now let cmake do it´s work
>> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=
>> `kde4-config --prefix` ..
>> (mind the ¨space dot dot¨ at the end) and make sure NOT to
>> use ¨sudo¨ in front of ¨cmake¨.
>>
>>
>>  Most likely it will complain about missing stuff. like
>> libkexiv2-dev, libkipi-dev, libkdcraw-dev, etc.
>
>Unfortunately, it complains about something else; here is the message I get:
>
>CMake Error at CMakeLists.txt:82 (ADD_SUBDIRECTORY):
>  The source directory
>
>    /home/marie-noelle/digikam-software-compilation/doc
>
>  does not contain a CMakeLists.txt file.
>
I ran into that as well. Someone pointed out that I needed to do this
before running cmake:

mkdir build
cd build

Dan
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: FINAL? UPDATE: !!!!!!!!!!!!!!!!! B U I L D I N G D I G I K A M F O R D U M M I E S !!!!!!!!!!!!!!!! on Ubuntu

Philip Johnsson
In reply to this post by jdd@dodin.org
On Wed, Aug 24, 2011 at 4:45 PM, jdd <[hidden email]> wrote:
> Le 24/08/2011 16:13, sleepless a écrit :
> I will try to do this on openSUSE 11.4. This URL is not a tarball but a
> folder.
>
> do you want to speak of 2.0?
> http://sourceforge.net/projects/digikam/files/digikam/2.0.0/digikam-2.0.0.tar.bz2
> ?
Yes. Using the latest tarball is more safe than using code from git
that can be temporarily broken, have new bugs or unfinished features
or some other problems with code in state of development. Do not use
git and always think it will be like a walk in the park with no
issues. You better know what you are doing in that case and know how
to clean things up afterwards if you do it and don't want it.

/Philip

>
> thanks
> jdd
>
>
> --
> http://www.dodin.net
> http://pizzanetti.fr
> _______________________________________________
> 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
Reply | Threaded
Open this post in threaded view
|

Re: FINAL? UPDATE: !!!!!!!!!!!!!!!!! B U I L D I N G D I G I K A M F O R D U M M I E S !!!!!!!!!!!!!!!! on Ubuntu

tosca
In reply to this post by Philip Johnsson
Alas, no! I did many times as it kept aborting in the middle of the procedure.
But now it's completed, and if I type the commande one more time, it
doesn't give me back any message.

Marie-Noëlle

2011/8/24 Philip Johnsson <[hidden email]>:

> I guess you missed to populate the digikam source tree with the "perl
> download-repos" command and just downloaded
> digikam-software-compilation with git clone.
>
> /Philip
>
>
> On Wed, Aug 24, 2011 at 4:36 PM, Marie-Noëlle Augendre
> <[hidden email]> wrote:
>> 2011/8/24 sleepless <[hidden email]>:
>
>>
>> Unfortunately, it complains about something else; here is the message I get:
>>
>> CMake Error at CMakeLists.txt:82 (ADD_SUBDIRECTORY):
>>  The source directory
>>
>>    /home/marie-noelle/digikam-software-compilation/doc
>>
>>  does not contain a CMakeLists.txt file.
>>
>>
>> -- Configuring incomplete, errors occurred!
>>
>>
>> So, what now ???
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>



--
Une galerie photos, un blog ... pourquoi pas ? Webmaster en herbe

Parcourez les Cévennes à ma façon : Cévennes Plurielles

Et toutes mes autres publications à partir de ma page d'accueil générale
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: FINAL? UPDATE: !!!!!!!!!!!!!!!!! B U I L D I N G D I G I K A M F O R D U M M I E S !!!!!!!!!!!!!!!! on Ubuntu

Rinus
In reply to this post by jdd@dodin.org
I was pointing to a fo;der where the tarbals reside, because I want not
point to a specific tarball, that would outdate my instructions within a
month. You can choose the latest tarball of the moment, or an older one
if you want.
Rinus
Op 24-08-11 16:45, jdd schreef:

> Le 24/08/2011 16:13, sleepless a écrit :
>
>> Here is your tarball (compressed archive of source code
>> from the latest official released version)
>> http://sourceforge.net/projects/digikam/files/digikam
>
> hello :-)
>
> I will try to do this on openSUSE 11.4. This URL is not a tarball but
> a folder.
>
> do you want to speak of 2.0?
> http://sourceforge.net/projects/digikam/files/digikam/2.0.0/digikam-2.0.0.tar.bz2 
> ?
>
> thanks
> jdd
>
>

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

NEW FINAL? UPDATE: !!!!!!!!!!!!!!!!! B U I L D I N G D I G I K A M F O R D U M M I E S !!!!!!!!!!!!!!!! on Ubuntu

Rinus
In reply to this post by Philip Johnsson

  Building digiKam for dummies on Ubuntu, updated according
the latest, input, feedback and knowledge about the current
process per august 24, 2011

  Folowing this guidlines I was able to build flawless on two
completely different computers.
  Since I can, you can probably too. Needed: At least one half
of a day, certainly if it is your first try, and might take
even longer at a slow computer. A fair amount of persistence
is needed too. However if nothing went wrong the whole
process might be completed within an hour.

  If someone detects an error in the description, please let
me know asap!

  Good luck!

  Rinus

  Probably it is a good practice to deinstall former digikam
installation.

If you want latest digikam from git goto ¨START DOWNLOADING
FROM GIT¨ else start here.
  ##########################################################
  START DOWNLOADING TARBALL
  ##########################################################

  Here is your tarball (compressed archive of source code
from the latest official released version)
http://sourceforge.net/projects/digikam/files/digikam


  If it´s downloaded, extract it your user dir (somthing like
       home/my_user_dir)

  Open a terminal window and go to the place where the software
has been extracted. (let´s assume it has been extracted to
home/my_user_dir/digikam-software-compilation)
  If you type pwd at the prompt, you will see where you are,
probably in home/my_user_dir
  type cd digikam-software-compilation

NOTA BENE: Go from here to the start building section

  ##########################################################
  START DOWNLOADING GIT
  ##########################################################
  From git you get the latest source code currently worked on
by the programmers. Although you have latest updates and
bugfixes, you may also have a newly introduced bug, in fact
it is for testing purposes, not officially released yet.

  If git is not already installed, install git:
install from synaptec or:
open console
type:
sudo apt-get install git

  To get the source code on your computer:
cd ~ : to go to your home dir
¨git clone git://anongit.kde.org/digikam-software-compilation
digikam-software-compilation¨

  Now you havw a directory digikam-software-compilation
go there
cd digikam-software-compilation

  if you type:
ls
  you will see in this dir a document called ¨download-repos¨,
this is a runnable PERL script.

  If perl not already is installed, install it from synaptec
or command line.

  Now type:
perl download-repos
  Now the git is cloned to your local dir:
/home/¨your_user_dir¨/digikam-software-compilation

wait while downloading



  ##########################################################
  START BUILDING
  ##########################################################


  now make a directory to put your build files in
type mkdir build
go there by typing:
cd build

  if you do pwd (present working directory)
you see somthing like
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: FINAL? UPDATE: !!!!!!!!!!!!!!!!! B U I L D I N G D I G I K A M F O R D U M M I E S !!!!!!!!!!!!!!!! on Ubuntu

Rinus
In reply to this post by Philip Johnsson
Op 24-08-11 16:41, Philip Johnsson schreef:

> I guess you missed to populate the digikam source tree with the "perl
> download-repos" command and just downloaded
> digikam-software-compilation with git clone.
>
> /Philip
>
>
> On Wed, Aug 24, 2011 at 4:36 PM, Marie-Noëlle Augendre
> <[hidden email]>  wrote:
>> 2011/8/24 sleepless<[hidden email]>:
>> Unfortunately, it complains about something else; here is the message I get:
>>
>> CMake Error at CMakeLists.txt:82 (ADD_SUBDIRECTORY):
>>   The source directory
>>
>>     /home/marie-noelle/digikam-software-compilation/doc
it should be here:

    /home/marie-noelle/digikam-software-compilation

not here:
    /home/marie-noelle/digikam-software-compilation/doc

are you in the right dir?



>>   does not contain a CMakeLists.txt file.
>>
>>
>> -- Configuring incomplete, errors occurred!
>>
>>
>> So, what now ???
> _______________________________________________
> 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
Reply | Threaded
Open this post in threaded view
|

Re: FINAL? UPDATE: !!!!!!!!!!!!!!!!! B U I L D I N G D I G I K A M F O R D U M M I E S !!!!!!!!!!!!!!!! on Ubuntu

tosca
2011/8/24 sleepless <[hidden email]>:

>> On Wed, Aug 24, 2011 at 4:36 PM, Marie-Noëlle Augendre
>> <[hidden email]>  wrote:
>>>
>>> 2011/8/24 sleepless<[hidden email]>:
>>> Unfortunately, it complains about something else; here is the message I
>>> get:
>>>
>>> CMake Error at CMakeLists.txt:82 (ADD_SUBDIRECTORY):
>>>  The source directory
>>>
>>>    /home/marie-noelle/digikam-software-compilation/doc
>
> it should be here:
>
>   /home/marie-noelle/digikam-software-compilation
>
> not here:
>   /home/marie-noelle/digikam-software-compilation/doc
>
> are you in the right dir?
>

I am in /home/marie-noelle/digikam-software-compilation, as a regular
user (not root) and I'm trying to run this command:
cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config
--prefix` ..

Is it right?

Marie-Noëlle

--
Une galerie photos, un blog ... pourquoi pas ? Webmaster en herbe

Parcourez les Cévennes à ma façon : Cévennes Plurielles

Et toutes mes autres publications à partir de ma page d'accueil générale
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: FINAL? UPDATE: !!!!!!!!!!!!!!!!! B U I L D I N G D I G I K A M F O R D U M M I E S !!!!!!!!!!!!!!!! on Ubuntu

Rinus
Op 24-08-11 17:07, Marie-Noëlle Augendre schreef:

> 2011/8/24 sleepless<[hidden email]>:
>
>>> On Wed, Aug 24, 2011 at 4:36 PM, Marie-Noëlle Augendre
>>> <[hidden email]>    wrote:
>>>> 2011/8/24 sleepless<[hidden email]>:
>>>> Unfortunately, it complains about something else; here is the message I
>>>> get:
>>>>
>>>> CMake Error at CMakeLists.txt:82 (ADD_SUBDIRECTORY):
>>>>   The source directory
>>>>
>>>>     /home/marie-noelle/digikam-software-compilation/doc
>> it should be here:
>>
>>    /home/marie-noelle/digikam-software-compilation
>>
>> not here:
>>    /home/marie-noelle/digikam-software-compilation/doc
>>
>> are you in the right dir?
>>
> I am in /home/marie-noelle/digikam-software-compilation, as a regular
> user (not root) and I'm trying to run this command:
> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config
> --prefix` ..
no, do as dan said, mkdir build and go there cd build and rerun cmake
from there
> Is it right?
>
> Marie-Noëlle
>

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: FINAL? UPDATE: !!!!!!!!!!!!!!!!! B U I L D I N G D I G I K A M F O R D U M M I E S !!!!!!!!!!!!!!!! on Ubuntu

tosca
2011/8/24 sleepless <[hidden email]>:

>> I am in /home/marie-noelle/digikam-software-compilation, as a regular
>> user (not root) and I'm trying to run this command:
>> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config
>> --prefix` ..
>
> no, do as dan said, mkdir build and go there cd build and rerun cmake from
> there
>>
>> Is it right?
>>

The message remains the same when I am in build!

Marie-Noëlle


--
Une galerie photos, un blog ... pourquoi pas ? Webmaster en herbe

Parcourez les Cévennes à ma façon : Cévennes Plurielles

Et toutes mes autres publications à partir de ma page d'accueil générale
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: FINAL? UPDATE: !!!!!!!!!!!!!!!!! B U I L D I N G D I G I K A M F O R D U M M I E S !!!!!!!!!!!!!!!! on Ubuntu

Rinus
Op 24-08-11 17:14, Marie-Noëlle Augendre schreef:

> 2011/8/24 sleepless<[hidden email]>:
>
>>> I am in /home/marie-noelle/digikam-software-compilation, as a regular
>>> user (not root) and I'm trying to run this command:
>>> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config
>>> --prefix` ..
>> no, do as dan said, mkdir build and go there cd build and rerun cmake from
>> there
>>> Is it right?
>>>
> The message remains the same when I am in build!
>
> Marie-Noëlle
>
>
If you open
home/marie-noelle/digikam-software/compilation/CMakeLists.txt in a text
editor, what do you see at line 82
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: FINAL? UPDATE: !!!!!!!!!!!!!!!!! B U I L D I N G D I G I K A M F O R D U M M I E S !!!!!!!!!!!!!!!! on Ubuntu

Rinus
In reply to this post by tosca
even better, does digikam/software-compilation have a subdir called ´doc´
Op 24-08-11 17:14, Marie-Noëlle Augendre schreef:

> 2011/8/24 sleepless<[hidden email]>:
>
>>> I am in /home/marie-noelle/digikam-software-compilation, as a regular
>>> user (not root) and I'm trying to run this command:
>>> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config
>>> --prefix` ..
>> no, do as dan said, mkdir build and go there cd build and rerun cmake from
>> there
>>> Is it right?
>>>
> The message remains the same when I am in build!
>
> Marie-Noëlle
>
>

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: FINAL? UPDATE: !!!!!!!!!!!!!!!!! B U I L D I N G D I G I K A M F O R D U M M I E S !!!!!!!!!!!!!!!! on Ubuntu

Rinus
In reply to this post by tosca
If the directory doc exists and is not empty you should check if you
have permission. maybe it has become root only in the former sudo cmake.

on Ubuntu I should do from console ¨sudo nautilus¨ goto properties and
change permission if needed.
Op 24-08-11 17:14, Marie-Noëlle Augendre schreef:

> 2011/8/24 sleepless<[hidden email]>:
>
>>> I am in /home/marie-noelle/digikam-software-compilation, as a regular
>>> user (not root) and I'm trying to run this command:
>>> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config
>>> --prefix` ..
>> no, do as dan said, mkdir build and go there cd build and rerun cmake from
>> there
>>> Is it right?
>>>
> The message remains the same when I am in build!
>
> Marie-Noëlle
>
>

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: FINAL? UPDATE: !!!!!!!!!!!!!!!!! B U I L D I N G D I G I K A M F O R D U M M I E S !!!!!!!!!!!!!!!! on Ubuntu

Gilles Caulier-4
In reply to this post by Rinus
I can create a digiKam.org account to create and maintain a page with this content, if you want.

Let's me hear

Gilles Caulier

2011/8/24 sleepless <[hidden email]>
If someone knows of a nice place within the structure of digikam.org where I can keep it updated and easy findable and accesible, I would like to hear about it.
Rinus

Op 24-08-11 16:13, sleepless schreef:

 ##########################################################
 START DOWNLOADING TARBALL
 ##########################################################

 Here is your tarball (compressed archive of source code
from the latest official released version)
http://sourceforge.net/projects/digikam/files/digikam


 If it´s downloaded, extract it your user dir (somthing like
     home/my_user_dir)

 Open a terminal window and go to the place where the software
has been extracted. (let´s assume it has been extracted to
home/my_user_dir/digikam-software-compilation)
 If you type pwd at the prompt, you will see where you are,
probably in home/my_user_dir
 type cd digikam-software-compilation

NOTA BENE: Go from here to the start building section

 ##########################################################
 START DOWNLOADING GIT
 ##########################################################
 From git you get the latest source code currently worked on
by the programmers. Although you have latest updates and
bugfixes, you may also have a newly introduced bug, in fact
it is for testing purposes, not officially released yet.

 If git is not already installed, install git:
install from synaptec or:
open console
type:
sudo apt-get install git

 To get the source code on your computer:
cd ~ : to go to your home dir
¨git clone git://anongit.kde.org/digikam-software-compilation
digikam-software-compilation¨

 Now you havw a directory digikam-software-compilation
go there
cd digikam-software-compilation

 if you type:
ls
 you will see in this dir a document called ¨download-repos¨,
this is a runnable PERL script.

 If perl not already is installed, install it from synaptec
or command line.

 Now type:
sudo perl download-repos
 Now the git is cloned to your local dir:
/home/¨your_user_dir¨/digikam-software-compilation

wait while downloading



 ##########################################################
 START BUILDING
 ##########################################################


 now make a directory to put your build files in
type mkdir build
go there by typing:
cd build

 if you do pwd (present working directory)
you see somthing like
/home/my_user_dir/digikam-software-compilation/build

 Make sure the(pre)compiler is installed named ¨gcc¨ and
¨cpp¨ the same for ¨make¨ and ¨cmake¨. You can install it
from package manager like synaptec or from command line.

 If cmake is not installed, now type:
sudo apt-get install cmake
 Now let cmake do it´s work
cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=
`kde4-config --prefix` ..
(mind the ¨space dot dot¨ at the end) and make sure NOT to
use ¨sudo¨ in front of ¨cmake¨.


 Most likely it will complain about missing stuff. like
libkexiv2-dev, libkipi-dev, libkdcraw-dev, etc.
Try to install it from synaptic or in any other way and
retry cmake untill succesful.


 If all went successful
now run:
make

 if done run:
sudo make install
 ################################################################################
 DONE!
 ################################################################################
_______________________________________________
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
123