Page 1 of 1

Problems compiling ImageMagick 6.8.1-9

Posted: 2013-01-11T09:08:35-07:00
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

Re: Problems compiling ImageMagick 6.8.1-9

Posted: 2013-01-11T09:28:18-07:00
by magick
What happens if you manually edit PerlMagick/Makefile and change -lMagickCore to -lMagickCore-Q16?

Re: Problems compiling ImageMagick 6.8.1-9

Posted: 2013-01-15T01:56:12-07:00
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