SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict jamesbond's Avatar
    Join Date
    Feb 2001
    Location
    The Netherlands
    Posts
    256
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    imagemagick install error

    I tried installing imagemagick 5.3.8 on a freebsd server (hostpro freedom) but when doing 'make install' I get the the following error :

    ---------------------------------------------------
    Writing Makefile.aperl for Image::Magick
    make -f Makefile.aperl PerlMagick
    Writing ./perlmain.c
    Can't locate ExtUtils/Miniperl.pm in @INC (@INC contains: blib/arch blib/lib /us
    r/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/libdata/perl/5.00503/
    mach /usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd
    /usr/local/lib/perl5/site_perl/5.005 .).
    BEGIN failed--compilation aborted.
    *** Error code 2

    Stop in /usr/local/ImageMagick-5.3.8/PerlMagick.
    *** Error code 1

    Stop in /usr/local/ImageMagick-5.3.8/PerlMagick.
    *** Error code 1

    Stop in /usr/local/ImageMagick-5.3.8.
    *** Error code 1

    Stop in /usr/local/ImageMagick-5.3.8.
    *** Error code 1

    ----------------------------------------------------

    I installed it as described in the documentation :

    gunzip -c ImageMagick-5.3.8.tar.gz | tar xvf -
    cd ImageMagick-5.3.8
    ./configure -prefix=/usr/local
    make
    make install
    identify -verbose logo:

    When doing 'make install' the error shows up.

    I looked in /usr/libdata/perl/5.00503/ExtUtils/ and indeed there is no Miniperl.pm file there.

    How can I fix this?
    Last edited by jamesbond; Sep 2, 2001 at 07:15.

  2. #2
    SitePoint Addict jamesbond's Avatar
    Join Date
    Feb 2001
    Location
    The Netherlands
    Posts
    256
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    fixed

    I got Imagemagick running now.
    I'm posting my solution in case someone runs into the same issue in the future.

    I installed it with :

    ./configure -prefix=/usr/local --without-perl

    instead of

    ./configure -prefix=/usr/local


    Maybe helpful too :

    When using PHP it only works if I mention the full path to ImageMagick commands like so:

    PHP Code:
    exec("/usr/local/bin/mogrify -geometry 100x100! /path/to/file"); 
    instead of :

    PHP Code:
    exec("mogrify -geometry 100x100! /path/to/file"); 


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •