PerlMagick 6.8.8-9 build failure

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
kwm
Posts: 11
Joined: 2014-03-04T13:43:03-07:00
Authentication code: 6789

PerlMagick 6.8.8-9 build failure

Post by kwm »

While working on a update for ImageMagick 6.8.0-7 to 6.8.8-9 for FreeBSD I ran into this error in PerlMagick.

The lines below mentioning with "make[7]" are suspicious. The points to make (BSD make) being called, while gmake (GNU make) should be used for building ImageMagick and PerlMagick. So I suspect that the build system doesn't respect the MAKE enviroment value, there seem to be a make hardcoded and PerlMagick doesn't build with BSD make.

I can't find where the make call is coming from (also perl is black magic to me).

---------
  • cd PerlMagick && /usr/local/bin/perl5.16.3 Makefile.PL DESTDIR=/usr/home/kwm/cvs/freebsd/ports/graphics/ImageMagick/work/stage
    Checking if your kit is complete...
    Warning: the following files are missing in your kit:
    t/openjp2/input.pgx
    t/reference/jp2/read_jp2.miff
    t/reference/jp2/read_jpc.miff
    t/reference/jp2/read_pgx.miff
    Please inform the author.
    Warning: -L../magick/.libs changed to -L/usr/home/kwm/cvs/freebsd/ports/graphics/ImageMagick/work/ImageMagick-6.8.8-9/PerlMagick/../magick/.libs
    Note (probably harmless): No library found for -lperl
    Warning: -L../../magick/.libs changed to -L/usr/home/kwm/cvs/freebsd/ports/graphics/ImageMagick/work/ImageMagick-6.8.8-9/PerlMagick/default/../../magick/.libs
    Note (probably harmless): No library found for -lperl
    Writing Makefile for Image::Magick
    Writing MYMETA.yml and MYMETA.json
    Warning: -L../../magick/.libs changed to -L/usr/home/kwm/cvs/freebsd/ports/graphics/ImageMagick/work/ImageMagick-6.8.8-9/PerlMagick/quantum/../../magick/.libs
    Note (probably harmless): No library found for -lperl
    Writing Makefile for Image::Magick::Q16
    Writing MYMETA.yml and MYMETA.json
    Writing Makefile for Image::Magick
    Writing MYMETA.yml and MYMETA.json
    ( cd PerlMagick && gmake CC='cc' && \
    gmake CC='cc' install )
    gmake[6]: Entering directory `/usr/home/kwm/cvs/freebsd/ports/graphics/ImageMagick/work/ImageMagick-6.8.8-9/PerlMagick'
    cp Magick.pm blib/lib/Image/Magick.pm
    AutoSplitting blib/lib/Image/Magick.pm (blib/lib/auto/Image/Magick)
    make[7]: don't know how to make w. Stop

    make[7]: stopped in /usr/home/kwm/cvs/freebsd/ports/graphics/ImageMagick/work/ImageMagick-6.8.8-9/PerlMagick/default
    gmake[6]: *** [subdirs] Error 2
    gmake[6]: Leaving directory `/usr/home/kwm/cvs/freebsd/ports/graphics/ImageMagick/work/ImageMagick-6.8.8-9/PerlMagick'
    gmake[5]: *** [install-exec-perl] Error 2
    gmake[5]: Leaving directory `/usr/home/kwm/cvs/freebsd/ports/graphics/ImageMagick/work/ImageMagick-6.8.8-9'
    gmake[4]: *** [install-am] Error 2
    gmake[4]: Leaving directory `/usr/home/kwm/cvs/freebsd/ports/graphics/ImageMagick/work/ImageMagick-6.8.8-9'
    gmake[3]: *** [install-recursive] Error 1
    gmake[3]: Leaving directory `/usr/home/kwm/cvs/freebsd/ports/graphics/ImageMagick/work/ImageMagick-6.8.8-9'
    gmake[2]: *** [install] Error 2
    gmake[2]: Leaving directory `/usr/home/kwm/cvs/freebsd/ports/graphics/ImageMagick/work/ImageMagick-6.8.8-9'
    *** Error code 2
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: PerlMagick 6.8.8-9 build failure

Post by magick »

Does this work?
  • ./configure MAKE=gmake -with-perl-options='MAKE=gmake'
    make
    make install
kwm
Posts: 11
Joined: 2014-03-04T13:43:03-07:00
Authentication code: 6789

Re: PerlMagick 6.8.8-9 build failure

Post by kwm »

That resolved the problem, thanks!
Post Reply