Compiling Issues (my version of the wheel)

classic Classic list List threaded Threaded
23 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Compiling Issues (my version of the wheel)

J Albrecht
Thank-you everybody, for not taking too much offense at my rant. I can see where "Newbie Fatigue" can get quite frustrating for those of you who find this to be a second nature piece of cake. Yes, it will probably do us good to experience similar wounds as the experts had when they jumped through the same flaming barbed wire hoops . The problem for many of us Newbs is that because we don't come from the same Computer World, our wounds can be quite fatal since we don't even know which hoops to jump through. If we're lucky enough we can continue to scour the internet, pickling up bits and pieces of instructions, here and there. Unfortunately, many times, the information is conflicting and we end up in a pit somewhere, unable to climb out and left calling for help.

My problem during my most-recent journey was finding all of the right dependencies. The instructions on the digiKam site were not very clear on this. Yes, links to other relevant pages and text files were there, but there wasn't a single source where all of this information was then aggregated for final consumption. This left me guessing at what I had to do next. Even if some of the dependencies that I uncovered were correct versions, I had no idea where to install them. I think that rather than relating all of the steps along the often-tortuous path that we've taken before finally falling into the pit, it would be so much easier if, right from the start, we had a concise "master map" to follow. Then, if we do something stupid, it would probably be much less frustrating (!) for those volunteers who have successfully navigated these pitfalls to pull us through the rest of the way.

I think that I've finally found such a detailed map: http://www.digikam.org/drupal/download/SvnAlongStable (thank you very much, Mike Hansen!). Since this is Ubuntu-specific rather than the Fedora instructions graciously provided earlier by Christian (thanks again Christian!), I should be able follow it a little easier. I'll go along, step-by-step, and see where it takes me. Hopefully I won't have to bother you all again.

* I now understand that a big part of the problem is Ubuntu's glacial pace at providing updated packages. I also understand that this is why it's necessary to "roll one's own" from a number of individual sources. What I don't understand is why everybody is forced to do this, thus reinventing the wheel. Why, along with the source files, isn't there an option to simply download and install a single tarball with everything already included? Yeah, it's a weanie desire not to want to slog through the quagmire that the initial inventor traversed but, it sure would make life much simpler ;-)

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

Re: Compiling Issues (my version of the wheel)

Mark Greenwood
On Sunday 19 Dec 2010 17:06:08 Hevï Guy wrote:

> Thank-you everybody, for not taking too much offense at my rant. I can
> see where "Newbie Fatigue" can get quite frustrating for those of you
> who find this to be a second nature piece of cake. Yes, it will probably
> do us good to experience similar wounds as the experts had when they
> jumped through the same flaming barbed wire hoops . The problem for many
> of us Newbs is that because we don't come from the same Computer World,
> our wounds can be quite fatal since we don't even know which hoops to
> jump through. If we're lucky enough we can continue to scour the
> internet, pickling up bits and pieces of instructions, here and there.
> Unfortunately, many times, the information is conflicting and we end up
> in a pit somewhere, unable to climb out and left calling for help.
>
> My problem during my most-recent journey was finding all of the right
> dependencies. The instructions on the digiKam site were not very clear
> on this. Yes, links to other relevant pages and text files were there,
> but there wasn't a single source where all of this information was then
> aggregated for final consumption. This left me guessing at what I had to
> do next. Even if some of the dependencies that I uncovered were correct
> versions, I had no idea where to install them. I think that rather than
> relating all of the steps along the often-tortuous path that we've taken
> before finally falling into the pit, it would be so much easier if,
> right from the start, we had a concise "master map" to follow. Then, if
> we do something stupid, it would probably be much less frustrating (!)
> for those volunteers who have successfully navigated these pitfalls to
> pull us through the rest of the way.
>
> I think that I've finally found such a detailed map:
> http://www.digikam.org/drupal/download/SvnAlongStable (thank you very
> much, Mike Hansen!). Since this is Ubuntu-specific rather than the
> Fedora instructions graciously provided earlier by Christian (thanks
> again Christian!), I should be able follow it a little easier. I'll go
> along, step-by-step, and see where it takes me. Hopefully I won't have
> to bother you all again.
>
> * I now understand that a big part of the problem is Ubuntu's glacial
> pace at providing updated packages. I also understand that this is why
> it's necessary to "roll one's own" from a number of individual sources.
> What I don't understand is why everybody is forced to do this, thus
> reinventing the wheel. Why, along with the source files, isn't there an
> option to simply download and install a single tarball with everything
> already included? Yeah, it's a weanie desire not to want to slog through
> the quagmire that the initial inventor traversed but, it sure would make
> life much simpler ;-)

Some hints for Ubuntu users:

sudo apt-get build-dep digikam  (installs all dependencies for building digikam)

apt-get source digikam    (gets the source code for the ubuntu digikam package - easiest thing to do if all you want to do is rebuild it against a new library)
dpkg-buildpackage -rfakeroot -uc -b  (builds the .deb package from the source you just retrieved)

sudo add-apt-repository ppa:philip5/extra
sudo apt-get update
sudo apt-get upgrade      (sets up a repository with, amongst other things, the latest and greatest digikam and kipi-plugins)

All found via Google. Happy holidays ;-)

Mark

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

Re: Compiling Issues (my version of the wheel)

DIL23-2
On Sunday 19 December 2010 17:36:53 Mark Greenwood wrote:

> On Sunday 19 Dec 2010 17:06:08 Hevï Guy wrote:
> > Thank-you everybody, for not taking too much offense at my rant. I can
> > see where "Newbie Fatigue" can get quite frustrating for those of you
> > who find this to be a second nature piece of cake. Yes, it will probably
> > do us good to experience similar wounds as the experts had when they
> > jumped through the same flaming barbed wire hoops . The problem for many
> > of us Newbs is that because we don't come from the same Computer World,
> > our wounds can be quite fatal since we don't even know which hoops to
> > jump through. If we're lucky enough we can continue to scour the
> > internet, pickling up bits and pieces of instructions, here and there.
> > Unfortunately, many times, the information is conflicting and we end up
> > in a pit somewhere, unable to climb out and left calling for help.
> >
> > My problem during my most-recent journey was finding all of the right
> > dependencies. The instructions on the digiKam site were not very clear
> > on this. Yes, links to other relevant pages and text files were there,
> > but there wasn't a single source where all of this information was then
> > aggregated for final consumption. This left me guessing at what I had to
> > do next. Even if some of the dependencies that I uncovered were correct
> > versions, I had no idea where to install them. I think that rather than
> > relating all of the steps along the often-tortuous path that we've taken
> > before finally falling into the pit, it would be so much easier if,
> > right from the start, we had a concise "master map" to follow. Then, if
> > we do something stupid, it would probably be much less frustrating (!)
> > for those volunteers who have successfully navigated these pitfalls to
> > pull us through the rest of the way.
> >
> > I think that I've finally found such a detailed map:
> > http://www.digikam.org/drupal/download/SvnAlongStable (thank you very
> > much, Mike Hansen!). Since this is Ubuntu-specific rather than the
> > Fedora instructions graciously provided earlier by Christian (thanks
> > again Christian!), I should be able follow it a little easier. I'll go
> > along, step-by-step, and see where it takes me. Hopefully I won't have
> > to bother you all again.
> >
> > * I now understand that a big part of the problem is Ubuntu's glacial
> > pace at providing updated packages. I also understand that this is why
> > it's necessary to "roll one's own" from a number of individual sources.
> > What I don't understand is why everybody is forced to do this, thus
> > reinventing the wheel. Why, along with the source files, isn't there an
> > option to simply download and install a single tarball with everything
> > already included? Yeah, it's a weanie desire not to want to slog through
> > the quagmire that the initial inventor traversed but, it sure would make
> > life much simpler ;-)
>
> Some hints for Ubuntu users:
>
> sudo apt-get build-dep digikam  (installs all dependencies for building
> digikam)
>
> apt-get source digikam    (gets the source code for the ubuntu digikam
> package - easiest thing to do if all you want to do is rebuild it against a
> new library) dpkg-buildpackage -rfakeroot -uc -b  (builds the .deb package
> from the source you just retrieved)
>
> sudo add-apt-repository ppa:philip5/extra
> sudo apt-get update
> sudo apt-get upgrade      (sets up a repository with, amongst other things,
> the latest and greatest digikam and kipi-plugins)
>
> All found via Google. Happy holidays ;-)
>
> Mark
>
> > Happy Holidays!
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users

