Page 1 of 1

error when building 6.3.7-3

Posted: 2007-12-09T13:19:25-07:00
by RetroJ
Hi, can someone help me diagnose the following problem? I `./configure' then `make'. Make produces the following error when it gets to the perlmagick compilation.

Code: Select all

make[3]: *** No rule to make target `/usr/lib/libperl.a', needed by `PerlMagick'.  Stop.
make[3]: Leaving directory `/mydoc/src/ImageMagick-6.3.7/PerlMagick'
make[2]: *** [PerlMagick] Error 2
make[2]: Leaving directory `/mydoc/src/ImageMagick-6.3.7/PerlMagick'
make[1]: *** [PerlMagick/PerlMagick] Error 2
make[1]: Leaving directory `/mydoc/src/ImageMagick-6.3.7'
make: *** [all] Error 2
This is on a debian lenny system, and both the perl and libperl (5.8) packages are installed. If I `./configure --with-perl=no' then imagemagick builds and installs fine.

Thank you

Re: error when building 6.3.7-3

Posted: 2007-12-09T13:52:43-07:00
by magick
Try one of the following:
  • ./configure --without-perl
    make install
or
  • ./configure --enable-shared
    make install

Re: error when building 6.3.7-3

Posted: 2007-12-10T12:45:20-07:00
by RetroJ
magick wrote:Try one of the following:
  • ./configure --without-perl
    make install
or
  • ./configure --enable-shared
    make install
Thank you. Both of those ways worked. I'm using PerlMagick so I went with the second way.