The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Image::Magick

Discussion in 'General Discussion' started by gemby, Apr 24, 2002.

  1. gemby

    gemby Well-Known Member
    PartnerNOC

    Joined:
    Feb 16, 2002
    Messages:
    182
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Pula, Croatia
    cPanel Access Level:
    DataCenter Provider
    I would like to make apache to parse images with imagemagick via Image::Magick perl module, i check all manuals, forums, everything, tried install from RPM, from source, from WHM, but nothing helps.
    when i add (in httpd.conf) folowing:

    &Location /images&
    PerlFixupHandler Apache::IamgeMagick
    PerlSetVar AIMCasheDir /var/aimcashe
    &Location&
    error_log says:
    Apache::Imagemagick - unknown subrutine, or something
    and images from directory /images are not shown at all (error 500)
    When i tried to inastall Apache::ImageMagick - it says it's up to date...
    And when i try to install Image::Magick it says:


    spawn /usr/local/cpanel/whostmgr/bin/perlmod -i
    Image::Magick

    CPAN: Storable loaded ok
    Going to read /root/.cpan/Metadata
    Database was generated on Mon, 22 Apr 2002 14:39:44 GMT
    File::Spec is up to date.
    MD5 is up to date.
    Compress::Zlib is up to date.
    Archive::Tar is up to date.
    Data::Dumper is up to date.
    Net::Telnet is up to date.
    Net::Cmd is up to date.
    Term::ReadKey is up to date.
    Term::ReadLine::Perl is up to date.
    CPAN::WAIT is up to date.
    CPAN is up to date.
    Running install for module Image::Magick
    Running make for J/JC/JCRISTY/PerlMagick-5.43.tar.gz
    CPAN: Digest::MD5 loaded ok
    CPAN: Compress::Zlib loaded ok
    Checksum for /root/.cpan/sources/authors/id/J/JC/JCRISTY/PerlMagick-5.43.tar.gz ok
    Scanning cache /root/.cpan/build for sizes
    Deleting from cache: /root/.cpan/build/Test-Harness-2.02 (17.2&10.0 MB)
    Deleting from cache: /root/.cpan/build/Test-Simple-0.43 (17.0&10.0 MB)
    Deleting from cache: /root/.cpan/build/CPAN-1.60a (16.6&10.0 MB)
    Deleting from cache: /root/.cpan/build/Mail-SpamAssassin-2.20 (15.9&10.0 MB)
    Deleting from cache: /root/.cpan/build/KULCHENKO000 (14.7&10.0 MB)
    Deleting from cache: /root/.cpan/build/podlators-1.21 (14.7&10.0 MB)
    Deleting from cache: /root/.cpan/build/AppConfig-1.52 (14.2&10.0 MB)
    Deleting from cache: /root/.cpan/build/Template-Toolkit-2.07 (13.8&10.0 MB)
    ./PerlMagick-5.43/
    ./PerlMagick-5.43/.cvsignore
    ./PerlMagick-5.43/.gdbinit
    ./PerlMagick-5.43/Changelog
    ./PerlMagick-5.43/MANIFEST
    ./PerlMagick-5.43/MANIFEST.SKIP
    ./PerlMagick-5.43/Magick.pm
    ./PerlMagick-5.43/Magick.xs
    ./PerlMagick-5.43/Makefile.PL
    ./PerlMagick-5.43/Makefile.PL.in
    ./PerlMagick-5.43/Makefile.nt
    ./PerlMagick-5.43/README.txt
    ./PerlMagick-5.43/demo/
    ./PerlMagick-5.43/demo/Generic.ttf
    ./PerlMagick-5.43/demo/Makefile
    ./PerlMagick-5.43/demo/README
    ./PerlMagick-5.43/demo/Turtle.pm
    ./PerlMagick-5.43/demo/annotate.pl
    ./PerlMagick-5.43/demo/button.pl
    ./PerlMagick-5.43/demo/composite.pl
    ./PerlMagick-5.43/demo/demo.pl
    ./PerlMagick-5.43/demo/lsys.pl
    ./PerlMagick-5.43/demo/model.gif
    ./PerlMagick-5.43/demo/piddle.pl
    ./PerlMagick-5.43/demo/pink_flower.gif
    ./PerlMagick-5.43/demo/red_flower.gif
    ./PerlMagick-5.43/demo/shadow_text.pl
    ./PerlMagick-5.43/demo/shapes.pl
    ./PerlMagick-5.43/demo/smile.gif
    ./PerlMagick-5.43/demo/steganography.pl
    ./PerlMagick-5.43/demo/tile.gif
    ./PerlMagick-5.43/demo/tree.pl
    ./PerlMagick-5.43/demo/yellow_flower.gif
    ./PerlMagick-5.43/t/
    ./PerlMagick-5.43/t/.cvsignore
    ./PerlMagick-5.43/t/MasterImage_70x46.ppm
    ./PerlMagick-5.43/t/blob.t
    ./PerlMagick-5.43/t/filter.t
    ./PerlMagick-5.43/t/getattribute.t
    ./PerlMagick-5.43/t/input.avs
    ./PerlMagick-5.43/t/input.bie
    ./PerlMagick-5.43/t/input.bmp
    ./PerlMagick-5.43/t/input.bmp24
    ./PerlMagick-5.43/t/input.dcx
    ./PerlMagick-5.43/t/input.dib
    ./PerlMagick-5.43/t/input.fits
    ./PerlMagick-5.43/t/input.gif
    ./PerlMagick-5.43/t/input.gif87
    ./PerlMagick-5.43/t/input.ico
    ./PerlMagick-5.43/t/input.im1
    ./PerlMagick-5.43/t/input.im24
    ./PerlMagick-5.43/t/input.im8
    ./PerlMagick-5.43/t/input.miff
    ./PerlMagick-5.43/t/input.mtv
    ./PerlMagick-5.43/t/input.p7
    ./PerlMagick-5.43/t/input.pcx
    ./PerlMagick-5.43/t/input.pict
    ./PerlMagick-5.43/t/input.psd
    ./PerlMagick-5.43/t/input.rle
    ./PerlMagick-5.43/t/input.sgi
    ./PerlMagick-5.43/t/input.tga
    ./PerlMagick-5.43/t/input.tim
    ./PerlMagick-5.43/t/input.viff
    ./PerlMagick-5.43/t/input.wbmp
    ./PerlMagick-5.43/t/input.xbm
    ./PerlMagick-5.43/t/input.xpm
    ./PerlMagick-5.43/t/input.xwd
    ./PerlMagick-5.43/t/input_16.miff
    ./PerlMagick-5.43/t/input_70x46.cmyk
    ./PerlMagick-5.43/t/input_70x46.gray
    ./PerlMagick-5.43/t/input_70x46.rgb
    ./PerlMagick-5.43/t/input_70x46.rgba
    ./PerlMagick-5.43/t/input_70x46.uyvy
    ./PerlMagick-5.43/t/input_70x46.yuv
    ./PerlMagick-5.43/t/input_p1.pbm
    ./PerlMagick-5.43/t/input_p1.pgm
    ./PerlMagick-5.43/t/input_p1.ppm
    ./PerlMagick-5.43/t/input_p2.pgm
    ./PerlMagick-5.43/t/input_p3.ppm
    ./PerlMagick-5.43/t/input_p4.pbm
    ./PerlMagick-5.43/t/input_p5.pgm
    ./PerlMagick-5.43/t/input_p6.ppm
    ./PerlMagick-5.43/t/input_p7.p7
    ./PerlMagick-5.43/t/montage.t
    ./PerlMagick-5.43/t/read.t
    ./PerlMagick-5.43/t/setattribute.t
    ./PerlMagick-5.43/t/subroutines.pl
    ./PerlMagick-5.43/t/write.t
    ./PerlMagick-5.43/t/bzlib/
    ./PerlMagick-5.43/t/bzlib/.cvsignore
    ./PerlMagick-5.43/t/bzlib/input.miff
    ./PerlMagick-5.43/t/bzlib/read.t
    ./PerlMagick-5.43/t/bzlib/write.t
    ./PerlMagick-5.43/t/cgm/
    ./PerlMagick-5.43/t/cgm/.cvsignore
    ./PerlMagick-5.43/t/cgm/input.cgm
    ./PerlMagick-5.43/t/cgm/read.t
    ./PerlMagick-5.43/t/fpx/
    ./PerlMagick-5.43/t/fpx/input_256.fpx
    ./PerlMagick-5.43/t/fpx/input_bw.fpx
    ./PerlMagick-5.43/t/fpx/input_jpeg.fpx
    ./PerlMagick-5.43/t/fpx/input_mono.fpx
    ./PerlMagick-5.43/t/fpx/input_truecolor.fpx
    ./PerlMagick-5.43/t/fpx/read.t
    ./PerlMagick-5.43/t/fpx/write.t
    ./PerlMagick-5.43/t/hdf/
    ./PerlMagick-5.43/t/hdf/.cvsignore
    ./PerlMagick-5.43/t/hdf/input_256.hdf
    ./PerlMagick-5.43/t/hdf/input_truecolor.hdf
    ./PerlMagick-5.43/t/hdf/read.t
    ./PerlMagick-5.43/t/hdf/write.t
    ./PerlMagick-5.43/t/hpgl/
    ./PerlMagick-5.43/t/hpgl/input.hpgl
    ./PerlMagick-5.43/t/hpgl/read.t
    ./PerlMagick-5.43/t/jbig/
    ./PerlMagick-5.43/t/jbig/.cvsignore
    ./PerlMagick-5.43/t/jbig/input.jbig
    ./PerlMagick-5.43/t/jbig/read.t
    ./PerlMagick-5.43/t/jbig/write.t
    ./PerlMagick-5.43/t/jpeg/
    ./PerlMagick-5.43/t/jpeg/.cvsignore
    ./PerlMagick-5.43/t/jpeg/input.jpg
    ./PerlMagick-5.43/t/jpeg/input_plane.jpg
    ./PerlMagick-5.43/t/jpeg/read.t
    ./PerlMagick-5.43/t/jpeg/write.t
    ./PerlMagick-5.43/t/mpeg/
    ./PerlMagick-5.43/t/mpeg/.cvsignore
    ./PerlMagick-5.43/t/mpeg/input.m2v
    ./PerlMagick-5.43/t/mpeg/input.mpg
    ./PerlMagick-5.43/t/mpeg/read.t
    ./PerlMagick-5.43/t/png/
    ./PerlMagick-5.43/t/png/.cvsignore
    ./PerlMagick-5.43/t/png/input.mng
    ./PerlMagick-5.43/t/png/input_16.png
    ./PerlMagick-5.43/t/png/input_256.png
    ./PerlMagick-5.43/t/png/input_bw.png
    ./PerlMagick-5.43/t/png/input_mono.png
    ./PerlMagick-5.43/t/png/input_truecolor.png
    ./PerlMagick-5.43/t/png/read-16.t
    ./PerlMagick-5.43/t/png/read.t
    ./PerlMagick-5.43/t/png/write-16.t
    ./PerlMagick-5.43/t/png/write.t
    ./PerlMagick-5.43/t/ps/
    ./PerlMagick-5.43/t/ps/.cvsignore
    ./PerlMagick-5.43/t/ps/input.eps
    ./PerlMagick-5.43/t/ps/input.miff
    ./PerlMagick-5.43/t/ps/input.ps
    ./PerlMagick-5.43/t/ps/read.t
    ./PerlMagick-5.43/t/ps/write.t
    ./PerlMagick-5.43/t/rad/
    ./PerlMagick-5.43/t/rad/.cvsignore
    ./PerlMagick-5.43/t/rad/input.rad
    ./PerlMagick-5.43/t/rad/read.t
    ./PerlMagick-5.43/t/rad/write.t
    ./PerlMagick-5.43/t/tiff/
    ./PerlMagick-5.43/t/tiff/.cvsignore
    ./PerlMagick-5.43/t/tiff/input_256.tiff
    ./PerlMagick-5.43/t/tiff/input_mono.tiff
    ./PerlMagick-5.43/t/tiff/input_truecolor.tiff
    ./PerlMagick-5.43/t/tiff/read.t
    ./PerlMagick-5.43/t/tiff/write.t
    ./PerlMagick-5.43/t/ttf/
    ./PerlMagick-5.43/t/ttf/.cvsignore
    ./PerlMagick-5.43/t/ttf/input.ttf
    ./PerlMagick-5.43/t/ttf/read.t
    ./PerlMagick-5.43/t/wmf/
    ./PerlMagick-5.43/t/wmf/clock.wmf
    ./PerlMagick-5.43/t/wmf/read.t
    ./PerlMagick-5.43/t/wmf/wizard.wmf
    ./PerlMagick-5.43/t/x/
    ./PerlMagick-5.43/t/x/.cvsignore
    ./PerlMagick-5.43/t/x/congrats.fig
    ./PerlMagick-5.43/t/x/congrats.miff
    ./PerlMagick-5.43/t/x/read.t
    ./PerlMagick-5.43/t/x/write.t
    ./PerlMagick-5.43/t/xfig/
    ./PerlMagick-5.43/t/xfig/input.fig
    ./PerlMagick-5.43/t/xfig/read.t
    ./PerlMagick-5.43/t/zlib/
    ./PerlMagick-5.43/t/zlib/input.miff
    ./PerlMagick-5.43/t/zlib/read.t
    ./PerlMagick-5.43/t/zlib/write.t
    Removing previously used /root/.cpan/build/PerlMagick-5.43

    CPAN.pm: Going to build J/JC/JCRISTY/PerlMagick-5.43.tar.gz

    Checking if your kit is complete...
    Looks good
    Note (probably harmless): No library found for -llcms
    Note (probably harmless): No library found for -lfpx
    Note (probably harmless): No library found for -lwmf
    Note (probably harmless): No library found for -lxml2
    Writing Makefile for Image::Magick
    cp Magick.pm blib/lib/Image/Magick.pm
    AutoSplitting blib/lib/Image/Magick.pm (blib/lib/auto/Image/Magick)
    /usr/bin/perl -I/usr/lib/perl5/5.6.1/i686-linux -I/usr/lib/perl5/5.6.1 /usr/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.6.1/ExtUtils/typemap Magick.xs & Magick.xsc && mv Magick.xsc Magick.c
    cc -c -I../ -I.. -I/usr/include/libxml2 -I/usr/include/freetype2 -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include/X11 -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\&5.43\& -DXS_VERSION=\&5.43\& -fpic -I/usr/lib/perl5/5.6.1/i686-linux/CORE -DHAVE_CONFIG_H Magick.c
    Magick.xs: In function `SetAttribute':
    Magick.xs:1330: structure has no member named `gravity'
    Magick.xs:1419: too many arguments to function `SetImageInfo'
    Magick.xs:1475: warning: assignment makes pointer from integer without a cast
    Magick.xs:1647: structure has no member named `type'
    Magick.xs: In function `XS_Image__Magick_Average':
    Magick.xs:2159: too many arguments to function `SetImageInfo'
    Magick.xs: In function `XS_Image__Magick_Flatten':
    Magick.xs:2746: warning: assignment makes pointer from integer without a cast
    Magick.xs:2767: too many arguments to function `SetImageInfo'
    Magick.xs: In function `XS_Image__Magick_Get':
    Magick.xs:3000: too many arguments to function `GetNumberColors'
    Magick.xs:3155: too many arguments to function `GetMagickInfo'
    Magick.xs:3160: too many arguments to function `GetMagickInfo'
    Magick.xs:3198: structure has no member named `gravity'
    Magick.xs:3246: `ImageRegistryType' undeclared (first use in this function)
    Magick.xs:3246: (Each undeclared identifier is reported only once
    Magick.xs:3246: for each function it appears in.)
    Magick.xs:3364: too many arguments to function `IsMonochromeImage'
    Magick.xs:3598: too many arguments to function `GetImageType'
    Magick.xs: In function `XS_Image__Magick_ImageToBlob':
    Magick.xs:3793: too many arguments to function `SetImageInfo'
    Magick.xs: In function `XS_Image__Magick_Mogrify':
    Magick.xs:4704: structure has no member named `family'
    Magick.xs:4707: structure has no member named `style'
    Magick.xs:4707: `StyleType' undeclared (first use in this function)
    Magick.xs:4707: parse error before `argument_list'
    Magick.xs:4709: structure has no member named `stretch'
    Magick.xs:4709: `StretchType' undeclared (first use in this function)
    Magick.xs:4709: parse error before `argument_list'
    Magick.xs:4711: structure has no member named `weight'
    Magick.xs:4779: `DissolveCompositeOp' undeclared (first use in this function)
    Magick.xs:4839: structure has no member named `gravity'
    Magick.xs:4983: structure has no member named `fill_pattern'
    Magick.xs:5240: too many arguments to function `TransparentImage'
    Magick.xs:5265: warning: assignment makes pointer from integer without a cast
    Magick.xs:5290: `ChannelType' undeclared (first use in this function)
    Magick.xs:5290: parse error before `argument_list'
    Magick.xs:5370: too many arguments to function `ProfileImage'
    Magick.xs:5418: warning: assignment makes pointer from integer without a cast
    Magick.xs:5435: warning: assignment makes pointer from integer without a cast
    Magick.xs:5477: `CopyCompositeOp' undeclared (first use in this function)
    Magick.xs: In function `XS_Image__Magick_Montage':
    Magick.xs:5645: structure has no member named `compose'
    Magick.xs:5715: structure has no member named `gravity'
    Magick.xs:5844: too many arguments to function `TransparentImage'
    Magick.xs:5865: too many arguments to function `TransparentImage'
    Magick.xs:5866: too many arguments to function `SetImageInfo'
    Magick.xs: In function `XS_Image__Magick_Mosaic':
    Magick.xs:6113: too many arguments to function `SetImageInfo'
    Magick.xs: In function `XS_Image__Magick_QueryColor':
    Magick.xs:6265: syntax error before `*'
    Magick.xs:6271: syntax error before `*'
    Magick.xs:6274: `color_info' undeclared (first use in this function)
    Magick.xs:6276: parse error before `ColorInfo'
    Magick.xs:6282: `p' undeclared (first use in this function)
    Magick.xs:6282: `ColorInfo' undeclared (first use in this function)
    Magick.xs:6282: parse error before `)'
    Magick.xs:6285: parse error before `)'
    Magick.xs: In function `XS_Image__Magick_QueryColorname':
    Magick.xs:6371: `AllCompliance' undeclared (first use in this function)
    Magick.xs: In function `XS_Image__Magick_QueryFont':
    Magick.xs:6403: syntax error before `*'
    Magick.xs:6416: syntax error before `*'
    Magick.xs:6418: `type_info' undeclared (first use in this function)
    Magick.xs:6419: parse error before `TypeInfo'
    Magick.xs:6425: `p' undeclared (first use in this function)
    Magick.xs:6425: `TypeInfo' undeclared (first use in this function)
    Magick.xs:6425: parse error before `)'
    Magick.xs:6428: parse error before `)'
    Magick.xs:6446: parse error before `)'
    Magick.xs: In function `XS_Image__Magick_QueryFontMetrics':
    Magick.xs:6545: `TypeMetric' undeclared (first use in this function)
    Magick.xs:6545: parse error before `metrics'
    Magick.xs:6703: `metrics' undeclared (first use in this function)
    Magick.xs: In function `XS_Image__Magick_QueryFormat':
    Magick.xs:6769: too many arguments to function `GetMagickInfo'
    Magick.xs:6781: structure has no member named `stealth'
    Magick.xs:6783: structure has no member named `name'
    Magick.xs:6788: structure has no member named `name'
    Magick.xs:6788: structure has no member named `name'
    Magick.xs:6788: structure has no member named `name'
    Magick.xs:6788: structure has no member named `name'
    Magick.xs:6788: structure has no member named `name'
    Magick.xs:6798: too many arguments to function `GetMagickInfo'
    Magick.xs: In function `XS_Image__Magick_Write':
    Magick.xs:7310: too many arguments to function `SetImageInfo'
    make: *** [Magick.o] Error 1
    /usr/bin/make -- NOT OK
    Running make install
    make had returned bad status, install seems impossible
    perlmod--Install done

    Can somebody help me here please, i'm stuck!!!
     
  2. sbrad

    sbrad Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    113
    Likes Received:
    0
    Trophy Points:
    16
    I had the exact same problem a couple of weeks ago. After bashing my head several times, and looking everywhere for help, I just paid a dude to fix it. After he did, I got so busy I forgot to ask what the problem was!
    Sorry. :)
     
  3. gemby

    gemby Well-Known Member
    PartnerNOC

    Joined:
    Feb 16, 2002
    Messages:
    182
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Pula, Croatia
    cPanel Access Level:
    DataCenter Provider
    Yes, worst thing is that i do not know much about perl, CPAN, modules, etc. I tried install by hand, edit Makefile.PL and install from /root/.cpan/archive , but can't figure out what libraries are missing.
     
  4. gemby

    gemby Well-Known Member
    PartnerNOC

    Joined:
    Feb 16, 2002
    Messages:
    182
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Pula, Croatia
    cPanel Access Level:
    DataCenter Provider
    Can you give me e-mail of that dude?
     
  5. sbrad

    sbrad Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    113
    Likes Received:
    0
    Trophy Points:
    16
    Sent you a pm.
     
  6. gemby

    gemby Well-Known Member
    PartnerNOC

    Joined:
    Feb 16, 2002
    Messages:
    182
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Pula, Croatia
    cPanel Access Level:
    DataCenter Provider
    I contacted dude, but no solution, giving him root pass is not solution at all.

    I still have problems with Image::Magick, Imagemagick - perl - missinglibs gurus plese help!!!
     
  7. bert

    bert Well-Known Member

    Joined:
    Aug 21, 2001
    Messages:
    602
    Likes Received:
    0
    Trophy Points:
    16
    [quote:d92bad0204][i:d92bad0204]Originally posted by gemby[/i:d92bad0204]

    giving him root pass is not solution at all[/quote:d92bad0204]

    It is going to be very difficult for anyone to help you unless you allow access to the machine. ;)
     
  8. acetate

    acetate Active Member

    Joined:
    Aug 16, 2001
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Did anyone find a solution for this?? Had no problem compiling Imagemagick. Didn't notice any errors there, but when trying to install Image::Magick (PerlMagick) it keeps on giving me the same errors you guys had.. What libs are missing? Help!

    [code:1:9ee22e1f70]
    root@endeavor [/home/intenseh/tmp/PerlMagick-5.43]# perl Makefile.PL
    Note (probably harmless): No library found for -llcms
    Note (probably harmless): No library found for -ljasper
    Note (probably harmless): No library found for -lfpx
    Note (probably harmless): No library found for -lwmf
    Writing Makefile for Image::Magick
    root@endeavor [/home/intenseh/tmp/PerlMagick-5.43]# make
    gcc -c -I../ -I.. -I/usr/include/libxml2 -I/usr/include/freetype2 -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include/X11 -fno-strict-aliasing -I/usr/local/include -O2 -march=i386 -mcpu=i686 -DVERSION=\&5.43\& -DXS_VERSION=\&5.43\& -fPIC -I/usr/lib/perl5/5.6.1/i386-linux/CORE -DHAVE_CONFIG_H Magick.c
    Running Mkbootstrap for Image::Magick ()
    chmod 644 Magick.bs
    rm -f blib/arch/auto/Image/Magick/Magick.so
    LD_RUN_PATH=&/usr/local/lib:/usr/lib:/usr/X11R6/lib& gcc -shared -L/usr/local/lib Magick.o -o blib/arch/auto/Image/Magick/Magick.so -L/usr/lib -L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib -lMagick -ltiff -lfreetype -ljpeg -lpng -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm
    /usr/bin/ld: cannot find -lfreetype
    collect2: ld returned 1 exit status
    make: *** [blib/arch/auto/Image/Magick/Magick.so] Error 1
    [/code:1:9ee22e1f70]
     
  9. bdraco

    bdraco Guest

    You need freetype and freetype-devel rpms :)
     
  10. acetate

    acetate Active Member

    Joined:
    Aug 16, 2001
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Hmm.. I think it's already installed

    root@endeavor [~]# whereis freetype
    freetype: /usr/include/freetype
    root@endeavor [~]#
     
  11. acetate

    acetate Active Member

    Joined:
    Aug 16, 2001
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Ok.. I finally got it installed after compiling from the PerlMagick directory where I'd untar ImageMagick to. However, perldiver still saying it's not installed..

    root@endeavor [/home/intenseh/tmp/ImageMagick-5.4.5/PerlMagick]# make install
    Installing /usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/Image/Magick/Magick.so
    Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
    Installing /usr/lib/perl5/site_perl/5.6.1/i386-linux/Image/Magick.pm
    Installing /usr/share/man/man3/Image::Magick.3pm
    Writing /usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/Image/Magick/.packlist
    Appending installation info to /usr/lib/perl5/5.6.1/i386-linux/perllocal.pod
    root@endeavor [/home/intenseh/tmp/ImageMagick-5.4.5/PerlMagick]#

    Do I need to do anything else Nick?
     
  12. acetate

    acetate Active Member

    Joined:
    Aug 16, 2001
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Nevermind.. Got it working. Thanks nick
     
  13. gemby

    gemby Well-Known Member
    PartnerNOC

    Joined:
    Feb 16, 2002
    Messages:
    182
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Pula, Croatia
    cPanel Access Level:
    DataCenter Provider
    Nick, i did not make it work :)))

    First, I instaled all from rpm-s, but there was not Apache::ImageMagick nor Image::Magick modules under list of perl modules, tried to install modules, Apache::ImageMagick says it's up to date (but it was not under list of instaled modules), and Image::Magick says that is imposible to install (dump is somewhere in begininng of this thread).

    Then i uninstal Perl Magick rpm, and tried to install from source...it vent well, but still no luck with Image::Magick, nor Apache::ImageMagick :)))))

    What is wrong, should i install all from source?
     
Loading...

Share This Page