Error building from svn.

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

Error building from svn.

Bugzilla from cmaessen@casco.demon.nl
Updating from svn exiv2 (svn 1261), libs (svn 720271) and graphics (svn
720275). The buildprocess for exiv2 goes OK. Building libs halts with
an error:

/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld:
cannot find -lxmpsdk
collect2: ld returned 1 exit status
make[3]: *** [libkexiv2.la] Error 1
make[3]: Leaving directory
`/home/builds/digikam-svn/libs/libkexiv2/libkexiv2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/builds/digikam-svn/libs/libkexiv2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/builds/digikam-svn/libs'
make: *** [all] Error 2

Building libs against a previous version of exiv2 (svn 1239) goes
allright. So something in exiv2 has changed which breaks the digikam
build (again!).

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

Re: Error building from svn.

Gilles Caulier-4
Caspar,

Clean up all Exiv2 and try again

Gilles
 
2007/10/2, Caspar Maessen <[hidden email]>:
Updating from svn exiv2 (svn 1261), libs (svn 720271) and graphics (svn
720275). The buildprocess for exiv2 goes OK. Building libs halts with
an error:

/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld:
cannot find -lxmpsdk
collect2: ld returned 1 exit status
make[3]: *** [libkexiv2.la] Error 1
make[3]: Leaving directory
`/home/builds/digikam-svn/libs/libkexiv2/libkexiv2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/builds/digikam-svn/libs/libkexiv2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/builds/digikam-svn/libs'
make: *** [all] Error 2

Building libs against a previous version of exiv2 (svn 1239) goes
allright. So something in exiv2 has changed which breaks the digikam
build (again!).

Caspar.
_______________________________________________
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: Error building from svn.

Bugzilla from cmaessen@casco.demon.nl
Op woensdag 3 oktober 2007, schreef Gilles Caulier:

  > Clean up all Exiv2 and try again

Did that already. No luck. Leaves me with the same error.


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

Re: Error building from svn.

Gilles Caulier-4
There is no reason. All compile fine here.

When i said clean up, i want mean, to remove all source code in local, and rec-checkout Exiv2 from scratch using svn trunk. Start :

make config; ./configure --prefix="your prefered path"; make

Note than new implementation include now Adobe Xmp sdk as well. no need to import it like before. Also to compile fine Xmp-sdk, you need to install libexpat developement package, else Xmp support will be disable...

For more informations, look README-SDK file

Gilles

2007/10/3, Caspar Maessen <[hidden email]>:
Op woensdag 3 oktober 2007, schreef Gilles Caulier:

  > Clean up all Exiv2 and try again

Did that already. No luck. Leaves me with the same error.


Caspar.
_______________________________________________
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: Error building from svn.

Bugzilla from cmaessen@casco.demon.nl
Op woensdag 3 oktober 2007, schreef Gilles Caulier:

  > When i said clean up, i want mean, to remove all source code in
  > local, and rec-checkout Exiv2 from scratch using svn trunk. Start :
  >
  > make config; ./configure --prefix="your prefered path"; make
This is exactly what I did.

  >
I really don't know what all the messages exactly mean. But apparantly
libxmpsdk hasn't been found. (../ld can't find -lxmpsdk)

According to the README of exiv2/xmpsdk this library must be
available: "Building the XMP Toolkit results in a static library
xmpsdk/lib/libxmpsdk.a."

But this lib wasn't in the mentioned directory. After al lot of
experimenting I found out why.

I am in the habit of running make distclean after compiling and
installing a newly build package. In this case this deletes the created
library.

So this is solved for now and I'm running a freshly build digikam.

But on the other hand I don't think it is right to make the building of
libs dependend of a library that, according to the same README as
mentioned above, "...is not installed on the system and is not meant to
be used as a standalone library. It is only used to build Exiv2."

So I suggest this to be corrected.

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