That looks VERY helpful - thank you Mark!

Happy Holidays all :)

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

Re: Compiling Issues (my version of the wheel)

Michael G. Hansen
In reply to this post by J Albrecht
On 12/19/2010 06:06 PM, Hevï Guy wrote:
> I think that I've finally found such a detailed map:
> http://www.digikam.org/drupal/download/SvnAlongStable (thank you very
> much, Mike Hansen!).

Given that these instructions are only editable by people with a
digikam.org account, and that these people don't always try to compile
digikam on a variety of platforms, maybe we should move these
instructions to http://userbase.kde.org/Digikam, where any
user/developer can sign up and contribute, when he finds errors.

Now is the question, how do we care about all the different Linux
distributions? The compilation-instructions (cmake, make, ...) are
mostly the same, it only differs in the way that packages are installed.
So make one set of instructions for each distribution?

Proposed Structure for newbie-friendly compilation instructions for digikam:

Compiling digikam
- General notes
   - Tarballs versus svn checkout
   - CMake flags
   - installation to /usr or /usr/local or $HOME/bin
   - troubleshooting: ask on digikam-user, try newer svn version, what
to include when asking for help (build log)
- Compiling under Ubuntu/Debian
   - General notes about apt-get, repositories, creating packages via
checkinstall, etc
   - Version-specific instructions for Ubuntu X
   - Version-specific instructions for Ubuntu X+1
   - Version-specific instructions for Ubuntu X+2 ...
- Compiling under Fedora
   - General notes about installation of dependencies under Fedora (I
have no idea about that)
   - Version-specific instructions for Fedora X
   - Version-specific instructions for Fedora X+1

What do you think? Anybody willing to start such a document could also
have a look at these pages for inspiration:

http://techbase.kde.org/Getting_Started/Build/KDE4

http://techbase.kde.org/Getting_Started

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

Re: Compiling Issues (my version of the wheel)

J Albrecht
In reply to this post by Mark Greenwood
Thanks Mark. Been there, done that ;-). I was able to successfully install digiKam 1.6.0 from this very PPA a few days ago. The problem is that exiv2 2.1 isn't included. Thus, apparently my only recourse is to build my own.

On Sun, 2010-12-19 at 17:36 +0000, Mark Greenwood wrote:
On Sunday 19 Dec 2010 17:06:08 Hevï Guy wrote:
> Thank-you everybody, for not taking too much offense at my rant. I can
> see where "Newbie Fatigue" can get quite frustrating for those of you
> who find this to be a second nature piece of cake. Yes, it will probably
> do us good to experience similar wounds as the experts had when they
> jumped through the same flaming barbed wire hoops . The problem for many
> of us Newbs is that because we don't come from the same Computer World,
> our wounds can be quite fatal since we don't even know which hoops to
> jump through. If we're lucky enough we can continue to scour the
> internet, pickling up bits and pieces of instructions, here and there.
> Unfortunately, many times, the information is conflicting and we end up
> in a pit somewhere, unable to climb out and left calling for help.
> 
> My problem during my most-recent journey was finding all of the right
> dependencies. The instructions on the digiKam site were not very clear
> on this. Yes, links to other relevant pages and text files were there,
> but there wasn't a single source where all of this information was then
> aggregated for final consumption. This left me guessing at what I had to
> do next. Even if some of the dependencies that I uncovered were correct
> versions, I had no idea where to install them. I think that rather than
> relating all of the steps along the often-tortuous path that we've taken
> before finally falling into the pit, it would be so much easier if,
> right from the start, we had a concise "master map" to follow. Then, if
> we do something stupid, it would probably be much less frustrating (!)
> for those volunteers who have successfully navigated these pitfalls to
> pull us through the rest of the way.
> 
> I think that I've finally found such a detailed map:
> http://www.digikam.org/drupal/download/SvnAlongStable (thank you very
> much, Mike Hansen!). Since this is Ubuntu-specific rather than the
> Fedora instructions graciously provided earlier by Christian (thanks
> again Christian!), I should be able follow it a little easier. I'll go
> along, step-by-step, and see where it takes me. Hopefully I won't have
> to bother you all again. 
> 
> * I now understand that a big part of the problem is Ubuntu's glacial
> pace at providing updated packages. I also understand that this is why
> it's necessary to "roll one's own" from a number of individual sources.
> What I don't understand is why everybody is forced to do this, thus
> reinventing the wheel. Why, along with the source files, isn't there an
> option to simply download and install a single tarball with everything
> already included? Yeah, it's a weanie desire not to want to slog through
> the quagmire that the initial inventor traversed but, it sure would make
> life much simpler ;-)

Some hints for Ubuntu users:

sudo apt-get build-dep digikam  (installs all dependencies for building digikam)

apt-get source digikam    (gets the source code for the ubuntu digikam package - easiest thing to do if all you want to do is rebuild it against a new library)
dpkg-buildpackage -rfakeroot -uc -b  (builds the .deb package from the source you just retrieved)

sudo add-apt-repository ppa:philip5/extra
sudo apt-get update
sudo apt-get upgrade      (sets up a repository with, amongst other things, the latest and greatest digikam and kipi-plugins)

All found via Google. Happy holidays ;-)

Mark

> 
> Happy Holidays! 
> 
_______________________________________________
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: Compiling Issues (my version of the wheel)

Photonoxx
In reply to this post by Mark Greenwood
Le Sun, 19 Dec 2010 18:36:53 +0100, Mark Greenwood  
<[hidden email]> a écrit:

> Some hints for Ubuntu users:
>
> sudo apt-get build-dep digikam  (installs all dependencies for building  
> digikam)
>
> apt-get source digikam    (gets the source code for the ubuntu digikam  
> package - easiest thing to do if all you want to do is rebuild it  
> against a new library)
> dpkg-buildpackage -rfakeroot -uc -b  (builds the .deb package from the  
> source you just retrieved)
>
> sudo add-apt-repository ppa:philip5/extra
> sudo apt-get update
> sudo apt-get upgrade      (sets up a repository with, amongst other  
> things, the latest and greatest digikam and kipi-plugins)
>
> All found via Google. Happy holidays ;-)

Can you confirm you post here two different hint (the one with  
dpkg-buildpackage and the other with PPA).

Inspired by this, I found way simpler way two get evix2 0.20 working with  
Digikam.

At least you have to pass by a compile step, but don't have to compile  
Digikam. May be it's a little late for Hevï Guy...

If more technician could validate this method, it would be nice.

First of all I download exiv2 deb packages from natty repository on  
Launchpad.

I think the needed packages are mostly Libexiv2-9 and libexiv2-dev

https://launchpad.net/ubuntu/natty/+package/libexiv2-9
https://launchpad.net/ubuntu/natty/+package/libexiv2-dev

For each URL you still have to select which published version you need  
(32bits or 64bits ?) and click on the deb link in the new page (under  
"downloadable item...")

With this deb you can install Libexiv2-9 and libexiv2-dev

After that, you just have to recompile you libkexiv2-8 that is used by  
Digikam.

To do that, I make this in an appropriate folder for exemple src:

mkdir src

cd src

sudo apt-get build-dep libkexiv2-8

apt-get source libkexiv2-8

cd kdegraphics[you-version, just look the name of the created folder]

dpkg-buildpackage -rfakeroot -uc -b


This last command take a quite long time because I don't knows how to only  
generate the deb for libkexiv2, and the command line generate packages for  
all the kdegraphics components. but at the end, in the src directory,  
you'll get all the generated deb files.

