[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: [patch] Re: compile problems with filters/krita/magick
From: Brad Hards <bhards () bigpond ! net ! au>
Date: 2003-06-06 11:12:27
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 4 Jun 2003 23:23 pm, Patrick Julien wrote:
> The static library is not used by default, make sure it's available in the
> so.
It wasn't. ImageMagick doesn't build shared objects by default.
However even after I fixed that, there was still a problem. I actually have
two versions of ImageMagick (the one that came with my distro, and the 5.5.6
that I built from source). The problem is that while the configure script
checks for each location to find the right version, the .la gets built with
the first version. In my case, I needed /usr/local/lib, but got /usr/lib.
I am not that familiar with autoconf, but I did manage to come up with a fix
that allowed me to build koffice. See patch. Can this be reviewed and applied
if OK?
Brad
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE+4HccW6pHgIdAuOMRAjz2AKDCuD7rBE5sysnwLIg238MejhkrvgCdGr9p
MjYAS7bxrie1lgalMIgToF4=
=DvOx
-----END PGP SIGNATURE-----
["imagemagick-06062003.patch" (text/x-diff)]
Index: configure.in.in
===================================================================
RCS file: /home/kde/koffice/configure.in.in,v
retrieving revision 1.30
diff -u -3 -p -r1.30 configure.in.in
--- configure.in.in 17 May 2003 20:56:24 -0000 1.30
+++ configure.in.in 6 Jun 2003 11:04:47 -0000
@@ -22,7 +22,7 @@ if test -n "$MAGICK_CONFIG"; then
vers=`$MAGICK_CONFIG --version 2>/dev/null | awk 'BEGIN { FS = "."; } { printf \
"%d", ($1 * 1000 + $2) * 1000 + $3;}'` if test -n "$vers" && test "$vers" -ge \
5005002 then
- LIBMAGICK_LIBS="`$MAGICK_CONFIG --libs`"
+ LIBMAGICK_LIBS="`$MAGICK_CONFIG --ldflags` `$MAGICK_CONFIG --libs`"
LIBMAGICK_RPATH=
for args in $LIBMAGICK_LIBS; do
case $args in
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic