Problems compiling ImageMagick 6.8.1-9

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
rgs
Posts: 3
Joined: 2013-01-11T08:59:00-07:00
Authentication code: 6789

Problems compiling ImageMagick 6.8.1-9

Post by rgs »

Hello,

we've some problems getting ImageMagick 6.8.1-9 compiled on a Debian Squeeze (amd64) box.

Using the following options for configure:

Code: Select all

./configure --prefix=/usr --mandir=${prefix}/share/man --infodir=${prefix}/share/info \
  --with-gs-font-dir=/usr/share/fonts/type1/gsfonts --with-magick-plus-plus --with-modules=yes --enable-shared \
  --enable-lzw --without-dps --without-fpx --disable-openmp \
  --with-perl-options='INSTALLDIRS=vendor' --x-includes=/usr/include/X11 --x-libraries=/usr/lib/X11
make stops in the PerlMagick directory:

Code: Select all

LD_RUN_PATH="" cc  -L../magick/.libs -lMagickCore-Q16 -shared -O2 -g -L/usr/local/lib -fstack-protector -L/usr/lib/X11 -L/usr/lib Magick.o  -o blib/arch/auto/Image/Magick/Magick.so     \
           -L../magick/.libs -L/usr/lib -lMagickCore -L/usr/X11R6/lib -L/usr/lib -L/usr/lib -llcms -ltiff -lfreetype -ljpeg -lpng -lXext -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm -lpthread       \
          
/usr/bin/ld: cannot find -lMagickCore
collect2: ld returned 1 exit status
make[1]: *** [blib/arch/auto/Image/Magick/Magick.so] Error 1
make[1]: Leaving directory `/usr/src/imagemagick-6.8.1/PerlMagick'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Guess it's this "MAGICK_ABI" string resulting in libraries like "MagickCore-Q16-..." or, reading your manual it's stated that both Image- and PerlMagick need to have the same version though at the FTP the current version available is 6.7.7

Is there anything else we can do to successfully compile ImageMagick (and the Perl extension) ?

Thanks in advance
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Problems compiling ImageMagick 6.8.1-9

Post by magick »

What happens if you manually edit PerlMagick/Makefile and change -lMagickCore to -lMagickCore-Q16?
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Problems compiling ImageMagick 6.8.1-9

Post by broucaries »

please note as debian maintener i am doing sole work in order to get imagemagick multiquantum

try configure --with-perl and make perl-build
Post Reply