Now, there just stay to install libkexiv2-8[your-version].deb file.

Double-clicking on it to open software-center give me some trouble. In  
fact, when I click on "reinstall" button, Software-center says Digikam and  
some other software have to be uninstalled to reinstall libkexiv2-8  
package, and so, I decided to install gdebi software and Just have to make  
a right click on libkexiv2-8.*.*.deb and choosing "open with gdebi...",  
and reinstall work without alert.

Launching Digikam give me now exiv 0.20 in component info.

If someone, more expert than me, could confirm there's no matter with this  
way...

--
Nicolas Boulesteix
Photographe chasseur de lueurs
http://www.photonoxx.fr
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Compiling Issues (my version of the wheel)

J Albrecht
Thanks Nicolas.

No, it's not too late for me since I'm still foundering out here.

If I follow your instructions, can I just reload digiKam from the PPA via my Synaptic Update Manager (yup: I feel much more comfortable with a gui)? and then cut'n'paste what you've provided? Seems like this would be almost infinitely easier than what I've been trying to do. Plus, I probably won't have to worry about instability of the latest and greatest digikam svn, right?



On Mon, 2010-12-20 at 16:33 +0100, Photonoxx wrote:
Le Sun, 19 Dec 2010 18:36:53 +0100, Mark Greenwood  
<[hidden email]> a écrit:
> Some hints for Ubuntu users:
>
> sudo apt-get build-dep digikam  (installs all dependencies for building  
> digikam)
>
> apt-get source digikam    (gets the source code for the ubuntu digikam  
> package - easiest thing to do if all you want to do is rebuild it  
> against a new library)
> dpkg-buildpackage -rfakeroot -uc -b  (builds the .deb package from the  
> source you just retrieved)
>
> sudo add-apt-repository ppa:philip5/extra
> sudo apt-get update
> sudo apt-get upgrade      (sets up a repository with, amongst other  
> things, the latest and greatest digikam and kipi-plugins)
>
> All found via Google. Happy holidays ;-)

Can you confirm you post here two different hint (the one with  
dpkg-buildpackage and the other with PPA).

Inspired by this, I found way simpler way two get evix2 0.20 working with  
Digikam.

At least you have to pass by a compile step, but don't have to compile  
Digikam. May be it's a little late for Hevï Guy...

If more technician could validate this method, it would be nice.

First of all I download exiv2 deb packages from natty repository on  
Launchpad.

I think the needed packages are mostly Libexiv2-9 and libexiv2-dev

https://launchpad.net/ubuntu/natty/+package/libexiv2-9
https://launchpad.net/ubuntu/natty/+package/libexiv2-dev

For each URL you still have to select which published version you need  
(32bits or 64bits ?) and click on the deb link in the new page (under  
"downloadable item...")

With this deb you can install Libexiv2-9 and libexiv2-dev

After that, you just have to recompile you libkexiv2-8 that is used by  
Digikam.

To do that, I make this in an appropriate folder for exemple src:

mkdir src

cd src

sudo apt-get build-dep libkexiv2-8

apt-get source libkexiv2-8

cd kdegraphics[you-version, just look the name of the created folder]

dpkg-buildpackage -rfakeroot -uc -b


This last command take a quite long time because I don't knows how to only  
generate the deb for libkexiv2, and the command line generate packages for  
all the kdegraphics components. but at the end, in the src directory,  
you'll get all the generated deb files.

Now, there just stay to install libkexiv2-8[your-version].deb file.

Double-clicking on it to open software-center give me some trouble. In  
fact, when I click on "reinstall" button, Software-center says Digikam and  
some other software have to be uninstalled to reinstall libkexiv2-8  
package, and so, I decided to install gdebi software and Just have to make  
a right click on libkexiv2-8.*.*.deb and choosing "open with gdebi...",  
and reinstall work without alert.

Launching Digikam give me now exiv 0.20 in component info.

If someone, more expert than me, could confirm there's no matter with this  
way...


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

Re: Compiling Issues (still no joy)

J Albrecht
In reply to this post by Photonoxx
In spite of not hearing back from somebody I went ahead and followed these guidelines. At the conclusion of the incredibly longggg build, I opened digiKam and looked at the components. Damn; that infuriatingly buggy exiv2 1.9 was still there X-(

Has anybody else got a suggestion or, is everybody tired of this. I know that I am but, I've got no choice but to go on if I have any hope of getting this program to operate properly. I suppose that I can always boot back into Windoze and run Adobe Bridge, eh? Grrrrr....

I'm sure that there must be a perfectly logical reason for it but, I still don't understand why there isn't a simple deb available with all of the necessary stuff. I mean it the humblest manner possible  when I ask why must everybody have to reinvent the wheel?? It may be fun to some but, for those of us who aren't programmers by trade but are mere butchers, bakers and candle stick makers, it ranks up there with going to the dentist in terms of pleasure factor.




On Mon, 2010-12-20 at 16:33 +0100, Photonoxx wrote:
Le Sun, 19 Dec 2010 18:36:53 +0100, Mark Greenwood  
<[hidden email]> a écrit:
> Some hints for Ubuntu users:
>
> sudo apt-get build-dep digikam  (installs all dependencies for building  
> digikam)
>
> apt-get source digikam    (gets the source code for the ubuntu digikam  
> package - easiest thing to do if all you want to do is rebuild it  
> against a new library)
> dpkg-buildpackage -rfakeroot -uc -b  (builds the .deb package from the  
> source you just retrieved)
>
> sudo add-apt-repository ppa:philip5/extra
> sudo apt-get update
> sudo apt-get upgrade      (sets up a repository with, amongst other  
> things, the latest and greatest digikam and kipi-plugins)
>
> All found via Google. Happy holidays ;-)

Can you confirm you post here two different hint (the one with  
dpkg-buildpackage and the other with PPA).

Inspired by this, I found way simpler way two get evix2 0.20 working with  
Digikam.

At least you have to pass by a compile step, but don't have to compile  
Digikam. May be it's a little late for Hevï Guy...

If more technician could validate this method, it would be nice.

First of all I download exiv2 deb packages from natty repository on  
Launchpad.

I think the needed packages are mostly Libexiv2-9 and libexiv2-dev

https://launchpad.net/ubuntu/natty/+package/libexiv2-9
https://launchpad.net/ubuntu/natty/+package/libexiv2-dev

For each URL you still have to select which published version you need  
(32bits or 64bits ?) and click on the deb link in the new page (under  
"downloadable item...")

With this deb you can install Libexiv2-9 and libexiv2-dev

After that, you just have to recompile you libkexiv2-8 that is used by  
Digikam.

To do that, I make this in an appropriate folder for exemple src:

mkdir src

cd src

sudo apt-get build-dep libkexiv2-8

apt-get source libkexiv2-8

cd kdegraphics[you-version, just look the name of the created folder]

dpkg-buildpackage -rfakeroot -uc -b


This last command take a quite long time because I don't knows how to only  
generate the deb for libkexiv2, and the command line generate packages for  
all the kdegraphics components. but at the end, in the src directory,  
you'll get all the generated deb files.

Now, there just stay to install libkexiv2-8[your-version].deb file.

Double-clicking on it to open software-center give me some trouble. In  
fact, when I click on "reinstall" button, Software-center says Digikam and  
some other software have to be uninstalled to reinstall libkexiv2-8  
package, and so, I decided to install gdebi software and Just have to make  
a right click on libkexiv2-8.*.*.deb and choosing "open with gdebi...",  
and reinstall work without alert.

Launching Digikam give me now exiv 0.20 in component info.

If someone, more expert than me, could confirm there's no matter with this  
way...


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

Re: Compiling Issues (The Eagle has landed!!!)

J Albrecht
Woo hoo!

Since I understand Frenglish as well as I understand Linux ( I say that with all due respect, Nicolas!) I wasn't able to immediately understand that I had to go into the src directory and install the libexiv deb. Eventually, this is exactly what I did. Nicolas, you are a saviour: digiKam is now running with exiv2 .20 ! Merci, merci, merci!

As soon as I wash the blood and gore from myself, set my bones and and suture the wounds, I'll be able to get back out there and take pictures again with my fine D90. Then, hopefully, I won't have to wait 3 moon phases before each download is processed in digiKam as I initially did.

* A great big Thanks to everybody else too, including Michael Hansen, Gert Kello, Christian ? and Mark Greenwood :-) :-)

On Mon, 2010-12-20 at 16:19 -0600, Hevï Guy wrote:
In spite of not hearing back from somebody I went ahead and followed these guidelines. At the conclusion of the incredibly longggg build, I opened digiKam and looked at the components. Damn; that infuriatingly buggy exiv2 1.9 was still there X-(

Has anybody else got a suggestion or, is everybody tired of this. I know that I am but, I've got no choice but to go on if I have any hope of getting this program to operate properly. I suppose that I can always boot back into Windoze and run Adobe Bridge, eh? Grrrrr....

I'm sure that there must be a perfectly logical reason for it but, I still don't understand why there isn't a simple deb available with all of the necessary stuff. I mean it the humblest manner possible  when I ask why must everybody have to reinvent the wheel?? It may be fun to some but, for those of us who aren't programmers by trade but are mere butchers, bakers and candle stick makers, it ranks up there with going to the dentist in terms of pleasure factor.




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

Re: Compiling Issues (still no joy)

Mark Greenwood
In reply to this post by J Albrecht
On Monday 20 Dec 2010 22:19:00 Hevï Guy wrote:

> In spite of not hearing back from somebody I went ahead and followed
> these guidelines. At the conclusion of the incredibly longggg build, I
> opened digiKam and looked at the components. Damn; that infuriatingly
> buggy exiv2 1.9 was still there X-(
>
> Has anybody else got a suggestion or, is everybody tired of this. I know
> that I am but, I've got no choice but to go on if I have any hope of
> getting this program to operate properly. I suppose that I can always
> boot back into Windoze and run Adobe Bridge, eh? Grrrrr....
>
> I'm sure that there must be a perfectly logical reason for it but, I
> still don't understand why there isn't a simple deb available with all
> of the necessary stuff.

You've been unlucky to encounter a bug that seriously affected your ability to work with your computer. Such things are rare even in Linux but most definitely not unheard of. You have the choice to try to fix it yourself, see if someone else has already fixed it, or wait until a new release comes along with a fix in it. I call this the price of free software. At least you get the option to try and fix it yourself.

The way I see it is that in the Windows/Mac world, software is developed, tested, fixed, and (mostly) working before it is released. They're charging money for it after all. What's the release cycle of Windows? One version every 5 years or so. How often does a new Photoshop come out?

Things in Linux change on a month-by-month, sometimes a week-by-week basis. On top of this (apparently) chaotic free for all, distros like Kubuntu try to impose a 6 month release cycle. Unfortunately too, Kubuntu's release cycle doesn't tie in very well with KDE's. On top of that the resources for testing are sparse. Basically, you could well be the first guy to try something. Kubuntu has a policy that once the version of something is set for the release it will not be updated except with minor bugfixes. This policy, many people think, is bananas.

So when a release of Kubuntu comes out, you get a snapshot of what the state of everything was at the time that version of Kubuntu was released. Sometimes it's good, sometimes (9.04) it's truly awful. You've been unlucky to discover one of the bugs that slipped through the net pre-release. If nobody has reported this bug to Kubuntu, or there's nobody there to work on it, or it requires a major update to new versions of libraries, nothing will get done about it. Have you raised it as a bug on launchpad? If not, you can't complain that there's no fix available. Get involved, Linux is a two-way street.

So, the reason a simple deb with all the necessary stuff isn't available is (a) because, probably, nobody has reported it, and (b) because nobody has felt it worthwhile to spend *their own spare time* doing it. As you've found out, it's not simple and it's not fun.

Mark

> I mean it the humblest manner possible  when I
> ask why must everybody have to reinvent the wheel?? It may be fun to
> some but, for those of us who aren't programmers by trade but are mere
> butchers, bakers and candle stick makers, it ranks up there with going
> to the dentist in terms of pleasure factor.
>
>
>
>
> On Mon, 2010-12-20 at 16:33 +0100, Photonoxx wrote:
>
> > Le Sun, 19 Dec 2010 18:36:53 +0100, Mark Greenwood  
> > <[hidden email]> a écrit:
> > > Some hints for Ubuntu users:
> > >
> > > sudo apt-get build-dep digikam  (installs all dependencies for building  
> > > digikam)
> > >
> > > apt-get source digikam    (gets the source code for the ubuntu digikam  
> > > package - easiest thing to do if all you want to do is rebuild it  
> > > against a new library)
> > > dpkg-buildpackage -rfakeroot -uc -b  (builds the .deb package from the  
> > > source you just retrieved)
> > >
> > > sudo add-apt-repository ppa:philip5/extra
> > > sudo apt-get update
> > > sudo apt-get upgrade      (sets up a repository with, amongst other  
> > > things, the latest and greatest digikam and kipi-plugins)
> > >
> > > All found via Google. Happy holidays ;-)
> >
> > Can you confirm you post here two different hint (the one with  
> > dpkg-buildpackage and the other with PPA).
> >
> > Inspired by this, I found way simpler way two get evix2 0.20 working with  
> > Digikam.
> >
> > At least you have to pass by a compile step, but don't have to compile  
> > Digikam. May be it's a little late for Hevï Guy...
> >
> > If more technician could validate this method, it would be nice.
> >
> > First of all I download exiv2 deb packages from natty repository on  
> > Launchpad.
> >
> > I think the needed packages are mostly Libexiv2-9 and libexiv2-dev
> >
> > https://launchpad.net/ubuntu/natty/+package/libexiv2-9
> > https://launchpad.net/ubuntu/natty/+package/libexiv2-dev
> >
> > For each URL you still have to select which published version you need  
> > (32bits or 64bits ?) and click on the deb link in the new page (under  
> > "downloadable item...")
> >
> > With this deb you can install Libexiv2-9 and libexiv2-dev
> >
> > After that, you just have to recompile you libkexiv2-8 that is used by  
> > Digikam.
> >
> > To do that, I make this in an appropriate folder for exemple src:
> >
> > mkdir src
> >
> > cd src
> >
> > sudo apt-get build-dep libkexiv2-8
> >
> > apt-get source libkexiv2-8
> >
> > cd kdegraphics[you-version, just look the name of the created folder]
> >
> > dpkg-buildpackage -rfakeroot -uc -b
> >
> >
> > This last command take a quite long time because I don't knows how to only  
> > generate the deb for libkexiv2, and the command line generate packages for  
> > all the kdegraphics components. but at the end, in the src directory,  
> > you'll get all the generated deb files.
> >
> > Now, there just stay to install libkexiv2-8[your-version].deb file.
> >
> > Double-clicking on it to open software-center give me some trouble. In  
> > fact, when I click on "reinstall" button, Software-center says Digikam and  
> > some other software have to be uninstalled to reinstall libkexiv2-8  
> > package, and so, I decided to install gdebi software and Just have to make  
> > a right click on libkexiv2-8.*.*.deb and choosing "open with gdebi...",  
> > and reinstall work without alert.
> >
> > Launching Digikam give me now exiv 0.20 in component info.
> >
> > If someone, more expert than me, could confirm there's no matter with this  
> > way...
> >
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Compiling Issues (still no joy)

pshute
> -----Original Message-----
> From: Mark Greenwood [mailto:[hidden email]]
> Sent: Tuesday, 21 December 2010 10:27 AM
> To: [hidden email]
> Subject: [Digikam-users] Re: Compiling Issues (still no joy)

> So when a release of Kubuntu comes out, you get a snapshot of
> what the state of everything was at the time that version of
> Kubuntu was released. Sometimes it's good, sometimes (9.04)
> it's truly awful. You've been unlucky to discover one of the
> bugs that slipped through the net pre-release. If nobody has
> reported this bug to Kubuntu, or there's nobody there to work
> on it, or it requires a major update to new versions of
> libraries, nothing will get done about it. Have you raised it
> as a bug on launchpad? If not, you can't complain that
> there's no fix available. Get involved, Linux is a two-way street.
>
> So, the reason a simple deb with all the necessary stuff
> isn't available is (a) because, probably, nobody has reported
> it, and (b) because nobody has felt it worthwhile to spend
> *their own spare time* doing it. As you've found out, it's
> not simple and it's not fun.

This is all very well, but it isn't made clear to users before they install and commit to software. One can spend many hundreds of hours using something like digiKam, only to have it all go wrong one day. That's when users face problems like this, which they aren't qualified to solve, and wouldn't have got involved with if they suspected what was coming.

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

Re: Compiling Issues (still no joy)

Mark Greenwood
On Tuesday 21 Dec 2010 00:16:13 Peter Shute wrote:

> > -----Original Message-----
> > From: Mark Greenwood [mailto:[hidden email]]
> > Sent: Tuesday, 21 December 2010 10:27 AM
> > To: [hidden email]
> > Subject: [Digikam-users] Re: Compiling Issues (still no joy)
>
> > So when a release of Kubuntu comes out, you get a snapshot of
> > what the state of everything was at the time that version of
> > Kubuntu was released. Sometimes it's good, sometimes (9.04)
> > it's truly awful. You've been unlucky to discover one of the
> > bugs that slipped through the net pre-release. If nobody has
> > reported this bug to Kubuntu, or there's nobody there to work
> > on it, or it requires a major update to new versions of
> > libraries, nothing will get done about it. Have you raised it
> > as a bug on launchpad? If not, you can't complain that
> > there's no fix available. Get involved, Linux is a two-way street.
> >
> > So, the reason a simple deb with all the necessary stuff
> > isn't available is (a) because, probably, nobody has reported
> > it, and (b) because nobody has felt it worthwhile to spend
> > *their own spare time* doing it. As you've found out, it's
> > not simple and it's not fun.
>
> This is all very well, but it isn't made clear to users before they install and commit to software.

With respect, it's abundantly clear to anybody who does some research before comitting to a platform to work on. In this specific case, a quick Google of 'Digikam Nikon D90 Ubuntu' brought up plenty of references to the speed problem. Even the most knowledge-less newbie could have drawn some conclusions from that - like maybe not to bother trying Ubuntu.

> One can spend many hundreds of hours using something like digiKam,

Yes, so you surely test and research it well before comitting to it? Would you commit to using some commercial software that costs hundreds without spending a week or two testing a demo version to see if it fitted your needs?

> only to have it all go wrong one day.

Only if you've upgraded blindly and without testing to see if it breaks anything, or backing up so you can roll back if it does. This is basic stuff, something anybody using any OS should be aware of.

> That's when users face problems like this, which they aren't qualified to solve, and wouldn't have got involved with if they suspected what was coming.

I don't mean to sound rude. We make our own decisions and we should make sure they are informed ones, then we won't find ourselves moaning about how things weren't made clear to us.

Mark

>
> Peter Shute
> _______________________________________________
> 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: Compiling Issues (The Eagle has landed!!!)

Photonoxx
In reply to this post by J Albrecht
Hi,

First of all, sorry for the frenglish and a certain amount of typing  
faults (oops). most of the time, I try to staying understandable, but, may  
be, even in french, I've had a tendency to don't give only the essentials  
and being confuse consequently (like now :-b).

In second, happy you solved your matter, but I'm not sure to understand  
the final trouble.

"With this deb you can install Libexiv2-9 and libexiv2-dev"

Effectively, I didn't precise you can >and need to< install them before  
the next steps... ;-) But there's no need to be in the src directory  
before installing this deb files.

