error when building 6.3.7-3

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
RetroJ
Posts: 108
Joined: 2006-10-25T08:12:50-07:00

error when building 6.3.7-3

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: error when building 6.3.7-3

Post by magick »

Try one of the following:
  • ./configure --without-perl
    make install
or
  • ./configure --enable-shared
    make install
RetroJ
Posts: 108
Joined: 2006-10-25T08:12:50-07:00

Re: error when building 6.3.7-3

Post 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.
Post Reply