Development environment

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

Development environment

Leonardo Giordani
Hi all,

I'm trying to get digiKam SVN compiled and (locally) installed while keeping "official" digiKam installed in my system (currently Kubuntu 9.04). While compiling I get the following error

/usr/bin/ld: warning: libkdcraw.so.8, needed by ../../lib/libdigikamcore.so.1.0.0, may conflict with libkdcraw.so.7
/usr/bin/ld: warning: libkexiv2.so.8, needed by ../../lib/libdigikamcore.so.1.0.0, may conflict with libkexiv.so.7

which I think is responsible of the following linking error

Linking CXX shared module ../../../lib/digikamimageplugin_border.so
CMakeFiles/digikamimageplugin_border.dir/border.o: In function `Digikam::DRawDecoding::~DRawDecoding()':                                                                                                         
border.cpp:(.text._ZN7Digikam12DRawDecodingD0Ev[Digikam::DRawDecoding::~DRawDecoding()]+0x81): undefined reference to `KDcrawIface::RawDecodingSettings::~RawDecodingSettings()'                                 
border.cpp:(.text._ZN7Digikam12DRawDecodingD0Ev[Digikam::DRawDecoding::~DRawDecoding()]+0xa9): undefined reference to `KDcrawIface::RawDecodingSettings::~RawDecodingSettings()'
[...]

I would ask you if someone has some advices about setting up a clean development environment: I cannot uninstall conflicting libraries, they can be used by other programs; is it possible to completely ovverride those libraries? Or what if I'm compiling on a machine where I cannot uninstall software? I already compile on a local directory (setting DIGIKAMKDE4=/a/local/path), but I do not know how to "mask" evil installed libraries such as (in this case) libkdcraw.so.7 and libkexiv2.so.7

Thank you in advance

Leonardo


--
Leonardo Giordani

Tele-Rilevamento Europa - T.R.E. s.r.l.
Sensing the planet
Via Vittoria Colonna, 7
20149 Milano - Italia
tel.: +39.02.4343.121
fax: +39.02.4343.1230
e-mail: leonardo.giordani (at) treuropa.com
web: www.treuropa.com

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

Re: Development environment

Bugzilla from mikmach@wp.pl
On Sunday 05 July 2009 12:11:43 Leonardo Giordani wrote:

> Hi all,
>
> I'm trying to get digiKam SVN compiled and (locally) installed while
> keeping "official" digiKam installed in my system (currently Kubuntu 9.04).
> While compiling I get the following error
>
> /usr/bin/ld: warning: libkdcraw.so.8, needed by
> ../../lib/libdigikamcore.so.1.0.0, may conflict with libkdcraw.so.7
> /usr/bin/ld: warning: libkexiv2.so.8, needed by
> ../../lib/libdigikamcore.so.1.0.0, may conflict with libkexiv.so.7
>
> which I think is responsible of the following linking error
>
> Linking CXX shared module ../../../lib/digikamimageplugin_border.so
> CMakeFiles/digikamimageplugin_border.dir/border.o: In function
> `Digikam::DRawDecoding::~DRawDecoding()':
>
> border.cpp:(.text._ZN7Digikam12DRawDecodingD0Ev[Digikam::DRawDecoding::~DRa
>wDecoding()]+0x81): undefined reference to
> `KDcrawIface::RawDecodingSettings::~RawDecodingSettings()'
>
> border.cpp:(.text._ZN7Digikam12DRawDecodingD0Ev[Digikam::DRawDecoding::~DRa
>wDecoding()]+0xa9): undefined reference to
> `KDcrawIface::RawDecodingSettings::~RawDecodingSettings()'
> [...]
>
> I would ask you if someone has some advices about setting up a clean
> development environment: I cannot uninstall conflicting libraries, they can
> be used by other programs; is it possible to completely ovverride those
> libraries?

Sorry but with digiKam this will fail. To compile development version of
digiKam you need the newest as possible (svn version preferred) of exiv2 AND
kexiv2 (from kdegraphics module). Unfortunately it is impossible to get
properly working digiKam with two versions of exiv2 in system.

Note: if you set up all paths - especially those for libraries - all other
programs will find local versions of (k)exiv2 and should work without
problems. Exiv2 you can uninstall by force in package manager - ugly,
unadvised but effective.
 
Bigger problem is with kexiv2 - I don't know I you can compile and install
this part solo, without support from svn version of whole kdegraphics, kdelibs
etc.

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

Re: Development environment

Bugzilla from andi.clemens@gmx.net
Hm actually this is not necessarily true. I'm not using the SVN version of all
the libs and still can compile digiKam.
But sure if you have the libs from KDE 4.1 or less installed, compile might
not work.
But at least KDE 4.2.3 and 4.2.4 packages should work fine.

What's true is that it seems to be impossible to have more then one version of
a lib installed. Either we have bad cmake detection modules, or cmake is not
capable to handle this correctly.

Andi

On Monday 06 July 2009 08:39:16 Mikolaj Machowski wrote:

> On Sunday 05 July 2009 12:11:43 Leonardo Giordani wrote:
> > Hi all,
> >
> > I'm trying to get digiKam SVN compiled and (locally) installed while
> > keeping "official" digiKam installed in my system (currently Kubuntu
> > 9.04). While compiling I get the following error
> >
> > /usr/bin/ld: warning: libkdcraw.so.8, needed by
> > ../../lib/libdigikamcore.so.1.0.0, may conflict with libkdcraw.so.7
> > /usr/bin/ld: warning: libkexiv2.so.8, needed by
> > ../../lib/libdigikamcore.so.1.0.0, may conflict with libkexiv.so.7
> >
> > which I think is responsible of the following linking error
> >
> > Linking CXX shared module ../../../lib/digikamimageplugin_border.so
> > CMakeFiles/digikamimageplugin_border.dir/border.o: In function
> > `Digikam::DRawDecoding::~DRawDecoding()':
> >
> > border.cpp:(.text._ZN7Digikam12DRawDecodingD0Ev[Digikam::DRawDecoding::~D
> >Ra wDecoding()]+0x81): undefined reference to
> > `KDcrawIface::RawDecodingSettings::~RawDecodingSettings()'
> >
> > border.cpp:(.text._ZN7Digikam12DRawDecodingD0Ev[Digikam::DRawDecoding::~D
> >Ra wDecoding()]+0xa9): undefined reference to
> > `KDcrawIface::RawDecodingSettings::~RawDecodingSettings()'
> > [...]
> >
> > I would ask you if someone has some advices about setting up a clean
> > development environment: I cannot uninstall conflicting libraries, they
> > can be used by other programs; is it possible to completely ovverride
> > those libraries?
>
> Sorry but with digiKam this will fail. To compile development version of
> digiKam you need the newest as possible (svn version preferred) of exiv2
> AND kexiv2 (from kdegraphics module). Unfortunately it is impossible to get
> properly working digiKam with two versions of exiv2 in system.
>
> Note: if you set up all paths - especially those for libraries - all other
> programs will find local versions of (k)exiv2 and should work without
> problems. Exiv2 you can uninstall by force in package manager - ugly,
> unadvised but effective.
>
> Bigger problem is with kexiv2 - I don't know I you can compile and install
> this part solo, without support from svn version of whole kdegraphics,
> kdelibs etc.
>
> m.
> _______________________________________________
> 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