At least, things are fixed ! And may be it could be helpful for other  
users.



Le Mon, 20 Dec 2010 23:48:13 +0100, Hevï Guy <[hidden email]> a écrit:

> Woo hoo!
>
> Since I understand Frenglish as well as I understand Linux ( I say that
> with all due respect, Nicolas!) I wasn't able to immediately understand
> that I had to go into the src directory and install the libexiv deb.
> Eventually, this is exactly what I did. Nicolas, you are a saviour:
> digiKam is now running with exiv2 .20 ! Merci, merci, merci!
>
> As soon as I wash the blood and gore from myself, set my bones and and
> suture the wounds, I'll be able to get back out there and take pictures
> again with my fine D90. Then, hopefully, I won't have to wait 3 moon
> phases before each download is processed in digiKam as I initially did.
>
> * A great big Thanks to everybody else too, including Michael Hansen,
> Gert Kello, Christian ? and Mark Greenwood :-) :-)
>
> On Mon, 2010-12-20 at 16:19 -0600, Hevï Guy wrote:
>
>> In spite of not hearing back from somebody I went ahead and followed
>> these guidelines. At the conclusion of the incredibly longggg build, I
>> opened digiKam and looked at the components. Damn; that infuriatingly
>> buggy exiv2 1.9 was still there X-(
>>
>> Has anybody else got a suggestion or, is everybody tired of this. I
>> know that I am but, I've got no choice but to go on if I have any hope
>> of getting this program to operate properly. I suppose that I can
>> always boot back into Windoze and run Adobe Bridge, eh? Grrrrr....
>>
>> I'm sure that there must be a perfectly logical reason for it but, I
>> still don't understand why there isn't a simple deb available with all
>> of the necessary stuff. I mean it the humblest manner possible  when I
>> ask why must everybody have to reinvent the wheel?? It may be fun to
>> some but, for those of us who aren't programmers by trade but are mere
>> butchers, bakers and candle stick makers, it ranks up there with going
>> to the dentist in terms of pleasure factor.
>>
>>
>
>


--
--
Nicolas Boulesteix
Photographe chasseur de lueurs
http://www.photonoxx.fr
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Compiling Issues (The Eagle has landed!!!)

J Albrecht


On Tue, 2010-12-21 at 13:03 +0100, Photonoxx wrote:

In second, happy you solved your matter, but I'm not sure to understand  
the final trouble.

I had thought that this: "dpkg-buildpackage -rfakeroot -uc -b"   was the final step. I didn't realize that it only (apparently) loaded the extra necessary debs into my directory which I I then had to install.

At least, things are fixed ! And may be it could be helpful for other  
users.

I'm sure that, right now, there are indeed others who are frustrated by the same bug but who have been too daunted by the process to attempt a correction. I would be VERY HAPPY to help anybody in this situation. Whereas in no way do I consider myself amongst even those on the lowest rungs of the Linux Wizardry ladder, I understand where my fellow-mortals "are coming from". As such, I think that I'd be able convey some basic guidance phrased in a manner which we can understand. Just so that it wouldn't be a case of the severely sight-impaired leading the blind, I would hope that the Experts would be able to fill in the technical gaps where they are sure to appear.

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

Re: Compiling Issues (still no joy)

J Albrecht
In reply to this post by Mark Greenwood

On Tue, 2010-12-21 at 10:53 +0000, Mark Greenwood wrote:


With respect, it's abundantly clear to anybody who does some research before comitting to a platform to work on. In this specific case, a quick Google of 'Digikam Nikon D90 Ubuntu' brought up plenty of references to the speed problem. Even the most knowledge-less newbie could have drawn some conclusions from that - like maybe not to bother trying Ubuntu.

I don't know about others  but, I certainly didn't forsake widoze for Ubuntu just because I knew digiKam was available here. Discovering the program *after* arriving here was a very pleasant surprise.

> That's when users face problems like this, which they aren't qualified to solve, and wouldn't have got involved with if they suspected what was coming.

I don't mean to sound rude. We make our own decisions and we should make sure they are informed ones, then we won't find ourselves moaning about how things weren't made clear to us.

Here's a Newb perspective:

Some of us are willing to enter into situations which we know are chock full of evil monsters if we also know that there is a worthwhile reward waiting for us at the end. After using digiKam with my simple Point'n'Shoot, I became very impressed by its capabilities. It was only when I finally purchased my Nikon DSLR that I encountered the infuriating exiv2-related problems. Learning that others had successfully overcome these issues was my light at the end of the tunnel. The "moaning" was the result of feeling quite alone in a world where I was unable to speak the language of its residents. I'm sure that the frustration was a two-way street. .With the help of some very generous people here, I was finally able to sort it out.

I suppose that I also find "moaning" to be distasteful. There are a great many proficient Linux users who, I am convinced, feel that this is no place at all for Windoze- refugee Newbs. I often see such moaning in response to very-basic-to-you but major-to-us questions. Indeed, often the responses are disdainful and sometimes even rude. It seems that the only reason for them to even reply to a question is to throw their superiority into the face of the under dogs Luckily, just like in any society, those bullies rank in the minority.

Thank-you again to everybody who showed patience and understanding during this process :-)
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Compiling Issues (still no joy)

pshute
In reply to this post by Mark Greenwood
> -----Original Message-----
> From: Mark Greenwood [mailto:[hidden email]]
> Sent: Tuesday, 21 December 2010 9:54 PM
> To: digiKam - Home Manage your photographs as a professional
> with the power of open source
> Subject: [Digikam-users] Re: Compiling Issues (still no joy)

> > > So, the reason a simple deb with all the necessary stuff
> > > isn't available is (a) because, probably, nobody has reported
> > > it, and (b) because nobody has felt it worthwhile to spend
> > > *their own spare time* doing it. As you've found out, it's
> > > not simple and it's not fun.
> >
> > This is all very well, but it isn't made clear to users
> before they install and commit to software.
>
> With respect, it's abundantly clear to anybody who does some
> research before comitting to a platform to work on. In this
> specific case, a quick Google of 'Digikam Nikon D90 Ubuntu'
> brought up plenty of references to the speed problem. Even
> the most knowledge-less newbie could have drawn some
> conclusions from that - like maybe not to bother trying Ubuntu.
>
> > One can spend many hundreds of hours using something like digiKam,
>
> Yes, so you surely test and research it well before comitting
> to it? Would you commit to using some commercial software
> that costs hundreds without spending a week or two testing a
> demo version to see if it fitted your needs?
>
> > only to have it all go wrong one day.
>
> Only if you've upgraded blindly and without testing to see if
> it breaks anything, or backing up so you can roll back if it
> does. This is basic stuff, something anybody using any OS
> should be aware of.

In my case, which is perhaps a bad example because I was using the Windows version, I gave it what I thought was a fairly systematic and thorough testing. But it turned out that I had started using it just after that version became available with that install package. As the months went by and I discovered little problems, I was being told to upgrade, but no upgrade package was available. I would have loved to have kept using it, and to help the project by submitting bug reports, etc, but one can't do that effectively when one is stuck many versions behind the latest. I had made the mistake of assuming that I would be able to get hold of new releases.

I compiled it myself a couple of times, with a lot of help, but couldn't keep up, so I migrated to Lightroom.

I was very pleased that I was able to find ways of doing that without losing any ratings or tags, etc. I didn't actually become unproductive at any stage, or lose any work, but I could tell it was time to get out. I don't see how I could have predicted that outcome any earlier with any amount of testing.

I have used enough open source stuff to know to be cautious about trusting it. People are put off trying a lot of open source programs for the sheer difficulty of finding out what they actually do, let alone how to use them, but digiKam is a little unusual in that there is a lot of very good documentation for it. Therefore, I suspect, it attracts a few more users than normal who don't have the skills required to compile it, etc.

It is an excellent program, but distribution of new releases seem to be one of its weak points. It probably goes against the grain, but perhaps these undeniable difficulties should be pointed out on the FAQ or download page of the website. If these difficulties apply more to some distributions than others, I'm sure many people would appreciate knowing that.
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Clean reinstall of Ubuntu 10.10 = Digikam with exiv2 .19 ARRRGGGGHHHH...!

J Albrecht
In reply to this post by Photonoxx
Hy everybody, I'm back at Square One: DigiKam 1.8 runs with exiv2 .19 and my Nikon cringes when it gets near the computer.

I have to compile my own DigiKam once again. Can't do it. Nope, nyet, nada, nein, non.

Yeah, I've tried to follow the instructions so graciously provided to me in December. However, this doesn't give me any joy whatsoever. The links in the earlier instructions are now dead ends. For example, I can't find the libexiv2 debs. Can somebody hold my hand and take me through this morass once again, please?

* I've learned that DigiKam is very well-known for two things: The excellent functionality of the program and, the non user-friendly horrendous hoops of blazing fire that people must jump through in order to compile it and its many dependencies. My contemporaries and I anxiously await the day that some decent, full compiling instructions along with current links will finally be made available.

On Mon, 2010-12-20 at 16:33 +0100, Photonoxx wrote:
Le Sun, 19 Dec 2010 18:36:53 +0100, Mark Greenwood  
<[hidden email]> a écrit:
> Some hints for Ubuntu users:
>
> sudo apt-get build-dep digikam  (installs all dependencies for building  
> digikam)
>
> apt-get source digikam    (gets the source code for the ubuntu digikam  
> package - easiest thing to do if all you want to do is rebuild it  
> against a new library)
> dpkg-buildpackage -rfakeroot -uc -b  (builds the .deb package from the  
> source you just retrieved)
>
> sudo add-apt-repository ppa:philip5/extra
> sudo apt-get update
> sudo apt-get upgrade      (sets up a repository with, amongst other  
> things, the latest and greatest digikam and kipi-plugins)
>
> All found via Google. Happy holidays ;-)

Can you confirm you post here two different hint (the one with  
dpkg-buildpackage and the other with PPA).

Inspired by this, I found way simpler way two get evix2 0.20 working with  
Digikam.

At least you have to pass by a compile step, but don't have to compile  
Digikam. May be it's a little late for Hevï Guy...

If more technician could validate this method, it would be nice.

First of all I download exiv2 deb packages from natty repository on  
Launchpad.

I think the needed packages are mostly Libexiv2-9 and libexiv2-dev

https://launchpad.net/ubuntu/natty/+package/libexiv2-9
https://launchpad.net/ubuntu/natty/+package/libexiv2-dev

For each URL you still have to select which published version you need  
(32bits or 64bits ?) and click on the deb link in the new page (under  
"downloadable item...")

With this deb you can install Libexiv2-9 and libexiv2-dev

After that, you just have to recompile you libkexiv2-8 that is used by  
Digikam.

To do that, I make this in an appropriate folder for exemple src:

mkdir src

cd src

sudo apt-get build-dep libkexiv2-8

apt-get source libkexiv2-8

cd kdegraphics[you-version, just look the name of the created folder]

dpkg-buildpackage -rfakeroot -uc -b


This last command take a quite long time because I don't knows how to only  
generate the deb for libkexiv2, and the command line generate packages for  
all the kdegraphics components. but at the end, in the src directory,  
you'll get all the generated deb files.

Now, there just stay to install libkexiv2-8[your-version].deb file.

Double-clicking on it to open software-center give me some trouble. In  
fact, when I click on "reinstall" button, Software-center says Digikam and  
some other software have to be uninstalled to reinstall libkexiv2-8  
package, and so, I decided to install gdebi software and Just have to make  
a right click on libkexiv2-8.*.*.deb and choosing "open with gdebi...",  
and reinstall work without alert.

Launching Digikam give me now exiv 0.20 in component info.

If someone, more expert than me, could confirm there's no matter with this  
way...


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

Re: Clean reinstall of Ubuntu 10.10 = Digikam with exiv2 .19 ARRRGGGGHHHH...!

Erick Moreno
Hi Hevï,

I don't know why but i think that you are using Ubuntu. To solve your problem, try to install ubuntu 1.9.0 from this ppa repository:

sudo add-apt-repository ppa:philip5/kde44
sudo apt-get update
sudo apt-get install digikam

After that, try to install the 0.21 libexiv2 from the .deb provided by this site

https://launchpad.net/ubuntu/+source/exiv2

I think that this will work as a charm to you.

Cheers
Erick Moreno

On Wed, Mar 2, 2011 at 12:50 AM, Hevï Guy <[hidden email]> wrote:
Hy everybody, I'm back at Square One: DigiKam 1.8 runs with exiv2 .19 and my Nikon cringes when it gets near the computer.

I have to compile my own DigiKam once again. Can't do it. Nope, nyet, nada, nein, non.

Yeah, I've tried to follow the instructions so graciously provided to me in December. However, this doesn't give me any joy whatsoever. The links in the earlier instructions are now dead ends. For example, I can't find the libexiv2 debs. Can somebody hold my hand and take me through this morass once again, please?

* I've learned that DigiKam is very well-known for two things: The excellent functionality of the program and, the non user-friendly horrendous hoops of blazing fire that people must jump through in order to compile it and its many dependencies. My contemporaries and I anxiously await the day that some decent, full compiling instructions along with current links will finally be made available.

On Mon, 2010-12-20 at 16:33 +0100, Photonoxx wrote:
Le Sun, 19 Dec 2010 18:36:53 +0100, Mark Greenwood  
<[hidden email]> a écrit:
> Some hints for Ubuntu users:
>
> sudo apt-get build-dep digikam  (installs all dependencies for building  
> digikam)
>
> apt-get source digikam    (gets the source code for the ubuntu digikam  
> package - easiest thing to do if all you want to do is rebuild it  
> against a new library)
> dpkg-buildpackage -rfakeroot -uc -b  (builds the .deb package from the  
> source you just retrieved)
>
> sudo add-apt-repository ppa:philip5/extra
> sudo apt-get update
> sudo apt-get upgrade      (sets up a repository with, amongst other  
> things, the latest and greatest digikam and kipi-plugins)
>
> All found via Google. Happy holidays ;-)

Can you confirm you post here two different hint (the one with  
dpkg-buildpackage and the other with PPA).

Inspired by this, I found way simpler way two get evix2 0.20 working with  
Digikam.

At least you have to pass by a compile step, but don't have to compile  
Digikam. May be it's a little late for Hevï Guy...

If more technician could validate this method, it would be nice.

First of all I download exiv2 deb packages from natty repository on  
Launchpad.

I think the needed packages are mostly Libexiv2-9 and libexiv2-dev

https://launchpad.net/ubuntu/natty/+package/libexiv2-9
https://launchpad.net/ubuntu/natty/+package/libexiv2-dev

For each URL you still have to select which published version you need  
(32bits or 64bits ?) and click on the deb link in the new page (under  
"downloadable item...")

With this deb you can install Libexiv2-9 and libexiv2-dev

After that, you just have to recompile you libkexiv2-8 that is used by  
Digikam.

To do that, I make this in an appropriate folder for exemple src:

mkdir src

cd src

sudo apt-get build-dep libkexiv2-8

apt-get source libkexiv2-8

cd kdegraphics[you-version, just look the name of the created folder]

dpkg-buildpackage -rfakeroot -uc -b


This last command take a quite long time because I don't knows how to only  
generate the deb for libkexiv2, and the command line generate packages for  
all the kdegraphics components. but at the end, in the src directory,  
you'll get all the generated deb files.

Now, there just stay to install libkexiv2-8[your-version].deb file.

Double-clicking on it to open software-center give me some trouble. In  
fact, when I click on "reinstall" button, Software-center says Digikam and  
some other software have to be uninstalled to reinstall libkexiv2-8  
package, and so, I decided to install gdebi software and Just have to make  
a right click on libkexiv2-8.*.*.deb and choosing "open with gdebi...",  
and reinstall work without alert.

Launching Digikam give me now exiv 0.20 in component info.

If someone, more expert than me, could confirm there's no matter with this  
way...


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users




--
Erick Moreno
http://flavors.me/erickmoreno


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

Re: Clean reinstall of Ubuntu 10.10 = Digikam with exiv2 .19 ARRRGGGGHHHH...!

J Albrecht
Hello Erick,

Thanks! Is it really this simple? I mean, don't I have to issue some strange (to me) commands to get DigiKam using the new exiv2 file after installing both. Seems to me that with the following instructions, DigiKam will continue to use the outdated (and faulty) exiv2 that comes from the Ubuntu repository. If I'm wrong, I'll quickly do this so that I can stop using Shotwell and get back to DigiKam!

On Wed, 2011-03-02 at 09:04 -0300, Erick Moreno wrote:
Hi Hevï,

I don't know why but i think that you are using Ubuntu. To solve your problem, try to install ubuntu 1.9.0 from this ppa repository:

sudo add-apt-repository ppa:philip5/kde44
sudo apt-get update
sudo apt-get install digikam

After that, try to install the 0.21 libexiv2 from the .deb provided by this site

https://launchpad.net/ubuntu/+source/exiv2

I think that this will work as a charm to you.

Cheers
Erick Moreno

On Wed, Mar 2, 2011 at 12:50 AM, Hevï Guy <[hidden email]> wrote:
Hy everybody, I'm back at Square One: DigiKam 1.8 runs with exiv2 .19 and my Nikon cringes when it gets near the computer.

I have to compile my own DigiKam once again. Can't do it. Nope, nyet, nada, nein, non.

Yeah, I've tried to follow the instructions so graciously provided to me in December. However, this doesn't give me any joy whatsoever. The links in the earlier instructions are now dead ends. For example, I can't find the libexiv2 debs. Can somebody hold my hand and take me through this morass once again, please?

* I've learned that DigiKam is very well-known for two things: The excellent functionality of the program and, the non user-friendly horrendous hoops of blazing fire that people must jump through in order to compile it and its many dependencies. My contemporaries and I anxiously await the day that some decent, full compiling instructions along with current links will finally be made available.

On Mon, 2010-12-20 at 16:33 +0100, Photonoxx wrote:
Le Sun, 19 Dec 2010 18:36:53 +0100, Mark Greenwood  
<[hidden email]> a écrit:
> Some hints for Ubuntu users:
>
> sudo apt-get build-dep digikam  (installs all dependencies for building  
> digikam)
>
> apt-get source digikam    (gets the source code for the ubuntu digikam  
> package - easiest thing to do if all you want to do is rebuild it  
> against a new library)
> dpkg-buildpackage -rfakeroot -uc -b  (builds the .deb package from the  
> source you just retrieved)
>
> sudo add-apt-repository ppa:philip5/extra
> sudo apt-get update
> sudo apt-get upgrade      (sets up a repository with, amongst other  
> things, the latest and greatest digikam and kipi-plugins)
>
> All found via Google. Happy holidays ;-)

Can you confirm you post here two different hint (the one with  
dpkg-buildpackage and the other with PPA).

Inspired by this, I found way simpler way two get evix2 0.20 working with  
Digikam.

At least you have to pass by a compile step, but don't have to compile  
Digikam. May be it's a little late for Hevï Guy...

If more technician could validate this method, it would be nice.

First of all I download exiv2 deb packages from natty repository on  
Launchpad.

I think the needed packages are mostly Libexiv2-9 and libexiv2-dev

https://launchpad.net/ubuntu/natty/+package/libexiv2-9
https://launchpad.net/ubuntu/natty/+package/libexiv2-dev

For each URL you still have to select which published version you need  
(32bits or 64bits ?) and click on the deb link in the new page (under  
"downloadable item...")

With this deb you can install Libexiv2-9 and libexiv2-dev

After that, you just have to recompile you libkexiv2-8 that is used by  
Digikam.

To do that, I make this in an appropriate folder for exemple src:

mkdir src

cd src

sudo apt-get build-dep libkexiv2-8

apt-get source libkexiv2-8

cd kdegraphics[you-version, just look the name of the created folder]

dpkg-buildpackage -rfakeroot -uc -b


This last command take a quite long time because I don't knows how to only  
generate the deb for libkexiv2, and the command line generate packages for  
all the kdegraphics components. but at the end, in the src directory,  
you'll get all the generated deb files.

Now, there just stay to install libkexiv2-8[your-version].deb file.

Double-clicking on it to open software-center give me some trouble. In  
fact, when I click on "reinstall" button, Software-center says Digikam and  
some other software have to be uninstalled to reinstall libkexiv2-8  
package, and so, I decided to install gdebi software and Just have to make  
a right click on libkexiv2-8.*.*.deb and choosing "open with gdebi...",  
and reinstall work without alert.

Launching Digikam give me now exiv 0.20 in component info.

If someone, more expert than me, could confirm there's no matter with this  
way...


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users




--
Erick Moreno
http://flavors.me/erickmoreno


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

Re: Clean reinstall of Ubuntu 10.10 = Digikam with exiv2 .19 ARRRGGGGHHHH...!

Philip Johnsson
Just to clear things out.

My "kde44" PPA is no more. So that one is a dead end.

If you use Ubuntu 10.10 (Maverick) then just use my "extra" PPA with Digikam
that is compiled against KDE 4.5.x. If you use the KDE 4.6.x packages that are
provided in the PPA by the Kubuntu team then use my "kubuntu-backports" PPA
for Digikam built against that (might also need my "extra" PPA).

Have a look at ALL the content in my "extra" PPA and make sure if you want all
of what could be updated or if you just want parts of it. Deactivate my PPA
after a Digikam update if you want to controll what gets updated.

I haven't done it so far but I could upload the latest exiv2 and build Digikam
against that instead if there are problems with the one comming with Ubuntu
10.10. I have no camera that really use it so I haven't noticed any problems
with exiv2.

Happy digikaming!

Regards,

Philip


On Wednesday 02 March 2011 15.19.31 Hevï Guy wrote:

> Hello Erick,
>
> Thanks! Is it really this simple? I mean, don't I have to issue some
> strange (to me) commands to get DigiKam using the new exiv2 file after
> installing both. Seems to me that with the following instructions,
> DigiKam will continue to use the outdated (and faulty) exiv2 that comes
> from the Ubuntu repository. If I'm wrong, I'll quickly do this so that I
> can stop using Shotwell and get back to DigiKam!
>
> On Wed, 2011-03-02 at 09:04 -0300, Erick Moreno wrote:
> > Hi Hevï,
> >
> > I don't know why but i think that you are using Ubuntu. To solve your
> > problem, try to install ubuntu 1.9.0 from this ppa repository:
> >
> > sudo add-apt-repository ppa:philip5/kde44
> > sudo apt-get update
> > sudo apt-get install digikam
> >
> > After that, try to install the 0.21 libexiv2 from the .deb provided
> > by this site
> >
> > https://launchpad.net/ubuntu/+source/exiv2
> >
> > I think that this will work as a charm to you.
> >
> > Cheers
> > Erick Moreno
> >
> > On Wed, Mar 2, 2011 at 12:50 AM, Hevï Guy <[hidden email]> wrote:
> >         Hy everybody, I'm back at Square One: DigiKam 1.8 runs with
> >         exiv2 .19 and my Nikon cringes when it gets near the
> >         computer.
> >        
> >         I have to compile my own DigiKam once again. Can't do it.
> >         Nope, nyet, nada, nein, non.
> >        
> >         Yeah, I've tried to follow the instructions so graciously
> >         provided to me in December. However, this doesn't give me any
> >         joy whatsoever. The links in the earlier instructions are now
> >         dead ends. For example, I can't find the libexiv2 debs. Can
> >         somebody hold my hand and take me through this morass once
> >         again, please?
> >        
> >         * I've learned that DigiKam is very well-known for two things:
> >         The excellent functionality of the program and, the non
> >         user-friendly horrendous hoops of blazing fire that people
> >         must jump through in order to compile it and its many
> >         dependencies. My contemporaries and I anxiously await the day
> >         that some decent, full compiling instructions along with
> >         current links will finally be made available.
> >        
> >         On Mon, 2010-12-20 at 16:33 +0100, Photonoxx wrote:
> >         > Le Sun, 19 Dec 2010 18:36:53 +0100, Mark Greenwood
> >         >
> >         > <[hidden email]> a écrit:
> >         > > Some hints for Ubuntu users:
> >         > >
> >         > > sudo apt-get build-dep digikam  (installs all dependencies
> >         > > for building digikam)
> >         > >
> >         > > apt-get source digikam    (gets the source code for the
> >         > > ubuntu digikam package - easiest thing to do if all you want
> >         > > to do is rebuild it against a new library)
> >         > > dpkg-buildpackage -rfakeroot -uc -b  (builds the .deb package
> >         > > from the source you just retrieved)
> >         > >
> >         > > sudo add-apt-repository ppa:philip5/extra
> >         > > sudo apt-get update
> >         > > sudo apt-get upgrade      (sets up a repository with, amongst
> >         > > other things, the latest and greatest digikam and
> >         > > kipi-plugins)
> >         > >
> >         > > All found via Google. Happy holidays ;-)
> >         >
> >         > Can you confirm you post here two different hint (the one with
> >         > dpkg-buildpackage and the other with PPA).
> >         >
> >         > Inspired by this, I found way simpler way two get evix2 0.20
> >         > working with Digikam.
> >         >
> >         > At least you have to pass by a compile step, but don't have to
> >         > compile Digikam. May be it's a little late for Hevï Guy...
> >         >
> >         > If more technician could validate this method, it would be
> >         > nice.
> >         >
> >         > First of all I download exiv2 deb packages from natty
> >         > repository on Launchpad.
> >         >
> >         > I think the needed packages are mostly Libexiv2-9 and
> >         > libexiv2-dev
> >         >
> >         > https://launchpad.net/ubuntu/natty/+package/libexiv2-9
> >         > https://launchpad.net/ubuntu/natty/+package/libexiv2-dev
> >         >
> >         > For each URL you still have to select which published version
> >         > you need (32bits or 64bits ?) and click on the deb link in the
> >         > new page (under "downloadable item...")
> >         >
> >         > With this deb you can install Libexiv2-9 and libexiv2-dev
> >         >
> >         > After that, you just have to recompile you libkexiv2-8 that is
> >         > used by Digikam.
> >         >
> >         > To do that, I make this in an appropriate folder for exemple
> >         > src:
> >         >
> >         > mkdir src
> >         >
> >         > cd src
> >         >
> >         > sudo apt-get build-dep libkexiv2-8
> >         >
> >         > apt-get source libkexiv2-8
> >         >
> >         > cd kdegraphics[you-version, just look the name of the created
> >         > folder]
> >         >
> >         > dpkg-buildpackage -rfakeroot -uc -b
> >         >
> >         >
> >         > This last command take a quite long time because I don't knows
> >         > how to only generate the deb for libkexiv2, and the command
> >         > line generate packages for all the kdegraphics components. but
> >         > at the end, in the src directory, you'll get all the generated
> >         > deb files.
> >         >
> >         > Now, there just stay to install libkexiv2-8[your-version].deb
> >         > file.
> >         >
> >         > Double-clicking on it to open software-center give me some
> >         > trouble. In fact, when I click on "reinstall" button,
> >         > Software-center says Digikam and some other software have to
> >         > be uninstalled to reinstall libkexiv2-8 package, and so, I
> >         > decided to install gdebi software and Just have to make a
> >         > right click on libkexiv2-8.*.*.deb and choosing "open with
> >         > gdebi...", and reinstall work without alert.
> >         >
> >         > Launching Digikam give me now exiv 0.20 in component info.
> >         >
> >         > If someone, more expert than me, could confirm there's no
> >         > matter with this way...
> >        
> >         _______________________________________________
> >         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
12